Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/local/SLReadArgumentNode.java Mon Jul 14 16:04:09 2014 -0700 +++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/local/SLReadArgumentNode.java Mon Jul 14 16:51:41 2014 -0700 @@ -23,6 +23,7 @@ package com.oracle.truffle.sl.nodes.local; import com.oracle.truffle.api.frame.*; +import com.oracle.truffle.api.source.*; import com.oracle.truffle.api.utilities.*; import com.oracle.truffle.sl.nodes.*; import com.oracle.truffle.sl.parser.*; @@ -46,7 +47,8 @@ */ private final BranchProfile outOfBoundsTaken = new BranchProfile(); - public SLReadArgumentNode(int index) { + public SLReadArgumentNode(SourceSection src, int index) { + super(src); this.index = index; }