Index: src/compiler/operator-properties.cc |
diff --git a/src/compiler/operator-properties.cc b/src/compiler/operator-properties.cc |
index 0ee434c3c8516bbf92fcfe7ca83f97fc71071713..7ea0405b97fede763feadab3c6fff88ea7589a0f 100644 |
--- a/src/compiler/operator-properties.cc |
+++ b/src/compiler/operator-properties.cc |
@@ -59,17 +59,14 @@ int OperatorProperties::GetFrameStateInputCount(const Operator* op) { |
// Misc operations |
case IrOpcode::kJSStackCheck: |
+ case IrOpcode::kJSDeleteProperty: |
+ return 1; |
- // Properties |
+ // We record the frame state immediately before and immediately after |
+ // every property access. |
case IrOpcode::kJSLoadNamed: |
case IrOpcode::kJSStoreNamed: |
case IrOpcode::kJSLoadProperty: |
- case IrOpcode::kJSDeleteProperty: |
- return 1; |
- |
- // StoreProperty provides a second frame state just before |
- // the operation. This is used to lazy-deoptimize a to-number |
- // conversion for typed arrays. |
case IrOpcode::kJSStoreProperty: |
return 2; |