[Vm-dev] [commit][2907] [ppc32|ia32]abicc.c: Don'
t define BytesPerOop or BaseHeaderSize.
commits at squeakvm.org
commits at squeakvm.org
Mon Apr 28 23:40:49 UTC 2014
Revision: 2907
Author: eliot
Date: 2014-04-28 16:40:49 -0700 (Mon, 28 Apr 2014)
Log Message:
-----------
[ppc32|ia32]abicc.c: Don't define BytesPerOop or BaseHeaderSize. These should be
taken from interp.h.
Modified Paths:
--------------
trunk/platforms/Cross/plugins/IA32ABI/ia32abicc.c
trunk/platforms/Cross/plugins/IA32ABI/ppc32abicc.c
Modified: trunk/platforms/Cross/plugins/IA32ABI/ia32abicc.c
===================================================================
--- trunk/platforms/Cross/plugins/IA32ABI/ia32abicc.c 2014-04-28 23:39:31 UTC (rev 2906)
+++ trunk/platforms/Cross/plugins/IA32ABI/ia32abicc.c 2014-04-28 23:40:49 UTC (rev 2907)
@@ -44,18 +44,6 @@
#endif
struct VirtualMachine* interpreterProxy;
-#if defined(SQ_IMAGE32)
-# define BytesPerOop 4
-#elif defined(SQ_IMAGE64)
-# define BytesPerOop 8
-#else
-# error cannot determine image word size/object header size
-#endif
-
-#if !defined(BaseHeaderSize)
-# define BaseHeaderSize BytesPerOop
-#endif
-
#ifdef _MSC_VER
# define alloca _alloca
#endif
Modified: trunk/platforms/Cross/plugins/IA32ABI/ppc32abicc.c
===================================================================
--- trunk/platforms/Cross/plugins/IA32ABI/ppc32abicc.c 2014-04-28 23:39:31 UTC (rev 2906)
+++ trunk/platforms/Cross/plugins/IA32ABI/ppc32abicc.c 2014-04-28 23:40:49 UTC (rev 2907)
@@ -85,16 +85,6 @@
#endif
struct VirtualMachine* interpreterProxy;
-#if defined(SQ_IMAGE32)
-# define BytesPerOop 4
-#elif defined(SQ_IMAGE64)
-# define BytesPerOop 8
-#else
-# error cannot determine image word size/object header size
-#endif
-
-#define BaseHeaderSize BytesPerOop
-
#ifdef _MSC_VER
# define alloca _alloca
#endif
@@ -331,4 +321,4 @@
#endif
return mem;
}
-#endif
\ No newline at end of file
+#endif
More information about the Vm-dev
mailing list