Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-compiler-and-rts
compiler
Commits
c3911982
Commit
c3911982
authored
Nov 22, 2005
by
John van Groningen
Browse files
rename DeltaBId as StdBoolId, remove unused SystemFunctionsId and StdArrayAbortId
parent
28d8182b
Changes
1
Hide whitespace changes
Inline
Side-by-side
backendC/CleanCompilerSources/checker_2.c
View file @
c3911982
...
...
@@ -103,7 +103,7 @@ Ident AnnotatedId, ListId, TupleId, ConsId, NilId, ApplyId, SelectId,
#ifdef CLEAN2
DynamicId
,
#endif
DeltaB
Id
,
IfId
,
FailId
,
AndId
,
OrId
,
StdBool
Id
,
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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment