Index: src/compiler/common-operator.h |
diff --git a/src/compiler/common-operator.h b/src/compiler/common-operator.h |
index 0b51088ca6967d2836f83a8c8ca92ba68efc5d44..d39cd3e8a563d7b35a044e0fe1842caef91dc9f5 100644 |
--- a/src/compiler/common-operator.h |
+++ b/src/compiler/common-operator.h |
@@ -35,7 +35,8 @@ class CallOperator : public Operator1<CallDescriptor*> { |
public: |
CallOperator(CallDescriptor* descriptor, const char* mnemonic) |
: Operator1<CallDescriptor*>( |
- IrOpcode::kCall, descriptor->properties(), descriptor->InputCount(), |
+ IrOpcode::kCall, descriptor->properties(), |
+ descriptor->InputCount() + descriptor->FrameStateCount(), |
descriptor->ReturnCount(), mnemonic, descriptor) {} |
virtual OStream& PrintParameter(OStream& os) const { // NOLINT |