Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index cba52638ce96c36f78f98709111028c5d52dc15b..b80f96a4581478bb754a40f9136a66452a336724 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -1290,6 +1290,10 @@ class MacroAssembler: public Assembler { |
// Abort execution if argument is not a name, enabled via --debug-code. |
void AssertName(Register object); |
+ // Abort execution if argument is not undefined or an AllocationSite, enabled |
+ // via --debug-code. |
+ void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
+ |
// Abort execution if reg is not the root value with the given index, |
// enabled via --debug-code. |
void AssertIsRoot(Register reg, Heap::RootListIndex index); |