Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/model/SpecializationData.java @ 18761:a665483c3881
Truffle-DSL: new node layout implementation.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 29 Dec 2014 23:38:54 +0100 |
parents | 6ee7afea175a |
children | a069a87b9a02 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/model/SpecializationData.java Mon Dec 29 23:38:50 2014 +0100 +++ b/graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/model/SpecializationData.java Mon Dec 29 23:38:54 2014 +0100 @@ -33,7 +33,7 @@ UNINITIALIZED, SPECIALIZED, POLYMORPHIC, - GENERIC + FALLBACK } private final NodeData node; @@ -221,13 +221,6 @@ return true; } - public String createReferenceName() { - if (getMethod() == null) { - return "-"; - } - return ElementUtils.createReferenceName(getMethod()); - } - public NodeData getNode() { return node; } @@ -240,8 +233,8 @@ return kind == SpecializationKind.SPECIALIZED; } - public boolean isGeneric() { - return kind == SpecializationKind.GENERIC; + public boolean isFallback() { + return kind == SpecializationKind.FALLBACK; } public boolean isUninitialized() {