mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user