Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index c22056fb794699108d9adf6c20cb34aca6297dcb..f484a288c94e4f8c4f3becbbee662810b53f4a31 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -1432,6 +1432,10 @@ const Operand& rt = Operand(zero_reg), BranchDelaySlot bd = PROTECT |
// 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); |