Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit fa58105

Browse files
committedJan 16, 2022
Ensure arm64 frame sizes are 8 (mod 16)
Fixes #63
1 parent 544b418 commit fa58105

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎encode_arm64.s

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
// The unusual register allocation of local variables, such as R10 for the
2828
// source pointer, matches the allocation used at the call site in encodeBlock,
2929
// which makes it easier to manually inline this function.
30-
TEXT ·emitLiteral(SB), NOSPLIT, $32-56
30+
TEXT ·emitLiteral(SB), NOSPLIT, $40-56
3131
MOVD dst_base+0(FP), R8
3232
MOVD lit_base+24(FP), R10
3333
MOVD lit_len+32(FP), R3
@@ -261,7 +261,7 @@ extendMatchEnd:
261261
// "var table [maxTableSize]uint16" takes up 32768 bytes of stack space. An
262262
// extra 64 bytes, to call other functions, and an extra 64 bytes, to spill
263263
// local variables (registers) during calls gives 32768 + 64 + 64 = 32896.
264-
TEXT ·encodeBlock(SB), 0, $32896-56
264+
TEXT ·encodeBlock(SB), 0, $32904-56
265265
MOVD dst_base+0(FP), R8
266266
MOVD src_base+24(FP), R7
267267
MOVD src_len+32(FP), R14

0 commit comments

Comments
 (0)
This repository has been archived.