| Index: src/x64/lithium-x64.cc
|
| diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc
|
| index 1d42455ce3c1bafed61ec5a48a6c953f57c0c56f..969024ea0078efe9e8c6ca8eb3ec4bbe1ea88799 100644
|
| --- a/src/x64/lithium-x64.cc
|
| +++ b/src/x64/lithium-x64.cc
|
| @@ -2346,7 +2346,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);
|
| }
|
| }
|
|
|