Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 6bb011829c04e7b07b993e9c56442ce37a2d13a1..978494eec62b2c4bd2690a90abec63fa50c2ff9a 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -930,7 +930,7 @@ HValue* CodeStubGraphBuilder<BinaryOpICStub>::BuildCodeInitializedStub() { |
// If we encounter a generic argument, the number conversion is |
// observable, thus we cannot afford to bail out after the fact. |
if (!state.HasSideEffects()) { |
- if (result_type->Is(Type::Smi())) { |
+ if (result_type->Is(Type::SignedSmall())) { |
if (state.op() == Token::SHR) { |
// TODO(olivf) Replace this by a SmiTagU Instruction. |
// 0x40000000: this number would convert to negative when interpreting |