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

Unified Diff: src/deoptimizer.cc

Issue 553833002: Initialize CodeStubInterfaceDescriptor in the constructor. (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
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.cc
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
index c590d6630555a73e0336ac36a6cc43e851a5a2e8..9e3002090b137f46aa153d2c883681f45dc8b66e 100644
--- a/src/deoptimizer.cc
+++ b/src/deoptimizer.cc
@@ -1622,9 +1622,7 @@ void Deoptimizer::DoComputeCompiledStubFrame(TranslationIterator* iterator,
CHECK(compiled_code_->is_hydrogen_stub());
int major_key = CodeStub::GetMajorKey(compiled_code_);
- CodeStubInterfaceDescriptor descriptor;
- CodeStub::InitializeInterfaceDescriptor(isolate_, compiled_code_->stub_key(),
- &descriptor);
+ 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);
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698