Index: src/x64/macro-assembler-x64.h |
=================================================================== |
--- src/x64/macro-assembler-x64.h (revision 6762) |
+++ src/x64/macro-assembler-x64.h (working copy) |
@@ -661,6 +661,9 @@ |
// Abort execution if argument is not a smi. Used in debug code. |
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, |