Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index c8a6a945279ef74981b3c37632a0f792dcb2d39f..3db1d90cefa07d2a82d9d4c45e9a3a13f5063932 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -1201,17 +1201,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 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 |