Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/ir/ResolveClass.java @ 2543:c58a301eb2d7
Clean up on canTrap.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Apr 2011 21:22:10 +0200 |
parents | 16b9a8b5ad39 |
children | f1bc67c2d453 |
comparison
equal
deleted
inserted
replaced
2541:0f9eeb15e636 | 2543:c58a301eb2d7 |
---|---|
50 public void accept(ValueVisitor v) { | 50 public void accept(ValueVisitor v) { |
51 v.visitResolveClass(this); | 51 v.visitResolveClass(this); |
52 } | 52 } |
53 | 53 |
54 @Override | 54 @Override |
55 public boolean canTrap() { | |
56 return true; | |
57 } | |
58 | |
59 @Override | |
60 public int valueNumber() { | 55 public int valueNumber() { |
61 return 0x50000000 | type.hashCode(); | 56 return 0x50000000 | type.hashCode(); |
62 } | 57 } |
63 | 58 |
64 @Override | 59 @Override |