Use DISABLE_HISTORY instead of COMPILE_HISTORY.
authorChris Hanson <org/chris-hanson/cph>
Wed, 14 Nov 1990 10:59:26 +0000 (10:59 +0000)
committerChris Hanson <org/chris-hanson/cph>
Wed, 14 Nov 1990 10:59:26 +0000 (10:59 +0000)
v7/src/microcode/history.h
v7/src/microcode/hooks.c
v7/src/microcode/unxutl/cf-dist.h

index 1401b0bb364ddbef8b3b9e96f3c7223411dffc32..4ec285f096ab281af0990cf2097d1be05123974d 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/history.h,v 9.26 1990/06/20 17:40:53 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/history.h,v 9.27 1990/11/14 10:57:45 cph Rel $
 
 Copyright (c) 1987, 1988, 1989, 1990 Massachusetts Institute of Technology
 
@@ -84,7 +84,7 @@ MIT in each case. */
 \f
 /* History manipulation in the interpreter. */
 
-#ifdef COMPILE_HISTORY
+#ifndef DISABLE_HISTORY
 
 #define New_Subproblem(expression, environment)                                \
 {                                                                      \
@@ -124,18 +124,18 @@ MIT in each case. */
   History = (OBJECT_ADDRESS (History [HIST_PREV_SUBPROBLEM]));         \
 }
 
-#else /* not COMPILE_HISTORY */
+#else /* DISABLE_HISTORY */
 
 #define New_Subproblem(Expr, Env) {}
 #define Reuse_Subproblem(Expr, Env) {}
 #define New_Reduction(Expr, Env) {}
 #define End_Subproblem() {}
 
-#endif /* COMPILE_HISTORY */
+#endif /* DISABLE_HISTORY */
 \f
 /* History manipulation for the compiled code interface. */
 
-#ifdef COMPILE_HISTORY
+#ifndef DISABLE_HISTORY
 
 #define Compiler_New_Reduction()                                       \
 {                                                                      \
@@ -153,10 +153,10 @@ MIT in each case. */
 
 #define Compiler_End_Subproblem End_Subproblem
 
-#else /* not COMPILE_HISTORY */
+#else /* DISABLE_HISTORY */
 
 #define Compiler_New_Reduction()
 #define Compiler_New_Subproblem()
 #define Compiler_End_Subproblem()
 
-#endif /* COMPILE_HISTORY */
+#endif /* DISABLE_HISTORY */
index 8a2810e54dd4651783f6138ef27a7103d4796e99..ee87b0a72d7bac0eac5e2a43f5257609601daaf4 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/hooks.c,v 9.40 1990/11/13 08:44:43 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/hooks.c,v 9.41 1990/11/14 10:57:22 cph Rel $
 
 Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
 
@@ -609,7 +609,7 @@ DEFINE_PRIMITIVE ("SET-CURRENT-HISTORY!", Prim_set_current_history, 1, 1, 0)
   PRIMITIVE_CANONICALIZE_CONTEXT ();
   CHECK_ARG (1, HUNK3_P);
   Val = (*History);
-#ifdef COMPILE_HISTORY
+#ifndef DISABLE_HISTORY
   History = (OBJECT_ADDRESS (ARG_REF (1)));
 #else
   History = (OBJECT_ADDRESS (Get_Fixed_Obj_Slot (Dummy_History)));
index 32c422af9d39a283efa132351c8ac041209c739b..c1545dc25ff032ce131454dd10d5bbecc0a2c82c 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/unxutl/Attic/cf-dist.h,v 1.11 1990/06/20 20:00:27 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/unxutl/Attic/cf-dist.h,v 1.12 1990/11/14 10:59:26 cph Exp $
 
 Copyright (c) 1989, 1990 Massachusetts Institute of Technology
 
@@ -66,16 +66,9 @@ MIT in each case. */
 /* #define HAVE_STARBASE_GRAPHICS */
 /* #define STARBASE_DEVICE_DRIVERS -ldd300h -ldd98700 -ldd98710 -ldd98556 */
 
-/* Some useful compilation options:
-   -DCOMPILE_HISTORY           turns on history recording mechanism
-   -DENABLE_DEBUGGING_TOOLS    turns on microcode debugging tools
-   -DUSE_STACKLETS             selects heap-allocated stack
-   -DCOMPILE_FUTURES           turns on parallel processing features
-   -DFUTURE_LOGGING            ???
-   -DCOMPILE_STEPPER           enables single-stepper (currently broken)
-   */
-
-#define C_SWITCH_FEATURES -DCOMPILE_HISTORY
+/* Some compilation options:
+   -DDISABLE_HISTORY           turns off history recording mechanism */
+#define C_SWITCH_FEATURES
 
 /* The following two switches are mutually exclusive for most C compilers.
    An exception is the GNU C compiler. */