comparison graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/model/TypeData.java @ 16814:e8d9b3827d4b

Truffle-DSL: added hashing for type lookups.
author Christian Humer <christian.humer@gmail.com>
date Wed, 13 Aug 2014 18:06:18 +0200
parents 23415229349b
children 3912400fc33a
comparison
equal deleted inserted replaced
16813:f3a1020472cf 16814:e8d9b3827d4b
44 this.index = index; 44 this.index = index;
45 this.typeSystem = typeSystem; 45 this.typeSystem = typeSystem;
46 this.annotationValue = value; 46 this.annotationValue = value;
47 this.primitiveType = primitiveType; 47 this.primitiveType = primitiveType;
48 this.boxedType = boxedType; 48 this.boxedType = boxedType;
49 }
50
51 public int getIndex() {
52 return index;
49 } 53 }
50 54
51 @Override 55 @Override
52 public Element getMessageElement() { 56 public Element getMessageElement() {
53 return typeSystem.getMessageElement(); 57 return typeSystem.getMessageElement();