Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index dcbeb9fd0e81c1500bf83bb507e764df55ad5a0a..ad3004aa67bafd8729f113ea7cdb6add366267cb 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -1335,17 +1335,18 @@ class MacroAssembler: public Assembler { |
// Jump if either of the registers contain a smi. |
void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); |
- // Abort execution if argument is a smi. Used in debug code. |
- void AbortIfSmi(Register object); |
- void AbortIfNotSmi(Register object); |
- |
- // Abort execution if argument is a string. Used in debug code. |
- void AbortIfNotString(Register object); |
- |
- // Abort execution if argument is not the root value with the given index. |
- void AbortIfNotRootValue(Register src, |
- Heap::RootListIndex root_value_index, |
- const char* message); |
+ // Abort execution if argument is a smi, enabled via --debug-code. |
+ void AssertNotSmi(Register object); |
+ void AssertSmi(Register object); |
+ |
+ // Abort execution if argument is not a string, enabled via --debug-code. |
+ void AssertString(Register object); |
+ |
+ // Abort execution if argument is not the root value with the given index, |
+ // enabled via --debug-code. |
+ void AssertRootValue(Register src, |
+ Heap::RootListIndex root_value_index, |
+ const char* message); |
// --------------------------------------------------------------------------- |
// HeapNumber utilities. |