diff graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java @ 2639:8e96b2b3a866

Added stateBefore to Throw instruction.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 11 May 2011 13:41:35 +0200
parents 152d4a8dc7ad
children 9e30cf6dcf96
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java	Wed May 11 12:10:41 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java	Wed May 11 13:41:35 2011 +0200
@@ -892,7 +892,7 @@
     public void visitThrow(Throw x) {
         setNoResult(x);
         CiValue exceptionOpr = load(x.exception());
-        LIRDebugInfo info = stateFor(x);
+        LIRDebugInfo info = stateFor(x, x.stateBefore());
 
         // check if the instruction has an xhandler in any of the nested scopes
         boolean unwind = false;