IRLiteralVariableAccess.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 02 Dec 2008 09:43:42 +0000
changeset 7 0de2eaa86456
parent 1 0dd36941955f
child 23 377bc46cad12
permissions -rw-r--r--
IRBytecodeGenerator emits lineno instructions only when lineno differs from the last one

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

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


!IRLiteralVariableAccess methodsFor:'accessing'!

association: anAssociation
	association := anAssociation
!

isLiteralVariable
	^true
!

isLiteralVariableAccess
	^true
!

isLiteralVariableRead
	^self isLiteralVariableAccess and: [self isRead].
!

isLiteralVariableStore
	^self isLiteralVariableAccess and: [self isStore].
! !

!IRLiteralVariableAccess class methodsFor:'documentation'!

version
    ^'$Id$'
! !