Class SLReadArgumentNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public class SLReadArgumentNode extends SLExpressionNode
Reads a function argument. Arguments are passed in as an object array.

Arguments are not type-specialized. To ensure that repeated accesses within a method are specialized and can, e.g., be accessed without unboxing, all arguments are loaded into local variables

invalid reference
in the method prologue
.
  • Constructor Details

    • SLReadArgumentNode

      public SLReadArgumentNode(int index)
  • Method Details

    • executeGeneric

      public Object executeGeneric(com.oracle.truffle.api.frame.VirtualFrame frame)
      Description copied from class: SLExpressionNode
      The execute method when no specialization is possible. This is the most general case, therefore it must be provided by all subclasses.
      Specified by:
      executeGeneric in class SLExpressionNode