From 52f0a230b7dad46db2fcf86cbec45e33e7368daf Mon Sep 17 00:00:00 2001 From: Zoltan Somogyi Date: Thu, 7 Dec 2006 06:25:43 +0000 Subject: [PATCH] Delete some code that was already "#if 0"d out. Estimated hours taken: 0.1 Branches: main runtime/mercury_bootstrap.h: Delete some code that was already "#if 0"d out. --- runtime/mercury_bootstrap.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/runtime/mercury_bootstrap.h b/runtime/mercury_bootstrap.h index a5215cb57..98288cfe9 100644 --- a/runtime/mercury_bootstrap.h +++ b/runtime/mercury_bootstrap.h @@ -76,12 +76,6 @@ typedef MR_UnsignedChar UnsignedChar; typedef MR_String String; typedef MR_ConstString ConstString; -#if 0 -#ifndef MR_HIGHLEVEL_CODE -typedef MR_Context Context; -#endif -#endif - /* ** MR_Bool is the C representation for the Mercury type bool__bool. ** For ordinary booleans, use MR_bool in mercury_std.h. @@ -367,20 +361,6 @@ typedef MR_Bool Bool; #define float_const(f) MR_float_const(f) #define hash_float(f) MR_hash_float(f) -#if 0 -/* -** All the places that use these macros -** should have been updated to use the new forms. -*/ -#define LVALUE_CAST(type, lval) MR_LVALUE_CAST((type), (lval)) -#define LVALUE_SEQ(expr, lval) MR_LVALUE_SEQ((expr), (lval)) -#define LVALUE_COND(expr, x, y) MR_LVALUE_COND((expr), (x), (y)) - -#define count_usage(num, reg) MR_count_usage((num), (reg)) -#define saved_reg(save_area, n) MR_saved_reg((save_area), (n)) -#define virtual_reg(n) MR_virtual_reg((n)) -#endif - /*---------------------------------------------------------------------------*/ #define MR_TypeCtorInfo_struct MR_TypeCtorInfo_Struct