|
@@ -849,7 +849,9 @@ def compile_function_body_adaptive(
|
|
|
|
|
|
body_bytecode, = yield [("CALL_ARGS", [jit.jit_parse_bytecode, (body_id,)])]
|
|
|
initial_temperature, increment_temperature = temperature_heuristic(body_bytecode)
|
|
|
- print('Initial temperature for %s: %d' % (function_name, initial_temperature))
|
|
|
+ if jit.jit_success_log_function is not None:
|
|
|
+ jit.jit_success_log_function(
|
|
|
+ 'Initial temperature for %s: %d' % (function_name, initial_temperature))
|
|
|
|
|
|
if initial_temperature >= ADAPTIVE_FAST_JIT_TEMPERATURE_THRESHOLD:
|
|
|
# Initial temperature exceeds the fast-jit threshold.
|