aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/compiler-rt/lib/builtins/i386/chkstk.S
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/compiler-rt/lib/builtins/i386/chkstk.S')
-rw-r--r--contrib/llvm-project/compiler-rt/lib/builtins/i386/chkstk.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/contrib/llvm-project/compiler-rt/lib/builtins/i386/chkstk.S b/contrib/llvm-project/compiler-rt/lib/builtins/i386/chkstk.S
index a84bb0ee3007..cdd9a4c2a575 100644
--- a/contrib/llvm-project/compiler-rt/lib/builtins/i386/chkstk.S
+++ b/contrib/llvm-project/compiler-rt/lib/builtins/i386/chkstk.S
@@ -14,7 +14,6 @@
.text
.balign 4
DEFINE_COMPILERRT_FUNCTION(_alloca) // _chkstk and _alloca are the same function
-DEFINE_COMPILERRT_FUNCTION(_chkstk)
push %ecx
cmp $0x1000,%eax
lea 8(%esp),%ecx // esp before calling this routine -> ecx
@@ -35,7 +34,6 @@ DEFINE_COMPILERRT_FUNCTION(_chkstk)
push (%eax) // push return address onto the stack
sub %esp,%eax // restore the original value in eax
ret
-END_COMPILERRT_FUNCTION(_chkstk)
END_COMPILERRT_FUNCTION(_alloca)
#endif // __i386__