| constant | type | note |
|---|---|---|
| SELF | Self |
clone(org.jruby.ir.transformations.inlining.SimpleCloneInfo ii)equals(Object obj)hashCode()getId() · also: get_idretrieve(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.parser.StaticScope currScope, org.jruby.runtime.DynamicScope currDynScope, Object[] temp)isSelf() · also: is_selftoString()| field | type | note |
|---|---|---|
| EMPTY_ARRAY | Operand[] |
isFalseyImmediate() · also: is_falsey_immediatehasKnownValue() · also: has_known_valueDo we know the value of this operand at compile-time? If we do then it may be possible to constant propagate (one case: We also know it is also an ImmutableLiteral).
Returns: true if a known compile-time value.
isTruthyImmediate() · also: is_truthy_immediateReturns true if this is an immediate value that will always be considered truthy (true, numbers, etc)
addUsedVariables(List<org.jruby.ir.operands.Variable> l)Append the list of variables used in this operand to the input list
canCopyPropagate()