Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index f1041db6b3aca2b313db6f7f001a9faf594445fe..468f4b521a8852c39eda9578845b901287da0916 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -1297,6 +1297,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); |