Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/ir/TypeCheck.java @ 2543:c58a301eb2d7
Clean up on canTrap.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Apr 2011 21:22:10 +0200 |
parents | e1ba5a93e997 |
children | f1bc67c2d453 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/TypeCheck.java Wed Apr 27 20:58:01 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/TypeCheck.java Wed Apr 27 21:22:10 2011 +0200 @@ -84,15 +84,6 @@ } /** - * Checks whether this instruction can trap. - * @return {@code true}, conservatively assuming the cast may fail - */ - @Override - public boolean canTrap() { - return true; - } - - /** * Iterates over the input values to this instruction. * @param closure the closure to apply */