Index: src/arm64/macro-assembler-arm64.h |
diff --git a/src/arm64/macro-assembler-arm64.h b/src/arm64/macro-assembler-arm64.h |
index a050a74fcbc9311db13a74d2a363426595f21446..29d5c5c5f588ab5fc38322e2b92a92b3f0fa1406 100644 |
--- a/src/arm64/macro-assembler-arm64.h |
+++ b/src/arm64/macro-assembler-arm64.h |
@@ -959,6 +959,9 @@ 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 a JSFunction, enabled via --debug-code. |
+ void AssertFunction(Register object); |
+ |
// Abort execution if argument is not undefined or an AllocationSite, enabled |
// via --debug-code. |
void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
@@ -1690,6 +1693,9 @@ class MacroAssembler : public Assembler { |
void LoadContext(Register dst, int context_chain_length); |
+ // Load the global proxy from the current context. |
+ void LoadGlobalProxy(Register dst); |
+ |
// Emit code for a truncating division by a constant. The dividend register is |
// unchanged. Dividend and result must be different. |
void TruncatingDiv(Register result, Register dividend, int32_t divisor); |