comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/local/SLReadArgumentNode.java @ 16512:abe7128ca473

SL: upgrade source attribution
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Mon, 14 Jul 2014 16:51:41 -0700
parents 64dcb92ee75a
children 87ea195b66ff
comparison
equal deleted inserted replaced
16511:aee02665e505 16512:abe7128ca473
21 * questions. 21 * questions.
22 */ 22 */
23 package com.oracle.truffle.sl.nodes.local; 23 package com.oracle.truffle.sl.nodes.local;
24 24
25 import com.oracle.truffle.api.frame.*; 25 import com.oracle.truffle.api.frame.*;
26 import com.oracle.truffle.api.source.*;
26 import com.oracle.truffle.api.utilities.*; 27 import com.oracle.truffle.api.utilities.*;
27 import com.oracle.truffle.sl.nodes.*; 28 import com.oracle.truffle.sl.nodes.*;
28 import com.oracle.truffle.sl.parser.*; 29 import com.oracle.truffle.sl.parser.*;
29 import com.oracle.truffle.sl.runtime.*; 30 import com.oracle.truffle.sl.runtime.*;
30 31
44 * Profiling information, collected by the interpreter, capturing whether the function was 45 * Profiling information, collected by the interpreter, capturing whether the function was
45 * called with fewer actual arguments than formal arguments. 46 * called with fewer actual arguments than formal arguments.
46 */ 47 */
47 private final BranchProfile outOfBoundsTaken = new BranchProfile(); 48 private final BranchProfile outOfBoundsTaken = new BranchProfile();
48 49
49 public SLReadArgumentNode(int index) { 50 public SLReadArgumentNode(SourceSection src, int index) {
51 super(src);
50 this.index = index; 52 this.index = index;
51 } 53 }
52 54
53 @Override 55 @Override
54 public Object executeGeneric(VirtualFrame frame) { 56 public Object executeGeneric(VirtualFrame frame) {