| Index: src/deoptimizer.cc
|
| diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
|
| index 4c98b8473569ec20c6f255de1d587f0afaeee12a..ff5136c301e9f9e03c9957932e115e609517b9aa 100644
|
| --- a/src/deoptimizer.cc
|
| +++ b/src/deoptimizer.cc
|
| @@ -758,7 +758,8 @@ void Deoptimizer::DoComputeOutputFrames() {
|
| input_data->OptimizationId()->value(),
|
| bailout_id_,
|
| fp_to_sp_delta_);
|
| - if (bailout_type_ == EAGER || bailout_type_ == SOFT) {
|
| + if (bailout_type_ == EAGER || bailout_type_ == SOFT ||
|
| + (compiled_code_->is_hydrogen_stub())) {
|
| compiled_code_->PrintDeoptLocation(trace_scope_->file(), bailout_id_);
|
| }
|
| }
|
| @@ -1548,8 +1549,7 @@ void Deoptimizer::DoComputeCompiledStubFrame(TranslationIterator* iterator,
|
| // reg = JSFunction context
|
| //
|
|
|
| - CHECK(compiled_code_->is_crankshafted() &&
|
| - compiled_code_->kind() != Code::OPTIMIZED_FUNCTION);
|
| + CHECK(compiled_code_->is_hydrogen_stub());
|
| int major_key = compiled_code_->major_key();
|
| CodeStubInterfaceDescriptor* descriptor =
|
| isolate_->code_stub_interface_descriptor(major_key);
|
|
|