New utility instance creation method in IRBuilder
authorJan Vrany <jan.vrany@fit.cvut.cz>
Wed, 19 Aug 2009 20:28:12 +0000
changeset 22 6d3c5fd122e3
parent 21 a5d30403049c
child 23 377bc46cad12
New utility instance creation method in IRBuilder
IRBuilder.st
--- a/IRBuilder.st	Wed Aug 12 10:22:31 2009 +0000
+++ b/IRBuilder.st	Wed Aug 19 20:28:12 2009 +0000
@@ -37,6 +37,16 @@
 
     "Created: / 11-06-2008 / 00:51:36 / Jan Vrany <vranyj1@fel.cvut.cz>"
     "Modified: / 30-03-2009 / 18:28:32 / Jan Vrany <vranyj1@fel.cvut.cz>"
+!
+
+numRargs: numRargs tempNames: tempNames
+
+    ^ self forMethod
+        numRargs: numRargs;
+        addTemps: tempNames;
+        yourself
+
+    "Created: / 17-08-2009 / 14:19:15 / Jan Vrany <vranyj1@fel.cvut.cz>"
 ! !
 
 !IRBuilder methodsFor:'accessing'!