Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index fbd851c7e7abf803e32f7bdb0e6c4cbb30178476..b5eeff4d4f2af5663d3338d34bb741d38074af6e 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -2514,7 +2514,8 @@ LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { |
return DefineAsSpilled(result, spill_index); |
} else { |
DCHECK(info()->IsStub()); |
- CodeStubInterfaceDescriptor descriptor(info()->code_stub()); |
+ CallInterfaceDescriptor descriptor = |
+ info()->code_stub()->GetCallInterfaceDescriptor(); |
int index = static_cast<int>(instr->index()); |
Register reg = descriptor.GetEnvironmentParameterRegister(index); |
return DefineFixed(result, reg); |