Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Unified Diff: src/deoptimizer.cc

Issue 1876753002: [deoptimizer] Extend assert to also expect kTailCallerFunction as bottommost frame when accessing a… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-crbug-601617.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.cc
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
index d69a292f0a83883fcafe9db2ef3552e30e545b76..df17db1aee69d0f703c3355e7eaf7c0fbcd1376b 100644
--- a/src/deoptimizer.cc
+++ b/src/deoptimizer.cc
@@ -3782,7 +3782,8 @@ void TranslatedState::StoreMaterializedValuesAndDeopt() {
materialized_store->Set(stack_frame_pointer_,
previously_materialized_objects);
CHECK(frames_[0].kind() == TranslatedFrame::kFunction ||
- frames_[0].kind() == TranslatedFrame::kInterpretedFunction);
+ frames_[0].kind() == TranslatedFrame::kInterpretedFunction ||
+ frames_[0].kind() == TranslatedFrame::kTailCallerFunction);
Object* const function = frames_[0].front().GetRawValue();
Deoptimizer::DeoptimizeFunction(JSFunction::cast(function));
}
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-crbug-601617.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698