Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index c0be3a53b065ddd5e4ffd871fb28da2f9a80158d..f1821d3555943bb0bf050b3bf6760e0f4347c199 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -1104,7 +1104,7 @@ LInstruction* LChunkBuilder::DoCallJSFunction( |
LInstruction* LChunkBuilder::DoCallWithDescriptor( |
HCallWithDescriptor* instr) { |
- const CallInterfaceDescriptor* descriptor = instr->descriptor(); |
+ const InterfaceDescriptor* descriptor = instr->descriptor(); |
LOperand* target = UseRegisterOrConstantAtStart(instr->target()); |
ZoneList<LOperand*> ops(instr->OperandCount(), zone()); |
@@ -2451,7 +2451,7 @@ LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { |
CodeStubInterfaceDescriptor* descriptor = |
info()->code_stub()->GetInterfaceDescriptor(); |
int index = static_cast<int>(instr->index()); |
- Register reg = descriptor->GetParameterRegister(index); |
+ Register reg = descriptor->GetEnvironmentParameterRegister(index); |
return DefineFixed(result, reg); |
} |
} |