Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index c1c1b0474fa025dc0d3f5040b98f063f024f5833..9c0b7964b3441f4c575989ee4aae10bcf7ba9965 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -1216,6 +1216,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); |