Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 00bd2c18bc6035777310a8252fa8b3f0e7ac178e..95130c237b2ddae90d0aee54c469452900a59685 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -12774,7 +12774,7 @@ void SharedFunctionInfo::ResetForNewContext(int new_ic_age) { |
} |
set_opt_count(0); |
set_deopt_count(0); |
- } else if (code()->is_interpreter_entry_trampoline()) { |
+ } else if (code()->is_interpreter_trampoline_builtin()) { |
set_profiler_ticks(0); |
if (optimization_disabled() && opt_count() >= FLAG_max_opt_count) { |
// Re-enable optimizations if they were disabled due to opt_count limit. |