Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 518b4a516f08bd87c270237995eb9aadac6c6124..3db7497d60a7735da99512bbb1125f496e134e5a 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -9104,7 +9104,7 @@ void HOptimizedGraphBuilder::GenerateStringAdd(CallRuntime* call) { |
HValue* left = Pop(); |
HValue* context = environment()->LookupContext(); |
HInstruction* result = HStringAdd::New( |
- zone(), context, left, right, NO_STRING_ADD_FLAGS); |
+ zone(), context, left, right, STRING_ADD_CHECK_BOTH); |
return ast_context()->ReturnInstruction(result, call->id()); |
} |