From 2305117c213aa47cfaa80dd62f29df85cb4221fe Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Sat, 13 Sep 2008 20:40:54 -0500 Subject: [PATCH] Fix PPC bootstrap --- basis/cpu/ppc/architecture/architecture.factor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basis/cpu/ppc/architecture/architecture.factor b/basis/cpu/ppc/architecture/architecture.factor index 38ffe50bd6..80ee1802e1 100755 --- a/basis/cpu/ppc/architecture/architecture.factor +++ b/basis/cpu/ppc/architecture/architecture.factor @@ -198,9 +198,9 @@ M: ppc %unbox-long-long ( n func -- ) M: ppc %unbox-large-struct ( n c-type -- ) ! Value must be in r3 ! Compute destination address - 4 1 roll heap-size local@ ADDI + 4 1 roll local@ ADDI ! Load struct size - 5 LI + heap-size 5 LI ! Call the function "to_value_struct" f %alien-invoke ;