Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index eec55972ffe73da2fa956cdf7c4271bd303d4072..1208a9b25bf5ab9f3e2fcdcb431c0ecd4eed7181 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -2413,7 +2413,7 @@ LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { |
CodeStubInterfaceDescriptor* descriptor = |
info()->code_stub()->GetInterfaceDescriptor(info()->isolate()); |
int index = static_cast<int>(instr->index()); |
- Register reg = DESCRIPTOR_GET_PARAMETER_REGISTER(descriptor, index); |
+ Register reg = descriptor->GetParameterRegister(index); |
return DefineFixed(result, reg); |
} |
} |