IRInstVarAccess.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 11 Jun 2008 14:54:42 +0000
changeset 1 0dd36941955f
child 9 04518c7fb91c
permissions -rw-r--r--
Initial revision. All tests pass.

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

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

IRInstVarAccess comment:'when closures disabled, Field describes an instVar. With closures, it describes a 
fieldaccess with receiver to be accessed pushed first.'
!


!IRInstVarAccess methodsFor:'testing'!

isInstVarAccess
	^true.
!

varname
	name ifNil: [name := self method compiledMethod methodClass allInstVarNames at: self offset].
	^name.
! !

!IRInstVarAccess class methodsFor:'documentation'!

version
    ^'$Id$'
! !