Index: src/arm64/lithium-arm64.cc |
diff --git a/src/arm64/lithium-arm64.cc b/src/arm64/lithium-arm64.cc |
index 34311163da93e107ff369e26009f62d9349f40c7..9ac108c32671620506f9be60cf155a94736dbbf3 100644 |
--- a/src/arm64/lithium-arm64.cc |
+++ b/src/arm64/lithium-arm64.cc |
@@ -1031,7 +1031,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()); |
@@ -1967,7 +1967,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); |
} |
} |