From 7a591325dc4dcc66611cb90cb0f9000209d72367 Mon Sep 17 00:00:00 2001 From: slava Date: Thu, 6 Jul 2006 20:43:55 +0000 Subject: [PATCH] Bootstrap fixes --- library/compiler/alien/objc/subclassing.factor | 2 +- library/compiler/x86/objc.factor | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/library/compiler/alien/objc/subclassing.factor b/library/compiler/alien/objc/subclassing.factor index d7e1f74b3e..927984a152 100644 --- a/library/compiler/alien/objc/subclassing.factor +++ b/library/compiler/alien/objc/subclassing.factor @@ -66,7 +66,7 @@ libc math namespaces sequences strings words ; : struct-return ( ret types quot -- ret types quot ) pick c-struct? [ - pick c-size [ memcpy (pre-stret) ] curry append + pick c-size [ memcpy ] curry append >r { "void*" } swap append >r drop "void" r> r> ] when ; diff --git a/library/compiler/x86/objc.factor b/library/compiler/x86/objc.factor index 4a5ffcd53d..46e1d296aa 100644 --- a/library/compiler/x86/objc.factor +++ b/library/compiler/x86/objc.factor @@ -1,6 +1,7 @@ ! Copyright (C) 2006 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. IN: objc +USING: assembler compiler ; ! In their infinite wisdom, Apple's struct-returning Objective C ! messages do not use their own documented ABI; instead they