|
@@ -85,7 +85,7 @@ class JitCompilationFailedException(Exception):
|
|
|
|
|
|
class ModelverseJit(object):
|
|
|
"""A high-level interface to the modelverse JIT compiler."""
|
|
|
- def __init__(self, max_instructions=100, compiled_function_lookup=None):
|
|
|
+ def __init__(self, max_instructions=None, compiled_function_lookup=None):
|
|
|
self.todo_entry_points = set()
|
|
|
self.no_jit_entry_points = set()
|
|
|
self.jitted_entry_points = {}
|
|
@@ -317,7 +317,7 @@ class ModelverseJit(object):
|
|
|
# Extract the compiled function from the JIT global state.
|
|
|
compiled_function = self.jit_globals[function_name]
|
|
|
|
|
|
- print(constructed_function)
|
|
|
+ # print(constructed_function)
|
|
|
raise primitive_functions.PrimitiveFinished(compiled_function)
|
|
|
|
|
|
class AnalysisState(object):
|