Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index bf215c8f3cfd33b6d30e0ac874ebe26f3957f0e2..294e09c6a35b5e6db9f3da1dd5a65abcbefa2303 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -1549,7 +1549,7 @@ void Deoptimizer::DoComputeCompiledStubFrame(TranslationIterator* iterator, |
// |
CHECK(compiled_code_->is_hydrogen_stub()); |
- int major_key = compiled_code_->major_key(); |
+ int major_key = CodeStub::GetMajorKey(compiled_code_); |
CodeStubInterfaceDescriptor* descriptor = |
isolate_->code_stub_interface_descriptor(major_key); |