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

Unified Diff: src/compiler/linkage.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/js-generic-lowering.cc ('k') | src/compiler/raw-machine-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/linkage.cc
diff --git a/src/compiler/linkage.cc b/src/compiler/linkage.cc
index e6e53b14d6388f1ccd6d5d2ee3e24aa51d946604..2bdb5af0e54b556e92c5a681d63199c8d0bc2990 100644
--- a/src/compiler/linkage.cc
+++ b/src/compiler/linkage.cc
@@ -52,8 +52,7 @@ Linkage::Linkage(CompilationInfo* info) : info_(info) {
} else if (info->code_stub() != NULL) {
// Use the code stub interface descriptor.
HydrogenCodeStub* stub = info->code_stub();
- CodeStubInterfaceDescriptor descriptor;
- stub->InitializeInterfaceDescriptor(&descriptor);
+ CodeStubInterfaceDescriptor descriptor(stub);
incoming_ = GetStubCallDescriptor(&descriptor);
} else {
incoming_ = NULL; // TODO(titzer): ?
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/raw-machine-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698