Commit aa4caa4f authored by Kevin Modzelewski's avatar Kevin Modzelewski

XXX testing: force the bjit to run

parent c21f741e
...@@ -340,6 +340,11 @@ void compileAndRunModule(AST_Module* m, BoxedModule* bm) { ...@@ -340,6 +340,11 @@ void compileAndRunModule(AST_Module* m, BoxedModule* bm) {
Box* r = astInterpretFunction(md, NULL, NULL, NULL, NULL, NULL, NULL, NULL); Box* r = astInterpretFunction(md, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
assert(r == None); assert(r == None);
Py_DECREF(r); Py_DECREF(r);
// XXX for bjit testing
r = astInterpretFunction(md, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
assert(r == None);
Py_DECREF(r);
} }
Box* evalOrExec(FunctionMetadata* md, Box* globals, Box* boxedLocals) { Box* evalOrExec(FunctionMetadata* md, Box* globals, Box* boxedLocals) {
......
...@@ -46,8 +46,8 @@ bool ENABLE_TRACEBACKS = true; ...@@ -46,8 +46,8 @@ bool ENABLE_TRACEBACKS = true;
bool FORCE_LLVM_CAPI_CALLS = false; bool FORCE_LLVM_CAPI_CALLS = false;
bool FORCE_LLVM_CAPI_THROWS = false; bool FORCE_LLVM_CAPI_THROWS = false;
int OSR_THRESHOLD_INTERPRETER = 25; int OSR_THRESHOLD_INTERPRETER = 1;
int REOPT_THRESHOLD_INTERPRETER = 25; int REOPT_THRESHOLD_INTERPRETER = 1;
int OSR_THRESHOLD_BASELINE = 2500; int OSR_THRESHOLD_BASELINE = 2500;
int REOPT_THRESHOLD_BASELINE = 1500; int REOPT_THRESHOLD_BASELINE = 1500;
int OSR_THRESHOLD_T2 = 10000; int OSR_THRESHOLD_T2 = 10000;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment