* src/vm/jit/cfg.c (cfg_build): Support for strange basicblocks, where an IF can...
[cacao.git] / src / vm / jit / jit.c
index c1b348950f12607f9b69c490f443b46a0bc18c4c..2c0905e03a7cffc70b264ee3b1a6b4eeea227fa3 100644 (file)
@@ -764,7 +764,7 @@ static u1 *jit_compile_intern(jitdata *jd)
 # endif /* defined(ENABLE_LSRA) && !defined(ENABLE_SSA) */
 #if defined(ENABLE_SSA)
                /* allocate registers */
-               if ((opt_lsra) /*&& strcmp(jd->m->name->text, "findClass") != 0*/) {
+               if ((opt_lsra) /*&& (strcmp(jd->m->name->text, "findClass") == 0 || jd->exceptiontablelength == 0)*/) {
                        jd->ls = DNEW(lsradata);
                        jd->ls = NULL;
                        ssa(jd);