IRInstVarStore.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 11 May 2009 20:20:05 +0000
changeset 16 f325defc9c7e
parent 8 203df4f28793
child 23 377bc46cad12
permissions -rw-r--r--
Invalid intruction ordering bug fixed.

"{ Package: '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
    ^'$Id$'
! !