Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

[Arm64/Unix] Remove x19 corruption workaround #10260

Merged
merged 1 commit into from
Mar 17, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions src/vm/arm64/calldescrworkerarm64.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@

NESTED_ENTRY CallDescrWorkerInternal, _TEXT, NoHandler
PROLOG_SAVE_REG_PAIR_INDEXED fp, lr, -32
PROLOG_SAVE_REG x19, 16
PROLOG_SAVE_REG x0, 24
PROLOG_SAVE_REG x19, 16 //the stack slot at sp+24 is empty for 16 byte alligment

mov x19, x0 // save pCallDescrData in x19

Expand Down Expand Up @@ -69,8 +68,6 @@ LOCAL_LABEL(NoFloatingPoint):
ldr x9, [x19,#CallDescrData__pTarget]
blr x9

ldr x19, [fp, 24] // Fixup corrupted X19 caller preserved register

ldr w3, [x19,#CallDescrData__fpReturnSize]

// Int return case
Expand Down