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:
@@ -325,7 +325,7 @@ fn clone() callconv(.Naked) void {
|
||||
\\ pop %%esi
|
||||
\\ pop %%ebx
|
||||
\\ pop %%ebp
|
||||
\\ ret
|
||||
\\ retw
|
||||
);
|
||||
},
|
||||
.x86_64 => {
|
||||
|
||||
@@ -53,7 +53,7 @@ pub fn zig_probe_stack() callconv(.Naked) void {
|
||||
\\ orl $0,8(%%esp)
|
||||
\\ add %%eax,%%esp
|
||||
\\ pop %%ecx
|
||||
\\ ret
|
||||
\\ retw
|
||||
);
|
||||
},
|
||||
else => {},
|
||||
|
||||
Reference in New Issue
Block a user