Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index ea498128974160055667a98828388cbaaaad195b..a44f862c66c2ed3bbd2c2c1c625e6086df20cf6b 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -2692,8 +2692,7 @@ void MacroAssembler::JumpIfNotBothSequentialAsciiStrings(Register first, |
// Check that neither is a smi. |
STATIC_ASSERT(kSmiTag == 0); |
and_(scratch1, first, Operand(second)); |
- tst(scratch1, Operand(kSmiTagMask)); |
- b(eq, failure); |
+ JumpIfSmi(scratch1, failure); |
JumpIfNonSmisNotBothSequentialAsciiStrings(first, |
second, |
scratch1, |