Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index 092acc027866c2fe4945590d30557a0ee991b19f..69fa38eff046608b6eca086a46ed1a903d6b1eda 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, |