Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: src/deoptimizer.cc

Issue 552803002: Get CallInterfaceDescriptor directly from CodeStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698