Mercurial > hg > truffle
diff graal/GraalCompiler/src/com/sun/c1x/ir/ArithmeticOp.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 | 91d3952f7eb7 |
children | bd17ac598c6e |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/ArithmeticOp.java Wed May 11 17:18:31 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/ArithmeticOp.java Wed May 11 18:16:01 2011 +0200 @@ -61,16 +61,6 @@ return isStrictFP; } - /** - * Checks whether this instruction can cause a trap. For arithmetic operations, - * only division and remainder operations can cause traps. - * @return {@code true} if this instruction can cause a trap - */ - @Override - public boolean canTrap() { - return canTrap; - } - @Override public void accept(ValueVisitor v) { v.visitArithmeticOp(this);