IRInstVarStore.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 28 Dec 2009 15:09:00 +0000
changeset 26 db19d89eef60
parent 23 377bc46cad12
child 37 be8c2dd09dff
permissions -rw-r--r--
Added version_SVN to all classes

"{ Package: 'cvut:stx/goodies/newcompiler' }"

IRInstVarAccess subclass:#IRInstVarStore
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'NewCompiler-IR'
!


!IRInstVarStore methodsFor:'interpret'!

executeOn: interpreter

        "Preferences compileBlocksAsClosures"false
                ifFalse: [interpreter storeInstVar: number] 
                ifTrue: [interpreter pushLiteral: number.
                                interpreter send: #privStoreIn:instVar:].

    "Modified: / 25-02-2009 / 15:24:03 / Jan Vrany <vranyj1@fel.cvut.cz>"
! !

!IRInstVarStore methodsFor:'testing'!

isRead
	^false
!

isStore
	^true
! !

!IRInstVarStore class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRInstVarStore.st,v 1.3 2009/10/08 11:59:32 fm Exp $'
!

version_CVS
    ^ '$Header: /cvs/stx/cvut/stx/goodies/newcompiler/IRInstVarStore.st,v 1.3 2009/10/08 11:59:32 fm Exp $'
!

version_SVN
    ^ '$Id$'
! !