Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 41854088d31283f6bfa367e8a9eaa2b49b2c54de..a7bf85cfe82894007edcd0804365615dcd2fc29c 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5860,8 +5860,8 @@ void HOptimizedGraphBuilder::HandleGlobalVariableAssignment( |
} |
} else { |
HGlobalObject* global_object = Add<HGlobalObject>(); |
- HStoreGlobalGeneric* instr = |
- Add<HStoreGlobalGeneric>(global_object, var->name(), |
+ HStoreNamedGeneric* instr = |
+ Add<HStoreNamedGeneric>(global_object, var->name(), |
value, function_strict_mode_flag()); |
USE(instr); |
ASSERT(instr->HasObservableSideEffects()); |