extensions.st
changeset 61 c2e287d54de5
parent 46 ed599c4d3e94
--- a/extensions.st	Thu Apr 21 09:50:02 2016 +0100
+++ b/extensions.st	Thu Apr 21 22:17:02 2016 +0100
@@ -2,6 +2,18 @@
 
 !Object methodsFor:'converting'!
 
+asLLVMBasicBlock
+    "Return representation of the receiver as LLVMBasicBlock"
+
+    "Raise an error - arbitrary object cannot be represented
+     as LLVM value"
+    self error: 'cannot be converted to an LLVM basic block'
+
+    "Created: / 21-04-2016 / 22:11:07 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!Object methodsFor:'converting'!
+
 asLLVMMetadata
     "Return representation of the receiver as LLVMMetadata."