mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
don't use x18 on arm64, where it's a reserved 'platform' register
This commit is contained in:
parent
1290fda6a8
commit
fa63bce14d
@ -237,6 +237,9 @@ class MyArchitecture : public Architecture {
|
||||
case ThreadRegister.index():
|
||||
case ProgramCounter.index():
|
||||
return true;
|
||||
case 18:
|
||||
// x18 is a reserved platform register on arm64
|
||||
return TargetBytesPerWord == 8;
|
||||
|
||||
default:
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user