Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index 4d469f0548ba2cf5c53ff6f3a96dee4bcbbc59af..b4192294b03320d19d10772f6441db8a87bf68ab 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -583,6 +583,10 @@ class MacroAssembler: public Assembler { |
Register scratch, |
Label* fail); |
+ void IsObjectNameType(Register object, |
+ Register scratch, |
+ Label* fail); |
+ |
#ifdef ENABLE_DEBUGGER_SUPPORT |
// --------------------------------------------------------------------------- |
// Debugger Support |
@@ -1226,9 +1230,12 @@ class MacroAssembler: public Assembler { |
void AssertNotSmi(Register object); |
void AssertSmi(Register object); |
- // Abort execution if argument is a string, enabled via --debug-code. |
+ // Abort execution if argument is not a string, enabled via --debug-code. |
void AssertString(Register object); |
+ // Abort execution if argument is not a name, enabled via --debug-code. |
+ void AssertName(Register object); |
+ |
// Abort execution if argument is not the root value with the given index, |
// enabled via --debug-code. |
void AssertRootValue(Register src, |