Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index fe8e134d97308dd6aac417806e9317725b48cde9..e85e16a6386b28f93ff661421cd8786ed8eb2608 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -10240,7 +10240,9 @@ HValue* HGraphBuilder::BuildBinaryOperation( |
bool maybe_string_add = op == Token::ADD && |
(left_type->Maybe(Type::String()) || |
- right_type->Maybe(Type::String())); |
+ left_type->Maybe(Type::Receiver()) || |
+ right_type->Maybe(Type::String()) || |
+ right_type->Maybe(Type::Receiver())); |
if (left_type->Is(Type::None())) { |
Add<HDeoptimize>("Insufficient type feedback for LHS of binary operation", |