narray first check in
[cacao.git] / jit.h
diff --git a/jit.h b/jit.h
index 236b0bdbed96977aec998668677384cf5f7c41ab..3a34d92b7ea33c14669cf1ee0f98370cfccc0101 100644 (file)
--- a/jit.h
+++ b/jit.h
@@ -13,6 +13,9 @@
 
 *******************************************************************************/
 
+#ifndef __jit__
+#define __jit__
+
 /* compiler switches (set by main function) ***********************************/
 
 extern bool runverbose;         /* trace all method invocation                */
@@ -23,6 +26,7 @@ extern bool showintermediate;   /* generate intermediate code listing         */
 extern int  optimizelevel;      /* optimzation level  (0 = no optimization)   */
 
 extern bool checkbounds;        /* check array bounds                         */
+extern bool opt_loops;          /* optimize array accesses in loops           */
 extern bool checknull;          /* check null pointers                        */
 extern bool checkfloats;        /* implement ieee compliant floats            */
 extern bool checksync;          /* do synchronization                         */
@@ -92,6 +96,7 @@ u1 *createnativestub (functionptr f, methodinfo *m);
 void removecompilerstub (u1 *stub);
 void removenativestub (u1 *stub);
 
+#endif
 
 /*
  * These are local overrides for various environment variables in Emacs.