| Index: src/x64/lithium-x64.cc
|
| diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc
|
| index bb2545048338e7b41ef717d9901bf0ab7db64221..10443c0bbefcc12971ddedea9664484090b7f3bd 100644
|
| --- a/src/x64/lithium-x64.cc
|
| +++ b/src/x64/lithium-x64.cc
|
| @@ -2384,7 +2384,8 @@ LInstruction* LChunkBuilder::DoParameter(HParameter* instr) {
|
| ASSERT(info()->IsStub());
|
| CodeStubInterfaceDescriptor* descriptor =
|
| info()->code_stub()->GetInterfaceDescriptor(info()->isolate());
|
| - Register reg = descriptor->register_params_[instr->index()];
|
| + int index = static_cast<int>(instr->index());
|
| + Register reg = DESCRIPTOR_GET_PARAMETER_REGISTER(descriptor, index);
|
| return DefineFixed(result, reg);
|
| }
|
| }
|
|
|