Index: src/compiler/operator-properties.cc |
diff --git a/src/compiler/operator-properties.cc b/src/compiler/operator-properties.cc |
index 7aff0ae4c1dbde6d75bcc98d40816127033912dc..98fb0706d452d38761e7e954fe2408036502a903 100644 |
--- a/src/compiler/operator-properties.cc |
+++ b/src/compiler/operator-properties.cc |
@@ -34,8 +34,12 @@ int OperatorProperties::GetFrameStateInputCount(const Operator* op) { |
case IrOpcode::kJSStrictNotEqual: |
return 0; |
- // Calls |
+ // We record the frame state immediately before and immediately after every |
+ // function call. |
case IrOpcode::kJSCallFunction: |
+ return 2; |
+ |
+ // Construct calls |
case IrOpcode::kJSCallConstruct: |
// Compare operations |