comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/local/SLReadArgumentNode.java @ 13882:afd6fa5e8229

SL: Feedback from reviewers
author Christian Wimmer <christian.wimmer@oracle.com>
date Wed, 05 Feb 2014 08:02:15 -0800
parents 64c77f0577bb
children 64dcb92ee75a
comparison
equal deleted inserted replaced
13881:272a166a9574 13882:afd6fa5e8229
30 import com.oracle.truffle.sl.runtime.*; 30 import com.oracle.truffle.sl.runtime.*;
31 31
32 /** 32 /**
33 * Reads a function argument. Arguments are passed in as a {@link SLArguments} object, which 33 * Reads a function argument. Arguments are passed in as a {@link SLArguments} object, which
34 * encapsulates an {@link SLArguments#getFromFrame Object[] array}. Language-defined subclasses of 34 * encapsulates an {@link SLArguments#getFromFrame Object[] array}. Language-defined subclasses of
35 * {@link Arguments} are the standard Truffle way to pass values between function. 35 * {@link Arguments} are the standard Truffle way to pass values between functions.
36 * <p> 36 * <p>
37 * Arguments are not type-specialized. To ensure that repeated accesses within a method are 37 * Arguments are not type-specialized. To ensure that repeated accesses within a method are
38 * specialized and can, e.g., accessed without unboxing, all arguments are loaded into local 38 * specialized and can, e.g., be accessed without unboxing, all arguments are loaded into local
39 * variables {@link SLNodeFactory#addFormalParameter in the method prologue}. 39 * variables {@link SLNodeFactory#addFormalParameter in the method prologue}.
40 */ 40 */
41 public class SLReadArgumentNode extends SLExpressionNode { 41 public class SLReadArgumentNode extends SLExpressionNode {
42 42
43 /** The argument number, i.e., the index into the array of arguments. */ 43 /** The argument number, i.e., the index into the array of arguments. */