| Index: src/compiler/operator-properties.cc
|
| diff --git a/src/compiler/operator-properties.cc b/src/compiler/operator-properties.cc
|
| index 01acf0f7182152dba66c4980ec3ce44171174ac7..4a7f1d9a2c2a06047cc0dcd1e979f4ae83459363 100644
|
| --- a/src/compiler/operator-properties.cc
|
| +++ b/src/compiler/operator-properties.cc
|
| @@ -49,7 +49,6 @@ int OperatorProperties::GetFrameStateInputCount(const Operator* op) {
|
| case IrOpcode::kJSCreateLiteralObject:
|
|
|
| // Context operations
|
| - case IrOpcode::kJSLoadDynamicGlobal:
|
| case IrOpcode::kJSLoadDynamicContext:
|
| case IrOpcode::kJSCreateScriptContext:
|
| case IrOpcode::kJSCreateWithContext:
|
| @@ -67,11 +66,12 @@ int OperatorProperties::GetFrameStateInputCount(const Operator* op) {
|
| return 1;
|
|
|
| // We record the frame state immediately before and immediately after
|
| - // every property access.
|
| + // every property or global variable access.
|
| case IrOpcode::kJSLoadNamed:
|
| case IrOpcode::kJSStoreNamed:
|
| case IrOpcode::kJSLoadProperty:
|
| case IrOpcode::kJSStoreProperty:
|
| + case IrOpcode::kJSLoadDynamicGlobal:
|
| return 2;
|
|
|
| // Binary operators that can deopt in the middle the operation (e.g.,
|
|
|