Package org.jruby.ir.targets.simple
Class NormalInstanceVariableCompiler
java.lang.Object
org.jruby.ir.targets.simple.NormalInstanceVariableCompiler
- All Implemented Interfaces:
InstanceVariableCompiler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
compiler
-
-
Constructor Details
-
NormalInstanceVariableCompiler
-
-
Method Details
-
putField
Description copied from interface:InstanceVariableCompilerStore instance variable into self.Stack required: self, value Stack result: empty
- Specified by:
putFieldin interfaceInstanceVariableCompiler- Parameters:
name- name of variable to store
-
getField
Description copied from interface:InstanceVariableCompilerLoad instance variable from self.Stack required: self Stack result: value from self
- Specified by:
getFieldin interfaceInstanceVariableCompiler- Parameters:
name- name of variable to load
-
cacheVariableAccessor
Retrieve the proper variable accessor for the given arguments. The source object is expected to be on stack.- Parameters:
name- name of the variablewrite- whether the accessor will be used for a write operation
-