update i386 assembly to satisify llvm12

Without this, LLVM 12 says:
error: ambiguous instructions require an explicit suffix (could be
'retw', or 'retl')
This commit is contained in:
Andrew Kelley
2021-02-28 21:59:45 -07:00
parent 4b1fe8e492
commit 6af6c3c979
2 changed files with 2 additions and 2 deletions

View File

@@ -325,7 +325,7 @@ fn clone() callconv(.Naked) void {
\\ pop %%esi
\\ pop %%ebx
\\ pop %%ebp
\\ ret
\\ retw
);
},
.x86_64 => {

View File

@@ -53,7 +53,7 @@ pub fn zig_probe_stack() callconv(.Naked) void {
\\ orl $0,8(%%esp)
\\ add %%eax,%%esp
\\ pop %%ecx
\\ ret
\\ retw
);
},
else => {},