Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index 88a40ee170d1b054ba5814a0809bab3efead0b4c..dfafad983bd519e9a50db2aa54c83d8bfb417631 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -111,22 +111,23 @@ 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) || |
- x0.Is(descriptor->GetEnvironmentParameterRegister(param_count - 1))); |
+ x0.Is(descriptor.GetEnvironmentParameterRegister(param_count - 1))); |
// Push arguments |
MacroAssembler::PushPopQueue queue(masm); |
for (int i = 0; i < param_count; ++i) { |
- queue.Queue(descriptor->GetEnvironmentParameterRegister(i)); |
+ queue.Queue(descriptor.GetEnvironmentParameterRegister(i)); |
} |
queue.PushQueued(); |
- ExternalReference miss = descriptor->miss_handler(); |
+ ExternalReference miss = descriptor.miss_handler(); |
__ CallExternalReference(miss, param_count); |
} |