diff --git a/source/backends/arm64.d b/source/backends/arm64.d index a36c5f7..e3b3ef5 100644 --- a/source/backends/arm64.d +++ b/source/backends/arm64.d @@ -586,7 +586,7 @@ class BackendARM64 : CompilerBackend { if (node.inline) { if (node.errors) { LoadAddress("x9", "__global_" ~ Sanitise("_cal_exception")); - output ~= "ldr x10, #0\n"; + output ~= "mov x10, #0\n"; output ~= "str x10, [x9]\n"; } @@ -615,7 +615,7 @@ class BackendARM64 : CompilerBackend { if (node.errors) { LoadAddress("x9", "__global_" ~ Sanitise("_cal_exception")); - output ~= "ldr x10, #0\n"; + output ~= "mov x10, #0\n"; output ~= "str x10, [x9]\n"; }