# HG changeset patch # User Michael Van De Vanter # Date 1381114496 25200 # Node ID ee8df8ae68c15a65642bef977bd72666bf7749e8 # Parent df1d665ca8461d2387087a1f2a439754fa1c8f68 SL: update node constructors to use the Node(SourceSection) constructor diff -r df1d665ca846 -r ee8df8ae68c1 graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLNode.java --- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLNode.java Sun Oct 06 19:53:00 2013 -0700 +++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLNode.java Sun Oct 06 19:54:56 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -28,6 +28,11 @@ @TypeSystemReference(SLTypes.class) public class SLNode extends Node { + public SLNode() { + // No source attribution + super(null); + } + @Override public String toString() { return NodeUtil.printTreeToString(this);