commit 934b170d6769d1f632d3cf0ee314fb9e1249840a (tree)
parent c10a2d7649c4c73c0235cac64bdd3e98ff93b8c6
Author: Andrew Kelley <andrew@ziglang.org>
Date: Tue, 2 Mar 2021 15:03:19 -0700
Revert "update i386 assembly to satisify llvm12"
This reverts commit 6af6c3c9791b655b3adca08749baf89404b081ae.
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/std/special/c.zig b/lib/std/special/c.zig
@@ -325,7 +325,7 @@ fn clone() callconv(.Naked) void {
\\ pop %%esi
\\ pop %%ebx
\\ pop %%ebp
- \\ retw
+ \\ ret
);
},
.x86_64 => {
diff --git a/lib/std/special/compiler_rt/stack_probe.zig b/lib/std/special/compiler_rt/stack_probe.zig
@@ -53,7 +53,7 @@ pub fn zig_probe_stack() callconv(.Naked) void {
\\ orl $0,8(%%esp)
\\ add %%eax,%%esp
\\ pop %%ecx
- \\ retw
+ \\ ret
);
},
else => {},