Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/ir/StateSplit.java @ 2662:440ceca8e3d7
Add exception handlers only to Invoke and Throw instructions. Deoptimize if there is an exception in a HotSpot runtime call.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 11 May 2011 18:16:01 +0200 |
parents | 4dd0573f510b |
children | 7ed72769d51a |
comparison
equal
deleted
inserted
replaced
2661:194d93d089bd | 2662:440ceca8e3d7 |
---|---|
84 */ | 84 */ |
85 public StateSplit(CiKind kind, int inputCount, int successorCount, Graph graph) { | 85 public StateSplit(CiKind kind, int inputCount, int successorCount, Graph graph) { |
86 super(kind, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); | 86 super(kind, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); |
87 } | 87 } |
88 | 88 |
89 @Override | |
90 public boolean canTrap() { | |
91 return true; | |
92 } | |
93 | |
94 public boolean needsStateAfter() { | 89 public boolean needsStateAfter() { |
95 return true; | 90 return true; |
96 } | 91 } |
97 } | 92 } |