comparison truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/Node.java @ 22372:6598b9b7aafd

Backed out changeset: 0d4b0e4263ee
author Christian Wirth <christian.wirth@oracle.com>
date Tue, 17 Nov 2015 11:02:55 +0100
parents 0d4b0e4263ee
children 69f871f73009
comparison
equal deleted inserted replaced
22371:75c4ce3a352a 22372:6598b9b7aafd
73 } 73 }
74 74
75 protected Node(SourceSection sourceSection) { 75 protected Node(SourceSection sourceSection) {
76 CompilerAsserts.neverPartOfCompilation(); 76 CompilerAsserts.neverPartOfCompilation();
77 this.sourceSection = sourceSection; 77 this.sourceSection = sourceSection;
78 this.nodeClass = NodeClass.Lookup.get(getClass()); 78 this.nodeClass = NodeClass.get(getClass());
79 if (TruffleOptions.TraceASTJSON) { 79 if (TruffleOptions.TraceASTJSON) {
80 JSONHelper.dumpNewNode(this); 80 JSONHelper.dumpNewNode(this);
81 } 81 }
82 } 82 }
83 83