|
@@ -511,7 +511,8 @@ def optimize(entry_point, jit):
|
|
|
optimize_graph_flow(entry_point)
|
|
|
eliminate_trivial_phis(entry_point)
|
|
|
entry_point = cfg_ssa_construction.construct_ssa_form(entry_point)
|
|
|
- optimize_calls(entry_point, jit)
|
|
|
+ if jit.direct_calls_allowed:
|
|
|
+ optimize_calls(entry_point, jit)
|
|
|
cfg_data_structures.optimize_data_structures(entry_point)
|
|
|
yield [("CALL_ARGS", [inline_constants, (entry_point,)])]
|
|
|
optimize_reads(entry_point)
|