comparison graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/node/NodeData.java @ 11180:a9cb98ff8fd9

Truffle-DSL: Fixed compile error for nodes with no children and empty constructor.
author Christian Humer <christian.humer@gmail.com>
date Mon, 29 Jul 2013 16:50:10 +0200
parents 8c8e47cc101d
children 2fb276f5e3e9
comparison
equal deleted inserted replaced
10907:42ab15e31736 11180:a9cb98ff8fd9
92 92
93 public int getPolymorphicDepth() { 93 public int getPolymorphicDepth() {
94 return polymorphicDepth; 94 return polymorphicDepth;
95 } 95 }
96 96
97 public boolean isPolymorphic() {
98 return polymorphicDepth > 1;
99 }
100
97 void setPolymorphicDepth(int polymorphicDepth) { 101 void setPolymorphicDepth(int polymorphicDepth) {
98 this.polymorphicDepth = polymorphicDepth; 102 this.polymorphicDepth = polymorphicDepth;
99 } 103 }
100 104
101 public List<CreateCastData> getCasts() { 105 public List<CreateCastData> getCasts() {