Skip to content

Commit

Permalink
Fix errors on arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
soxfox42 committed Nov 15, 2024
1 parent 1460a16 commit f9d5037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/backends/arm64.d
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}

Expand Down Expand Up @@ -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";
}

Expand Down

0 comments on commit f9d5037

Please sign in to comment.