Mercurial > hg > truffle
comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/AheadOfTimeVerificationPhase.java @ 14633:da2431cc1506
Rename ValueNode kind() to getKind().
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Thu, 20 Mar 2014 11:48:39 +0100 |
parents | a0c31f940950 |
children | 07dd21c7d533 |
comparison
equal
deleted
inserted
replaced
14632:5f5e2711dc24 | 14633:da2431cc1506 |
---|---|
49 } | 49 } |
50 return true; | 50 return true; |
51 } | 51 } |
52 | 52 |
53 private static boolean isObject(ConstantNode node) { | 53 private static boolean isObject(ConstantNode node) { |
54 return node.kind() == Kind.Object; | 54 return node.getKind() == Kind.Object; |
55 } | 55 } |
56 | 56 |
57 private static boolean isNullReference(ConstantNode node) { | 57 private static boolean isNullReference(ConstantNode node) { |
58 return isObject(node) && node.asConstant().asObject() == null; | 58 return isObject(node) && node.asConstant().asObject() == null; |
59 } | 59 } |