Index: src/compiler/linkage.cc |
diff --git a/src/compiler/linkage.cc b/src/compiler/linkage.cc |
index 2bdb5af0e54b556e92c5a681d63199c8d0bc2990..f670bd1c7a90627d0b4043b542534cdcd68de039 100644 |
--- a/src/compiler/linkage.cc |
+++ b/src/compiler/linkage.cc |
@@ -51,9 +51,9 @@ Linkage::Linkage(CompilationInfo* info) : info_(info) { |
incoming_ = GetJSCallDescriptor(1 + shared->formal_parameter_count()); |
} else if (info->code_stub() != NULL) { |
// Use the code stub interface descriptor. |
- HydrogenCodeStub* stub = info->code_stub(); |
- CodeStubInterfaceDescriptor descriptor(stub); |
- incoming_ = GetStubCallDescriptor(&descriptor); |
+ CallInterfaceDescriptor descriptor = |
+ info->code_stub()->GetCallInterfaceDescriptor(); |
+ incoming_ = GetStubCallDescriptor(descriptor); |
} else { |
incoming_ = NULL; // TODO(titzer): ? |
} |
@@ -101,7 +101,7 @@ CallDescriptor* Linkage::GetRuntimeCallDescriptor( |
CallDescriptor* Linkage::GetStubCallDescriptor( |
- CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count, |
+ CallInterfaceDescriptor descriptor, int stack_parameter_count, |
CallDescriptor::Flags flags) { |
return GetStubCallDescriptor(descriptor, stack_parameter_count, flags, |
this->info_->zone()); |
@@ -147,7 +147,7 @@ CallDescriptor* Linkage::GetRuntimeCallDescriptor( |
CallDescriptor* Linkage::GetStubCallDescriptor( |
- CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count, |
+ CallInterfaceDescriptor descriptor, int stack_parameter_count, |
CallDescriptor::Flags flags, Zone* zone) { |
UNIMPLEMENTED(); |
return NULL; |