* src/vm/jit/alpha/emit.c [ENABLE_THREADS] (threads/native/lock.h):
[cacao.git] / src / vm / jit / jit.h
index f9e726a37c92b578d3f68bfc96428890d7e76a2a..7bc76e02e63dce97d5c7e12771e0274db9034a3f 100644 (file)
@@ -30,7 +30,7 @@
    Changes: Christian Thalinger
                        Edwin Steiner
 
-   $Id: jit.h 5234 2006-08-14 17:50:12Z christian $
+   $Id: jit.h 5262 2006-08-22 19:53:56Z twisti $
 
 */
 
@@ -103,8 +103,10 @@ struct jitdata {
 #if defined(ENABLE_SSA) || defined(ENABLE_LSRA)
        lsradata     *ls;
 #endif
+
        u4               flags;             /* contains JIT compiler flags        */
        bool             isleafmethod;      /* does method call subroutines       */
+       s4               stackframesize;    /* size of the current stackframe     */
 
        new_instruction *new_instructions;
        basicblock      *new_basicblocks;
@@ -1217,7 +1219,14 @@ extern int jcommandsize[256];
 /***************************** register info block ****************************/
 
 extern int stackreq[256];
-extern int op_needs_saved[256]; /* if ICMD needs a SAVEDVAR */
+/* extern int op_needs_saved[256];  */
+/* extern int op_is_pei[256];       */
+#define NEEDS_SAVED  0
+#define PEI          1
+#define OP_DATA_SIZE 2
+extern int op_data[256][OP_DATA_SIZE]; 
+/* [0..255][NEEDS_SAVED] ... if ICMD needs a SAVEDVAR         */
+/* [0..255][PEI]         ... if ICMD could throw an exception */
 
 /* function prototypes ********************************************************/