Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index e40316f74ab5c12c42fa61e9e161682b20392162..fa8cee33a3fbbffa8e5a4a2f00ec6fe6d0588463 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -6586,7 +6586,7 @@ void HOptimizedGraphBuilder::HandleGlobalVariableAssignment( |
context(), nullptr, |
HObjectAccess::ForContextSlot(Context::GLOBAL_OBJECT_INDEX)); |
HStoreNamedGeneric* instr = Add<HStoreNamedGeneric>( |
- global_object, var->name(), value, function_language_mode()); |
+ global_object, var->name(), value, function_language_mode(), false); |
USE(instr); |
DCHECK(instr->HasObservableSideEffects()); |
Add<HSimulate>(ast_id, REMOVABLE_SIMULATE); |
@@ -6884,19 +6884,15 @@ HInstruction* HGraphBuilder::AddLoadStringLength(HValue* string) { |
HInstruction* HOptimizedGraphBuilder::BuildNamedGeneric( |
- PropertyAccessType access_type, |
- Expression* expr, |
- HValue* object, |
- Handle<String> name, |
- HValue* value, |
- bool is_uninitialized) { |
+ PropertyAccessType access_type, Expression* expr, HValue* object, |
+ Handle<String> name, HValue* value, bool is_uninitialized) { |
if (is_uninitialized) { |
Add<HDeoptimize>( |
Deoptimizer::kInsufficientTypeFeedbackForGenericNamedAccess, |
Deoptimizer::SOFT); |
} |
if (access_type == LOAD) { |
- HLoadNamedGeneric* result = New<HLoadNamedGeneric>(object, name); |
+ HLoadNamedGeneric* result = New<HLoadNamedGeneric>(object, name, true); |
if (FLAG_vector_ics) { |
Handle<SharedFunctionInfo> current_shared = |
function_state()->compilation_info()->shared_info(); |
@@ -6908,7 +6904,7 @@ HInstruction* HOptimizedGraphBuilder::BuildNamedGeneric( |
return result; |
} else { |
return New<HStoreNamedGeneric>(object, name, value, |
- function_language_mode()); |
+ function_language_mode(), true); |
} |
} |