Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index f3980573d0f7a051f45ecb17914799e5d66a5c32..d3b849d78f3dc869ae5a1ed532dac4d76a113ba2 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -13524,6 +13524,11 @@ void SharedFunctionInfo::ResetForNewContext(int new_ic_age) { |
} |
set_opt_count(0); |
set_deopt_count(0); |
+ } else if (code()->is_interpreter_entry_trampoline()) { |
+ // TODO(4280): We might want to consider resetting profiler ticks on the |
+ // bytecode as well as re-enabling optimization similar to the above case. |
rmcilroy
2016/04/15 10:11:17
Could we do this TODO as well? I think it makes se
Michael Starzinger
2016/04/15 10:40:44
Done.
|
+ set_opt_count(0); |
+ set_deopt_count(0); |
} |
} |