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.
This commit is contained in:
Julien Fischer
2016-04-14 16:26:47 +10:00
parent 7ff96f8454
commit 5c91099f0b
3 changed files with 7 additions and 39 deletions

View File

@@ -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
;;

View File

@@ -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 <directory>
--mercury-stdlib-dir <directory>:
@@ -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 ;;

View File

@@ -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