Top Description Fields Constructors Methods
org.jruby.ir.operands

public Class TemporaryIntVariable

extends TemporaryLocalVariable
Class Inheritance
Imports
org.jruby.ir.IRVisitor, org.jruby.ir.persistence.IRReaderDecoder, org.jruby.ir.transformations.inlining.SimpleCloneInfo

Represents a temporary variable for an unboxed int operand. FIXME: this does not mesh with the specialized types like TemporaryFixnum and TemporaryFloat and is added solely to support primitive integer operations during pattern matching.

Field Summary

Modifier and TypeField and Description
public static final String
Inherited from org.jruby.ir.operands.TemporaryLocalVariable:
offset

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Variable
public static TemporaryIntVariable
public String
public TemporaryVariableType
getType()

Overrides org.jruby.ir.operands.TemporaryLocalVariable.getType.

Differentiates between different types of TemporaryVariables (useful for switch and persistence).

public void
Inherited from org.jruby.ir.operands.TemporaryLocalVariable:
encodegetIdgetOffsetretrieve

Field Detail

PREFIXback to summary
public static final String PREFIX

Hides org.jruby.ir.operands.TemporaryLocalVariable.PREFIX.

Constructor Detail

TemporaryIntVariableback to summary
public TemporaryIntVariable(int offset)

Method Detail

cloneback to summary
public Variable clone(SimpleCloneInfo ii)

Overrides org.jruby.ir.operands.TemporaryLocalVariable.clone.

Annotations
@Override
decodeback to summary
public static TemporaryIntVariable decode(IRReaderDecoder d)

Hides org.jruby.ir.operands.TemporaryLocalVariable.decode.

getPrefixback to summary
public String getPrefix()

Overrides org.jruby.ir.operands.TemporaryLocalVariable.getPrefix.

Annotations
@Override
getTypeback to summary
public TemporaryVariableType getType()

Overrides org.jruby.ir.operands.TemporaryLocalVariable.getType.

Doc from org.jruby.ir.operands.TemporaryVariable.getType.

Differentiates between different types of TemporaryVariables (useful for switch and persistence).

Annotations
@Override
visitback to summary
public void visit(IRVisitor visitor)

Overrides org.jruby.ir.operands.TemporaryLocalVariable.visit.

Annotations
@Override