public class WrappedIRClosure extends Operand
EMPTY_ARRAY| Constructor and Description |
|---|
WrappedIRClosure(IRClosure scope) |
| Modifier and Type | Method and Description |
|---|---|
void |
addUsedVariables(java.util.List<Variable> l)
Append the list of variables used in this operand to the input list -- force every operand
to implement this because a missing implementation can cause bad failures.
|
boolean |
canCopyPropagate()
Can we replace every use of a variable 'v' that contains the value of this operand
with the operand itself? This takes importance when there are at least two uses
of 'v' within this scope.
|
Operand |
cloneForInlining(InlinerInfo ii) |
IRClosure |
getClosure() |
java.lang.Object |
retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.String |
toString() |
void |
visit(IRVisitor visitor) |
fetchCompileTimeArrayElement, getSimplifiedOperand, getValue, hasKnownValuepublic WrappedIRClosure(IRClosure scope)
public void addUsedVariables(java.util.List<Variable> l)
OperandaddUsedVariables in class Operandpublic IRClosure getClosure()
public boolean canCopyPropagate()
OperandcanCopyPropagate in class Operandpublic java.lang.String toString()
toString in class java.lang.Objectpublic Operand cloneForInlining(InlinerInfo ii)
cloneForInlining in class Operandpublic java.lang.Object retrieve(ThreadContext context, IRubyObject self, DynamicScope currDynScope, java.lang.Object[] temp)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.