Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 6ea5ebfe40ca73323f93eba3c31f3c0864fe864e..9433a1099714ad7727a0ae9814a64eeb8859350b 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -12881,7 +12881,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. |