diff 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
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/StateSplit.java	Wed May 11 17:18:31 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/ir/StateSplit.java	Wed May 11 18:16:01 2011 +0200
@@ -86,11 +86,6 @@
         super(kind, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph);
     }
 
-    @Override
-    public boolean canTrap() {
-        return true;
-    }
-
     public boolean needsStateAfter() {
         return true;
     }