Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/TruffleReplacements.java @ 20051:b7477f2df553
removed MacroSubstitution and its related machinery
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 27 Mar 2015 16:04:23 +0100 |
parents | 8470e81631f8 |
children |
comparison
equal
deleted
inserted
replaced
20050:a1d73b4fd139 | 20051:b7477f2df553 |
---|---|
57 } | 57 } |
58 return graph; | 58 return graph; |
59 } | 59 } |
60 | 60 |
61 @Override | 61 @Override |
62 public Class<? extends FixedWithNextNode> getMacroSubstitution(ResolvedJavaMethod method) { | |
63 Class<? extends FixedWithNextNode> clazz = graalReplacements.getMacroSubstitution(method); | |
64 if (clazz == null) { | |
65 return super.getMacroSubstitution(method); | |
66 } | |
67 return clazz; | |
68 } | |
69 | |
70 @Override | |
71 public Collection<ResolvedJavaMethod> getAllReplacements() { | 62 public Collection<ResolvedJavaMethod> getAllReplacements() { |
72 throw GraalInternalError.shouldNotReachHere(); | 63 throw GraalInternalError.shouldNotReachHere(); |
73 } | 64 } |
74 | 65 |
75 @Override | 66 @Override |