Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 6afe809ac23cabd5e7fc42bfe7928fa5ffc7733a..4a6ec75b125e94ccbdd567ab31e9912a8c63dfe7 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -1863,11 +1863,11 @@ class LCallJSFunction V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> { |
public: |
- LCallWithDescriptor(const CallInterfaceDescriptor* descriptor, |
+ LCallWithDescriptor(const InterfaceDescriptor* descriptor, |
const ZoneList<LOperand*>& operands, |
Zone* zone) |
- : inputs_(descriptor->environment_length() + 1, zone) { |
- ASSERT(descriptor->environment_length() + 1 == operands.length()); |
+ : inputs_(descriptor->GetRegisterParameterCount() + 1, zone) { |
+ ASSERT(descriptor->GetRegisterParameterCount() + 1 == operands.length()); |
inputs_.AddAll(operands, zone); |
} |