aboutsummaryrefslogtreecommitdiff
path: root/backendC/CleanCompilerSources/backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'backendC/CleanCompilerSources/backend.c')
-rw-r--r--backendC/CleanCompilerSources/backend.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/backendC/CleanCompilerSources/backend.c b/backendC/CleanCompilerSources/backend.c
index b7a7785..7915fd3 100644
--- a/backendC/CleanCompilerSources/backend.c
+++ b/backendC/CleanCompilerSources/backend.c
@@ -2647,17 +2647,10 @@ BEInit (int argc)
{
Assert (!gBEState.be_initialised);
- CheckBEEnumTypes ();
-
CurrentPhase = "Back End";
CurrentModule = "<unknown module>";
CurrentExt = "";
- gBEState.be_argv = ConvertAlloc ((argc+1) * sizeof (char *));
- gBEState.be_argv [argc] = NULL;
- gBEState.be_argc = argc;
- gBEState.be_argi = 0;
-
InitStorage ();
/* +++ remove symbol table from backend */
ScanInitIdentStringTable ();
@@ -2685,6 +2678,13 @@ BEInit (int argc)
InitCoding ();
InitInstructions ();
+ CheckBEEnumTypes ();
+
+ gBEState.be_argv = ConvertAlloc ((argc+1) * sizeof (char *));
+ gBEState.be_argv [argc] = NULL;
+ gBEState.be_argc = argc;
+ gBEState.be_argi = 0;
+
gBEState.be_modules = NULL;
gBEState.be_allSymbols = NULL;
gBEState.be_dontCareSymbol = NULL;