Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index c6fcac7a016ff6c65fe0a1d0143faa07c2256241..c9529a8de869d5e622d87a1c555e2512d5fcbe71 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -885,8 +885,7 @@ HValue* CodeStubGraphBuilder<BinaryOpStub>::BuildCodeInitializedStub() { |
// critical. |
if (left_type->Maybe(Type::String())) { |
IfBuilder left_string(this); |
- left_string.IfNot<HIsSmiAndBranch>(left); |
- left_string.AndIf<HIsStringAndBranch>(left); |
+ left_string.If<HIsStringAndBranch>(left); |
left_string.Then(); |
Push(Add<HStringAdd>(left, right, STRING_ADD_CHECK_RIGHT)); |
left_string.Else(); |
@@ -897,8 +896,7 @@ HValue* CodeStubGraphBuilder<BinaryOpStub>::BuildCodeInitializedStub() { |
result = Pop(); |
} else { |
IfBuilder right_string(this); |
- right_string.IfNot<HIsSmiAndBranch>(right); |
- right_string.AndIf<HIsStringAndBranch>(right); |
+ right_string.If<HIsStringAndBranch>(right); |
right_string.Then(); |
Push(Add<HStringAdd>(left, right, STRING_ADD_CHECK_LEFT)); |
right_string.Else(); |