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)); |
} |