Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/SLNode.java @ 11904:ee8df8ae68c1
SL: update node constructors to use the Node(SourceSection) constructor
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Sun, 06 Oct 2013 19:54:56 -0700 |
parents | 79041ab43660 |
children | 71991b7a0f14 |
line wrap: on
line diff
--- 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);