diff options
author | Tuncer Ayaz <[email protected]> | 2014-08-11 22:19:17 +0200 |
---|---|---|
committer | Tuncer Ayaz <[email protected]> | 2014-08-14 14:32:39 +0200 |
commit | 9cb95b757c4f40c5b1ca1f0146ca98917d3f8668 (patch) | |
tree | 268b14c1630d3a74a00e3910f6f2f11c9e68afa2 | |
parent | 05c8a2f9ba5c93985fb64a63f19ed4de22560829 (diff) | |
download | otp-9cb95b757c4f40c5b1ca1f0146ca98917d3f8668.tar.gz otp-9cb95b757c4f40c5b1ca1f0146ca98917d3f8668.tar.bz2 otp-9cb95b757c4f40c5b1ca1f0146ca98917d3f8668.zip |
compiler: finalize 18.x 'asm' deprecation
'asm' was deprecated in 18315c16, to be removed in 18.x.
-rw-r--r-- | lib/compiler/src/compile.erl | 5 | ||||
-rw-r--r-- | lib/compiler/test/compile_SUITE.erl | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/lib/compiler/src/compile.erl b/lib/compiler/src/compile.erl index c7d91070f6..f347438509 100644 --- a/lib/compiler/src/compile.erl +++ b/lib/compiler/src/compile.erl @@ -431,11 +431,6 @@ pass(from_core) -> {".core",[?pass(parse_core)|core_passes()]}; pass(from_asm) -> {".S",[?pass(beam_consult_asm)|asm_passes()]}; -pass(asm) -> - %% TODO: remove 'asm' in 18.0 - io:format("compile:file/2 option 'asm' has been deprecated and will be~n" - "removed in the 18.0 release. Use 'from_asm' instead.~n"), - pass(from_asm); pass(from_beam) -> {".beam",[?pass(read_beam_file)|binary_passes()]}; pass(_) -> none. diff --git a/lib/compiler/test/compile_SUITE.erl b/lib/compiler/test/compile_SUITE.erl index 8cb7d1b55b..128291dc67 100644 --- a/lib/compiler/test/compile_SUITE.erl +++ b/lib/compiler/test/compile_SUITE.erl @@ -365,7 +365,7 @@ listings_big(Config) when is_list(Config) -> ?line do_listing(Big, TargetDir, dkern, ".kernel"), ?line Target = filename:join(TargetDir, big), - ?line {ok,big} = compile:file(Target, [asm,{outdir,TargetDir}]), + {ok,big} = compile:file(Target, [from_asm,{outdir,TargetDir}]), %% Cleanup. ?line ok = file:delete(Target ++ ".beam"), |