From 3914576d251968765d0339d69dc47e7f91c3eece Mon Sep 17 00:00:00 2001 From: Slava Date: Wed, 3 Oct 2007 18:54:01 -0400 Subject: [PATCH] x86 compiler backend fix for inline allocators --- core/cpu/x86/architecture/architecture.factor | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/cpu/x86/architecture/architecture.factor b/core/cpu/x86/architecture/architecture.factor index b37c338ed5..f3217af670 100644 --- a/core/cpu/x86/architecture/architecture.factor +++ b/core/cpu/x86/architecture/architecture.factor @@ -186,7 +186,9 @@ M: x86-backend %unbox-any-c-ptr ( dst src -- ) { "is-byte-array" "end" "start" } [ define-label ] each ! Address is computed in ds-reg ds-reg PUSH + ds-reg 0 MOV ! Object is stored in ds-reg + rs-reg PUSH rs-reg swap v>operand MOV ! We come back here with displaced aliens "start" resolve-label