Mercurial > hg > truffle
changeset 22252:a2db5ebb5c4b
Truffle/SL: fix failure to assign SoruceSection in SLRootNode
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Fri, 25 Sep 2015 12:10:06 -0700 |
parents | 8dddde8b20d4 |
children | ffb52d4126bb |
files | truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/SLRootNode.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/SLRootNode.java Thu Sep 24 13:16:52 2015 -0700 +++ b/truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/SLRootNode.java Fri Sep 25 12:10:06 2015 -0700 @@ -70,7 +70,7 @@ @SuppressWarnings("unused") public SLRootNode(SLContext ignore, FrameDescriptor frameDescriptor, SLExpressionNode bodyNode, SourceSection sourceSection, String name) { - super(SLLanguage.class, null, frameDescriptor); + super(SLLanguage.class, sourceSection, frameDescriptor); this.bodyNode = bodyNode; this.name = name; }