aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohnvg2005-11-22 12:06:06 +0000
committerjohnvg2005-11-22 12:06:06 +0000
commit6d77c9f9095166fb73396d94b2bb01f4f891ba78 (patch)
treefb698021aad4699ee14b84d1a9392d50e9221a5e
parentremove unused fields im_module_info and dm_module_info (diff)
rename DeltaBId as StdBoolId, remove unused SystemFunctionsId and StdArrayAbortId
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1569 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
-rw-r--r--backendC/CleanCompilerSources/checker_2.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/backendC/CleanCompilerSources/checker_2.c b/backendC/CleanCompilerSources/checker_2.c
index 0f77374..2671ead 100644
--- a/backendC/CleanCompilerSources/checker_2.c
+++ b/backendC/CleanCompilerSources/checker_2.c
@@ -103,7 +103,7 @@ Ident AnnotatedId, ListId, TupleId, ConsId, NilId, ApplyId, SelectId,
#ifdef CLEAN2
DynamicId,
#endif
- DeltaBId, IfId, FailId, AndId, OrId,
+ StdBoolId, IfId, FailId, AndId, OrId,
StdArrayId, ArrayFunctionIds [NoArrayFun];
#if SA_RECOGNIZES_ABORT_AND_UNDEF
@@ -160,8 +160,6 @@ NodeDefs NewNodeDef (NodeId nid,Node node)
return new;
}
-static Ident SystemFunctionsId,StdArrayAbortId;
-
void InitChecker (void)
{
FreeDefs=NIL;
@@ -198,8 +196,7 @@ void InitChecker (void)
undef_id = PutStringInHashTable ("undef",SymbolIdTable);
#endif
- SystemFunctionsId = PutStringInHashTable ("StdEnum", ModuleIdTable);
- DeltaBId = PutStringInHashTable ("StdBool", ModuleIdTable);
+ StdBoolId = PutStringInHashTable ("StdBool", ModuleIdTable);
StdArrayId = PutStringInHashTable ("_SystemArray", ModuleIdTable);
#if SA_RECOGNIZES_ABORT_AND_UNDEF
@@ -207,9 +204,8 @@ void InitChecker (void)
#endif
/* Predefined Array functions */
-
- StdArrayAbortId = PutStringInHashTable ("_abortArray", SymbolIdTable);
- ArrayFunctionIds[CreateArrayFun] = PutStringInHashTable ("createArray", SymbolIdTable);
+
+ ArrayFunctionIds[CreateArrayFun] = PutStringInHashTable ("createArray", SymbolIdTable);
ArrayFunctionIds[UnqArraySelectFun] = PutStringInHashTable ("uselect", SymbolIdTable);
ArrayFunctionIds[ArrayReplaceFun] = PutStringInHashTable ("replace", SymbolIdTable);
ArrayFunctionIds[UnqArraySizeFun] = PutStringInHashTable ("usize", SymbolIdTable);