| Index: src/deoptimizer.cc
|
| diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
|
| index c8c4d9e7b9279df91baa689b4856727e317f122e..b7fe05828b94ca966945995b4e05d6b04fac4762 100644
|
| --- a/src/deoptimizer.cc
|
| +++ b/src/deoptimizer.cc
|
| @@ -1624,6 +1624,9 @@ void Deoptimizer::DoComputeCompiledStubFrame(TranslationIterator* iterator,
|
| int major_key = CodeStub::GetMajorKey(compiled_code_);
|
| CodeStubInterfaceDescriptor* descriptor =
|
| isolate_->code_stub_interface_descriptor(major_key);
|
| + // Check that there is a matching descriptor to the major key.
|
| + // This will fail if there has not been one installed to the isolate.
|
| + DCHECK_EQ(descriptor->MajorKey(), major_key);
|
|
|
| // The output frame must have room for all pushed register parameters
|
| // and the standard stack frame slots. Include space for an argument
|
|
|