Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index c72f0db2f2b08639905b2453934608ba75637dbf..90d9f52850eb5b0c35dc41982dae02736c593f9f 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -1047,6 +1047,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); |
+ |
// Abort execution if argument is not the root value with the given index, |
// enabled via --debug-code. |
void AssertRootValue(Register src, |