Skip to content

Commit

Permalink
fix local strings causing segfault in linux86
Browse files Browse the repository at this point in the history
  • Loading branch information
MESYETI committed Apr 14, 2024
1 parent 3b3e9a3 commit 460bcbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/backends/linux86.d
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ class BackendLinux86 : CompilerBackend {
variables ~= var;

// now push metadata
output ~= "mov [r15 + 4], rsp\n";
output ~= "mov [r15 + 16], rsp\n";
}

output ~= "add r15, 24\n";
Expand Down

0 comments on commit 460bcbb

Please sign in to comment.