Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/NodeCost.java @ 17399:5787218bad91
Truffle: implemented recursive node iterator and node streams for the graal runtime.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Thu, 09 Oct 2014 17:25:18 +0200 |
parents | fe5d4383b505 |
children |
comparison
equal
deleted
inserted
replaced
17398:9e1ec84d2899 | 17399:5787218bad91 |
---|---|
64 * the operation implementation supports monomorphism and polymorphism otherwise | 64 * the operation implementation supports monomorphism and polymorphism otherwise |
65 * {@link #MONOMORPHIC} should be used instead. | 65 * {@link #MONOMORPHIC} should be used instead. |
66 */ | 66 */ |
67 MEGAMORPHIC; | 67 MEGAMORPHIC; |
68 | 68 |
69 public boolean isTrivial() { | |
70 return this == NONE || this == UNINITIALIZED; | |
71 } | |
72 | |
69 } | 73 } |