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

Commit

Permalink
Merge pull request #10260 from sdmaclea/PR-ARM64-REMOVE-X19-WORKAROUND
Browse files Browse the repository at this point in the history
[Arm64/Unix] Remove x19 corruption workaround
  • Loading branch information
Rahul Kumar committed Mar 17, 2017
2 parents 008aacc + c479cc7 commit f716e45
Showing 1 changed file with 1 addition and 4 deletions.
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

0 comments on commit f716e45

Please sign in to comment.