Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index b9dd00fd24176d26b6dd0a359fb49ea47400d469..352933678b74c2ae36bbd7a8cad29583d59e0095 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -351,20 +351,20 @@ void MacroAssembler::FCmp() { |
} |
-void MacroAssembler::AbortIfNotNumber(Register object, const char* msg) { |
+void MacroAssembler::AbortIfNotNumber(Register object) { |
Label ok; |
test(object, Immediate(kSmiTagMask)); |
j(zero, &ok); |
cmp(FieldOperand(object, HeapObject::kMapOffset), |
Factory::heap_number_map()); |
- Assert(equal, msg); |
+ Assert(equal, "Operand not a number"); |
bind(&ok); |
} |
-void MacroAssembler::AbortIfNotSmi(Register object, const char* msg) { |
+void MacroAssembler::AbortIfNotSmi(Register object) { |
test(object, Immediate(kSmiTagMask)); |
- Assert(equal, msg); |
+ Assert(equal, "Operand not a smi"); |
} |