Check for initialized code stub descriptor in the deoptimizer.
R=verwaest@chromium.org Review URL: https://codereview.chromium.org/448683002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22932 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
0ef3978a13
commit
5894a48d37
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user