* configure.ac: Added tests for python.
[cacao.git] / src / vm / jit / jit.c
index 488103b81a61cd416cb1b26687df5944538065c2..5fa661aac7820da7f796d8d80579946075181ff9 100644 (file)
 
 #include "vm/jit/optimizing/reorder.h"
 
+#if defined(ENABLE_PYTHON)
+# include "vm/jit/python.h"
+#endif
+
 #include "vm/jit/verify/typecheck.h"
 
 #include "vmcore/class.h"
@@ -1456,6 +1460,12 @@ static u1 *jit_compile_intern(jitdata *jd)
                }
 #endif
 
+#if defined(ENABLE_PYTHON)
+               if (!pythonpass_run(jd, "ssa", "ssa")) {
+                       /*return NULL;*/
+               }
+#endif
+
 #if defined(ENABLE_PROFILING)
                /* Basic block reordering.  I think this should be done after
                   if-conversion, as we could lose the ability to do the