Skip to content

Commit

Permalink
Merge pull request #31 from soxfox42/arm64-error-fix
Browse files Browse the repository at this point in the history
Fix errors on arm64
  • Loading branch information
yeti0904 authored Nov 16, 2024
2 parents 1460a16 + f9d5037 commit 0ff6d9c
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 0ff6d9c

Please sign in to comment.