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