Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 6e3395a225a64ab5e37dc617f698ef08679ced9a..a8ded7b35e1051929fd65a7e4b7d0f7115cf9dc7 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -107,19 +107,19 @@ void HydrogenCodeStub::GenerateLightweightMiss(MacroAssembler* masm) { |
// Update the static counter each time a new code stub is generated. |
isolate()->counters()->code_stubs()->Increment(); |
- CodeStubInterfaceDescriptor* descriptor = GetInterfaceDescriptor(); |
- int param_count = descriptor->GetEnvironmentParameterCount(); |
+ CodeStubInterfaceDescriptor descriptor; |
+ InitializeInterfaceDescriptor(&descriptor); |
+ int param_count = descriptor.GetEnvironmentParameterCount(); |
{ |
// Call the runtime system in a fresh internal frame. |
FrameScope scope(masm, StackFrame::INTERNAL); |
DCHECK(param_count == 0 || |
- rax.is(descriptor->GetEnvironmentParameterRegister( |
- param_count - 1))); |
+ rax.is(descriptor.GetEnvironmentParameterRegister(param_count - 1))); |
// Push arguments |
for (int i = 0; i < param_count; ++i) { |
- __ Push(descriptor->GetEnvironmentParameterRegister(i)); |
+ __ Push(descriptor.GetEnvironmentParameterRegister(i)); |
} |
- ExternalReference miss = descriptor->miss_handler(); |
+ ExternalReference miss = descriptor.miss_handler(); |
__ CallExternalReference(miss, param_count); |
} |