* src/vm/jit/x86_64/codegen.c (codegen_emit PUTFIELDCONST, PUTSTATICCONST):
[cacao.git] / src / vm / jit / jit.c
index eaf8672745da0ed93dbe229dee54e41bec022c4c..e6f17c2d83f5266996607b181bd4b0c5b4682654 100644 (file)
@@ -701,7 +701,9 @@ static u1 *jit_compile_intern(jitdata *jd)
                RT_TIMING_GET_TIME(time_typecheck);
 
 #if defined(ENABLE_SSA)
-               fix_exception_handlers(jd);
+               if (opt_lsra) {
+                       fix_exception_handlers(jd);
+               }
 #endif
 
                /* Build the CFG.  This has to be done after stack_analyse, as