IRTempAccess.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 03 Nov 2008 17:02:40 +0000
changeset 3 c9845c180bd4
parent 1 0dd36941955f
child 9 04518c7fb91c
permissions -rw-r--r--
Fixes IRBytecodeGenerator >> #pushLiteral and IRBuilder >> #jumpAheadTo:

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

IRAccess subclass:#IRTempAccess
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'NewCompiler-IR'
!


!IRTempAccess methodsFor:'testing'!

isSelf
	^self number = 0.
!

isTemp
	^true.
!

isTempAccess
	^true.
!

isTempRead
	^self isTempAccess and: [self isRead].
!

isTempStore
	^self isTempAccess and: [self isStore].
! !

!IRTempAccess class methodsFor:'documentation'!

version
    ^'$Id$'
! !