From 45256988593b21e626704b7ae768cfb523ac52c3 Mon Sep 17 00:00:00 2001 From: slava Date: Thu, 9 Nov 2006 06:27:26 +0000 Subject: [PATCH] Fix stack effect decl in x86/allot --- TODO.FACTOR.txt | 4 +--- library/compiler/x86/allot.factor | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/TODO.FACTOR.txt b/TODO.FACTOR.txt index 0c0b64d2b0..78e2bab11d 100644 --- a/TODO.FACTOR.txt +++ b/TODO.FACTOR.txt @@ -3,9 +3,7 @@ - sometimes fep when closing window - x86: load-allot-ptr doesn't have a stack effect? why? - mov 0x0(%esi),%ecx why? -- mac intel: perhaps its not a good idea using ebx as allot-tmp-reg -- %allot-bignum-signed-2 still has issues on ppc -- fix %allot-bignum-signed-1/2 on x86 +- %allot-bignum-signed-2 is broken on both platforms + ui: diff --git a/library/compiler/x86/allot.factor b/library/compiler/x86/allot.factor index 7a37b783b2..1077ff9a10 100644 --- a/library/compiler/x86/allot.factor +++ b/library/compiler/x86/allot.factor @@ -3,7 +3,7 @@ IN: compiler USING: kernel assembler kernel-internals namespaces math ; -: load-zone-ptr ( reg -- ) +: load-zone-ptr ( -- ) #! Load pointer to start of zone array allot-tmp-reg 0 MOV "generations" f rel-absolute-cell rel-dlsym