mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +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 ThreadRegister.index():
|
||||||
case ProgramCounter.index():
|
case ProgramCounter.index():
|
||||||
return true;
|
return true;
|
||||||
|
case 18:
|
||||||
|
// x18 is a reserved platform register on arm64
|
||||||
|
return TargetBytesPerWord == 8;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user