Index: src/arm64/macro-assembler-arm64.h |
diff --git a/src/arm64/macro-assembler-arm64.h b/src/arm64/macro-assembler-arm64.h |
index fdb0490cdecdcc8a2060c2bb761c8a8ca26d5f4a..d3a7a3d69664fb132319fa6f3cd5153b5c54861e 100644 |
--- a/src/arm64/macro-assembler-arm64.h |
+++ b/src/arm64/macro-assembler-arm64.h |
@@ -1789,6 +1789,11 @@ class MacroAssembler : public Assembler { |
pointers_to_here_check_for_value); |
} |
+ // Notify the garbage collector that we wrote a code entry into a |
+ // JSFunction. Only scratch is clobbered by the operation. |
+ void RecordWriteCodeEntryField(Register js_function, Register code_entry, |
+ Register scratch); |
+ |
void RecordWriteForMap( |
Register object, |
Register map, |