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): ? |