From 5c91099f0baa02d7ebe4198a391cf5c2e37b7ccb Mon Sep 17 00:00:00 2001 From: Julien Fischer Date: Thu, 14 Apr 2016 16:26:47 +1000 Subject: [PATCH] Delete left over references to the IL backend. scripts/final_grade_options.sh-subr: scripts/mmake.in: scripts/parse_grade_options.sh-subr: As above. --- scripts/final_grade_options.sh-subr | 14 +++++++------- scripts/mmake.in | 9 --------- scripts/parse_grade_options.sh-subr | 23 ----------------------- 3 files changed, 7 insertions(+), 39 deletions(-) diff --git a/scripts/final_grade_options.sh-subr b/scripts/final_grade_options.sh-subr index 261db36de..3c875fc1b 100644 --- a/scripts/final_grade_options.sh-subr +++ b/scripts/final_grade_options.sh-subr @@ -85,7 +85,7 @@ esac # The none-C backends do not support single-precision floats, time profiling or # memory profiling. # -case $target in il|csharp|java|erlang) +case $target in csharp|java|erlang) case $single_prec_float in true) echo "--single-prec-float and --target $target are not compatible" 1>&2 exit 1 ;; @@ -108,26 +108,26 @@ case $decl_debug in true) esac # -# --target IL, C#, Java, Erlang implies --high-level-code +# --target C#, Java, Erlang implies --high-level-code # -case $target in il|csharp|java|erlang) +case $target in csharp|java|erlang) highlevel_code=true ;; esac # -# --target IL, C#, Java, Erlang implies --high-level-data +# --target C#, Java, Erlang implies --high-level-data # -case $target in il|csharp|java|erlang) +case $target in csharp|java|erlang) highlevel_data=true ;; esac # -# --target IL, C#, Java, Erlang implies --gc automatic. +# --target C#, Java, Erlang implies --gc automatic. # NOTE: the .par grade component is meaningless for the non-C backends, # so we set it to false if they are being used. This avoids having to # deal with grades like "java.par". # -case $target in il|csharp|java|erlang) +case $target in csharp|java|erlang) gc_method=automatic thread_safe=false ;; diff --git a/scripts/mmake.in b/scripts/mmake.in index 009732660..0fdfc9142 100644 --- a/scripts/mmake.in +++ b/scripts/mmake.in @@ -30,10 +30,6 @@ Options: --target c: Compile via C, rather than going directly to assembler. This is the default." - # XXX `--target il' is not documented because it is not yet - # supported. - #--target il: - # Compile via IL, rather than going via C or assembler. Help="$Help --mercury-standard-library-directory --mercury-stdlib-dir : @@ -118,11 +114,6 @@ while [ $# -gt 0 ]; do --target) case "$2" in c) ;; - il) # XXX we should do something - # sensible for `--target il' - echo "$0: warning: \`--target il'" \ - "option not supported." 1>&2 - ;; *) echo "$0: invalid argument to" \ "\`--target' option" 1>&2 exit 1 ;; diff --git a/scripts/parse_grade_options.sh-subr b/scripts/parse_grade_options.sh-subr index fa042b0ee..152aeb090 100644 --- a/scripts/parse_grade_options.sh-subr +++ b/scripts/parse_grade_options.sh-subr @@ -26,8 +26,6 @@ case "$1" in c|C) target=c ;; - il|IL) - target=il ;; csharp|'C#') target=csharp ;; java|Java) @@ -41,9 +39,6 @@ esac ;; - --il|--IL|--il-only|--IL-only) - target=il ;; - --csharp|'--C#'|--csharp-only|'--C#-only') target=csharp ;; @@ -274,24 +269,6 @@ for grade_piece in $grade_pieces do case "$grade_piece" in - il) - target=il - asm_labels=false - non_local_gotos=false - global_regs=false - highlevel_code=true - gcc_nested_functions=false - highlevel_data=true - ;; - ilc) - target=il - asm_labels=false - non_local_gotos=false - global_regs=false - highlevel_code=true - gcc_nested_functions=false - highlevel_data=false - ;; csharp) target=csharp asm_labels=false