IRInstVarRead.st
changeset 1 0dd36941955f
child 23 377bc46cad12
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/IRInstVarRead.st	Wed Jun 11 14:54:42 2008 +0000
@@ -0,0 +1,34 @@
+"{ Package: 'stx:goodies/newcompiler' }"
+
+IRInstVarAccess subclass:#IRInstVarRead
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'NewCompiler-IR'
+!
+
+
+!IRInstVarRead methodsFor:'interpret'!
+
+executeOn: interpreter
+
+    interpreter pushInstVar: number
+
+    "Modified: / 11-06-2008 / 13:17:19 / Jan Vrany <vranyj1@fel.cvut.cz>"
+! !
+
+!IRInstVarRead methodsFor:'testing'!
+
+isRead
+	^true.
+!
+
+isStore
+	^false.
+! !
+
+!IRInstVarRead class methodsFor:'documentation'!
+
+version
+    ^'$Id$'
+! !