Index: src/a64/macro-assembler-a64.h |
diff --git a/src/a64/macro-assembler-a64.h b/src/a64/macro-assembler-a64.h |
index 651be99a6fb6657ac7f55a2659e71a83cbbea7c1..2a21a7b385242fa549144e99fe823cd9f9ca6849 100644 |
--- a/src/a64/macro-assembler-a64.h |
+++ b/src/a64/macro-assembler-a64.h |
@@ -886,6 +886,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 argument is not a string, enabled via --debug-code. |
void AssertString(Register object); |