diff options
author | johnvg | 2016-06-10 09:13:10 +0000 |
---|---|---|
committer | johnvg | 2016-06-10 09:13:10 +0000 |
commit | 84e847052015ea9234853575dbadaa27bc8b0de4 (patch) | |
tree | 76faff461104399f549e23604b0e50214bd808fd /backendC/CleanCompilerSources/instructions.c | |
parent | set FI_HasTypeCodes in fi_properties if a function contains type codes and (diff) |
add a bit in the .comp directive indicating whether -dynamics was passed
(to make it possible for the IDE to recompile if necessary)
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2728 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'backendC/CleanCompilerSources/instructions.c')
-rw-r--r-- | backendC/CleanCompilerSources/instructions.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/backendC/CleanCompilerSources/instructions.c b/backendC/CleanCompilerSources/instructions.c index 3749dc8..62d0a6a 100644 --- a/backendC/CleanCompilerSources/instructions.c +++ b/backendC/CleanCompilerSources/instructions.c @@ -54,9 +54,10 @@ static void error_in_function (char *m) #define N_System 8 #define N_DoFusion 9 #define N_Do64BitArch 10 +#define N_Dynamics 11 #define MINIMUM_N_OPTIONS 9 -#define N_OPTIONS 11 +#define N_OPTIONS 12 static void ConvertOptionsToString (char *optstring) { @@ -78,9 +79,10 @@ static void ConvertOptionsToString (char *optstring) optstring[N_DoWarning] = DoWarning ? '1' : '0'; optstring[N_System] = '0'; - if (DoFusion || ObjectSizes[RealObj]!=2){ + if (DoFusion || ObjectSizes[RealObj]!=2 || Dynamics){ optstring[N_DoFusion] = DoFusion ? '1' : '0'; optstring[N_Do64BitArch] = ObjectSizes[RealObj]!=2 ? '1' : '0'; + optstring[N_Dynamics] = Dynamics ? '1' : '0'; optstring[N_OPTIONS]='\0'; } else optstring[MINIMUM_N_OPTIONS]='\0'; |