org.jruby.compiler.ir
Class IR_Method
java.lang.Object
org.jruby.compiler.ir.IR_ScopeImpl
org.jruby.compiler.ir.IR_Method
- All Implemented Interfaces:
- IR_Scope
public class IR_Method
- extends IR_ScopeImpl
Methods inherited from class org.jruby.compiler.ir.IR_ScopeImpl |
addClass, addMethod, addModule, buildCFG, endLoop, getAndIncrementMethodIndex, getCFG, getConstants, getConstantValue, getCurrentLoop, getInstrs, getNewLabel, getNewLabel, getNewVariable, getNewVariable, getParent, getSelf, runCompilerPass, startLoop, toStringInstrs, toStringVariables |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_name
public final java.lang.String _name
_isInstanceMethod
public final boolean _isInstanceMethod
_startLabel
public final Label _startLabel
_endLabel
public final Label _endLabel
IR_Method
public IR_Method(IR_Scope parent,
IR_Scope lexicalParent,
java.lang.String name,
java.lang.String javaName,
boolean isInstanceMethod)
IR_Method
public IR_Method(IR_Scope parent,
IR_Scope lexicalParent,
java.lang.String name,
boolean isInstanceMethod)
addInstr
public void addInstr(IR_Instr i)
- Specified by:
addInstr
in interface IR_Scope
- Overrides:
addInstr
in class IR_ScopeImpl
getCallArgs
public Operand[] getCallArgs()
setConstantValue
public void setConstantValue(java.lang.String constRef,
Operand val)
- Specified by:
setConstantValue
in interface IR_Scope
- Overrides:
setConstantValue
in class IR_ScopeImpl
isAClassRootMethod
public boolean isAClassRootMethod()
setOptimizatableFlag
public void setOptimizatableFlag(boolean f)
isUnoptimizable
public boolean isUnoptimizable()
setCodeModificationFlag
public void setCodeModificationFlag(boolean f)
modifiesCode
public boolean modifiesCode()
getFullyQualifiedName
public java.lang.String getFullyQualifiedName()
getDefiningModule
public IR_Module getDefiningModule()
getCodeVersionToken
public CodeVersion getCodeVersionToken()
toString
public java.lang.String toString()
- Overrides:
toString
in class IR_ScopeImpl
Copyright © 2002-2009 JRuby Team. All Rights Reserved.