Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index e4ef146704628cdec8c9a347f971d14a90f9bd46..a295957ee02d64f93b8de65e462eb19f0bf8eced 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -1622,10 +1622,7 @@ void Deoptimizer::DoComputeCompiledStubFrame(TranslationIterator* iterator, |
CHECK(compiled_code_->is_hydrogen_stub()); |
int major_key = CodeStub::GetMajorKey(compiled_code_); |
- CodeStubInterfaceDescriptor descriptor(isolate_, compiled_code_->stub_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); |
+ CodeStubDescriptor descriptor(isolate_, compiled_code_->stub_key()); |
// The output frame must have room for all pushed register parameters |
// and the standard stack frame slots. Include space for an argument |