Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index c408288363376ab956e27867cf0d8ddb2254d44c..feb714759621bdb93f4dba2935ccad20fe296017 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1125,8 +1125,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()); |
ops.Add(target, zone()); |
@@ -2473,7 +2472,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); |
} |
} |