Index: src/arm64/macro-assembler-arm64.h |
diff --git a/src/arm64/macro-assembler-arm64.h b/src/arm64/macro-assembler-arm64.h |
index 7b5bb5a80f01b31ddfe72f2325c46918f162ad89..ff41c4f27fce4a258d4db0ac9e5aac9baaabc8f5 100644 |
--- a/src/arm64/macro-assembler-arm64.h |
+++ b/src/arm64/macro-assembler-arm64.h |
@@ -970,6 +970,9 @@ class MacroAssembler : public Assembler { |
// enabled via --debug-code. |
void AssertBoundFunction(Register object); |
+ // Abort execution if argument is not a JSReceiver, enabled via --debug-code. |
+ void AssertReceiver(Register object); |
+ |
// Abort execution if argument is not undefined or an AllocationSite, enabled |
// via --debug-code. |
void AssertUndefinedOrAllocationSite(Register object, Register scratch); |