Chromium Code Reviews| Index: src/objects.cc |
| diff --git a/src/objects.cc b/src/objects.cc |
| index fd2cd107a3ecc0aba08aa45066dbf8742210919b..277bd94e192754991fdce6adb5d5e580fd36a02b 100644 |
| --- a/src/objects.cc |
| +++ b/src/objects.cc |
| @@ -13949,7 +13949,7 @@ void SharedFunctionInfo::ResetForNewContext(int new_ic_age) { |
| } |
| set_opt_count(0); |
| set_deopt_count(0); |
| - } else if (code()->is_interpreter_trampoline_builtin()) { |
| + } else if (IsInterpreted()) { |
| 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. |