Mercurial > hg > truffle
comparison graal/com.oracle.graal.word/src/com/oracle/graal/word/phases/WordTypeVerificationPhase.java @ 18465:f0a8b72315c1
Move ResolvedJavaField#read[Constant]Value and getMethodHandleAccess() to ConstantReflectionProvider
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Wed, 19 Nov 2014 17:00:12 +0100 |
parents | 839f97696479 |
children | a2cb19764970 |
comparison
equal
deleted
inserted
replaced
18464:e6b6463c9c06 | 18465:f0a8b72315c1 |
---|---|
42 */ | 42 */ |
43 public class WordTypeVerificationPhase extends Phase { | 43 public class WordTypeVerificationPhase extends Phase { |
44 | 44 |
45 private final WordTypeRewriterPhase wordAccess; | 45 private final WordTypeRewriterPhase wordAccess; |
46 | 46 |
47 public WordTypeVerificationPhase(MetaAccessProvider metaAccess, SnippetReflectionProvider snippetReflection, Kind wordKind) { | 47 public WordTypeVerificationPhase(MetaAccessProvider metaAccess, SnippetReflectionProvider snippetReflection, ConstantReflectionProvider constantReflection, Kind wordKind) { |
48 this.wordAccess = new WordTypeRewriterPhase(metaAccess, snippetReflection, wordKind); | 48 this.wordAccess = new WordTypeRewriterPhase(metaAccess, snippetReflection, constantReflection, wordKind); |
49 } | 49 } |
50 | 50 |
51 @Override | 51 @Override |
52 protected void run(StructuredGraph graph) { | 52 protected void run(StructuredGraph graph) { |
53 assert verify(graph); | 53 assert verify(graph); |