aboutsummaryrefslogtreecommitdiff
path: root/backendC
diff options
context:
space:
mode:
authorjohnvg2005-10-06 10:19:26 +0000
committerjohnvg2005-10-06 10:19:26 +0000
commitc91e59f61219e719d574944b3153bc6b48c89bbe (patch)
treef9cce53dd200637cae83647f5e7fbb2842e3d112 /backendC
parentgenerate .a directive for constructors (diff)
#define NEW_APPLY for IA32,
remove #defines for UNBOXED_CLOSURES and U_RECORD_SELECTORS git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1547 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'backendC')
-rw-r--r--backendC/CleanCompilerSources/compiledefines.h4
-rw-r--r--backendC/CleanCompilerSources/system.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/backendC/CleanCompilerSources/compiledefines.h b/backendC/CleanCompilerSources/compiledefines.h
index 38639dd..05d5600 100644
--- a/backendC/CleanCompilerSources/compiledefines.h
+++ b/backendC/CleanCompilerSources/compiledefines.h
@@ -2,13 +2,11 @@
#define CLEAN2 1
#define SHORT_CLASS_NAMES
-#define U_RECORD_SELECTORS 1
#define REMOVE_UNUSED_FUNCTIONS
#define OPTIMISE_STRICT_RHS_SELECTORS
#define STORE_STRICT_CALL_NODES 1
-#define UNBOXED_CLOSURES 1
#undef OBSERVE_ARRAY_SELECTS_IN_PATTERN
#define ABSTRACT_OBJECT 1 /* bug fix */
@@ -23,6 +21,4 @@
#define STRICT_LISTS 1
#define BOXED_RECORDS 1
-#undef NEW_APPLY
-
#define KARBON
diff --git a/backendC/CleanCompilerSources/system.h b/backendC/CleanCompilerSources/system.h
index 02c3b67..38e98d5 100644
--- a/backendC/CleanCompilerSources/system.h
+++ b/backendC/CleanCompilerSources/system.h
@@ -18,6 +18,10 @@
#define _DEBUG_
+#if ! (defined (_MAC_) || defined (_SUN_))
+# define NEW_APPLY
+#endif
+
#if defined (_MAC_)
# include "mac.h"
#elif defined (_SUN_)