Include options.h/statistics.h instead of main.h.
authortwisti <none@none>
Wed, 30 Jun 2004 19:42:17 +0000 (19:42 +0000)
committertwisti <none@none>
Wed, 30 Jun 2004 19:42:17 +0000 (19:42 +0000)
jit/parse.c
src/vm/jit/parse.c

index 41e77416849e8e700695ff1e8f6b78ae1d3cbc82..b675ffdeb90f034f4d19956537fb00d53fed3808 100644 (file)
@@ -29,7 +29,7 @@
    Changes: Carolyn Oates
             Edwin Steiner
 
-   $Id: parse.c 1203 2004-06-22 23:14:55Z twisti $
+   $Id: parse.c 1231 2004-06-30 19:42:17Z twisti $
 
 */
 
@@ -37,7 +37,6 @@
 #include <string.h>
 #include "parse.h"
 #include "global.h"
-#include "main.h"
 #include "jit.h"
 #include "parseRT.h"
 #include "inline.h"
@@ -47,6 +46,8 @@
 #include "tables.h"
 #include "native.h"
 #include "loader.h"
+#include "options.h"
+#include "statistics.h"
 #include "toolbox/memory.h"
 #include "toolbox/logging.h"
 
@@ -451,7 +452,7 @@ methodinfo *parse(methodinfo *m)
        
        m->basicblockindex = DMNEW(int, cumjcodelength + 4);
        instructionstart = DMNEW(u1, cumjcodelength + 4);
-       memset(instructionstart,0,sizeof(u1) * (cumjcodelength + 4));
+       memset(instructionstart, 0, sizeof(u1) * (cumjcodelength + 4));
 
        /* 1 additional for TRACEBUILTIN and 4 for MONITORENTER/EXIT */
        /* additional MONITOREXITS are reached by branches which are 3 bytes */
index 41e77416849e8e700695ff1e8f6b78ae1d3cbc82..b675ffdeb90f034f4d19956537fb00d53fed3808 100644 (file)
@@ -29,7 +29,7 @@
    Changes: Carolyn Oates
             Edwin Steiner
 
-   $Id: parse.c 1203 2004-06-22 23:14:55Z twisti $
+   $Id: parse.c 1231 2004-06-30 19:42:17Z twisti $
 
 */
 
@@ -37,7 +37,6 @@
 #include <string.h>
 #include "parse.h"
 #include "global.h"
-#include "main.h"
 #include "jit.h"
 #include "parseRT.h"
 #include "inline.h"
@@ -47,6 +46,8 @@
 #include "tables.h"
 #include "native.h"
 #include "loader.h"
+#include "options.h"
+#include "statistics.h"
 #include "toolbox/memory.h"
 #include "toolbox/logging.h"
 
@@ -451,7 +452,7 @@ methodinfo *parse(methodinfo *m)
        
        m->basicblockindex = DMNEW(int, cumjcodelength + 4);
        instructionstart = DMNEW(u1, cumjcodelength + 4);
-       memset(instructionstart,0,sizeof(u1) * (cumjcodelength + 4));
+       memset(instructionstart, 0, sizeof(u1) * (cumjcodelength + 4));
 
        /* 1 additional for TRACEBUILTIN and 4 for MONITORENTER/EXIT */
        /* additional MONITOREXITS are reached by branches which are 3 bytes */