Index: src/mips/stub-cache-mips.cc |
diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc |
index 921a47c27d61fe8cb2c830eee31299b0455a8aca..9b31b4d7c8865421cf28b75eddf1e09b3f288fa1 100644 |
--- a/src/mips/stub-cache-mips.cc |
+++ b/src/mips/stub-cache-mips.cc |
@@ -2316,7 +2316,7 @@ Handle<Code> CallStubCompiler::CompileMathFloorCall( |
// If the argument is a smi, just return. |
STATIC_ASSERT(kSmiTag == 0); |
- __ And(t0, v0, Operand(kSmiTagMask)); |
+ __ SmiTst(v0, t0); |
__ DropAndRet(argc + 1, eq, t0, Operand(zero_reg)); |
__ CheckMap(v0, a1, Heap::kHeapNumberMapRootIndex, &slow, DONT_DO_SMI_CHECK); |