aboutsummaryrefslogtreecommitdiff
path: root/lib/alloca86-bt.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/alloca86-bt.S')
-rw-r--r--lib/alloca86-bt.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/alloca86-bt.S b/lib/alloca86-bt.S
index ffad515..ff07bbb 100644
--- a/lib/alloca86-bt.S
+++ b/lib/alloca86-bt.S
@@ -14,10 +14,10 @@ __bound_alloca:
#ifdef TCC_TARGET_PE
p4:
cmp $4096,%eax
- jle p5
+ jb p5
+ test %eax,-4096(%esp)
sub $4096,%esp
sub $4096,%eax
- test %eax,(%esp)
jmp p4
p5: