Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index ed8a2e2f3a768992506d2aa055c49940abedbfa3..4f097471227a198af8599b4e6b7478cbaad67a91 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -2690,7 +2690,7 @@ void FullCodeGenerator::EmitIsStringWrapperSafeForDefaultValueOf( |
context()->PrepareTest(&materialize_true, &materialize_false, |
&if_true, &if_false, &fall_through); |
- if (generate_debug_code_) __ AbortIfSmi(v0); |
+ __ AssertNotSmi(v0); |
__ lw(a1, FieldMemOperand(v0, HeapObject::kMapOffset)); |
__ lbu(t0, FieldMemOperand(a1, Map::kBitField2Offset)); |
@@ -3571,7 +3571,7 @@ void FullCodeGenerator::EmitGetCachedArrayIndex(CallRuntime* expr) { |
ASSERT(args->length() == 1); |
VisitForAccumulatorValue(args->at(0)); |
- __ AbortIfNotString(v0); |
+ __ AssertString(v0); |
__ lw(v0, FieldMemOperand(v0, String::kHashFieldOffset)); |
__ IndexFromHash(v0, v0); |