diff options
author | Björn Gustavsson <[email protected]> | 2011-02-24 15:03:55 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-08-18 10:00:28 +0200 |
commit | d12294aea905b4bc188c1e1c84f0ec7c2284faa7 (patch) | |
tree | e35b50fe3679f718ffed3d26b42a05b4abe2e70a /lib/compiler/src/compile.erl | |
parent | b44bff9cc71b2413d2e594ff7e207605bda6148e (diff) | |
download | otp-d12294aea905b4bc188c1e1c84f0ec7c2284faa7.tar.gz otp-d12294aea905b4bc188c1e1c84f0ec7c2284faa7.tar.bz2 otp-d12294aea905b4bc188c1e1c84f0ec7c2284faa7.zip |
compiler: Add no_line_info for suppressing line/1 instructions
Also update the r12 and r13 options so that they imply no_line_info.
Diffstat (limited to 'lib/compiler/src/compile.erl')
-rw-r--r-- | lib/compiler/src/compile.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler/src/compile.erl b/lib/compiler/src/compile.erl index ee7c87fced..29c7ec0dcd 100644 --- a/lib/compiler/src/compile.erl +++ b/lib/compiler/src/compile.erl @@ -171,9 +171,9 @@ expand_opt(report, Os) -> expand_opt(return, Os) -> [return_errors,return_warnings|Os]; expand_opt(r12, Os) -> - [no_recv_opt|Os]; + [no_recv_opt,no_line_info|Os]; expand_opt(r13, Os) -> - [no_recv_opt|Os]; + [no_recv_opt,no_line_info|Os]; expand_opt({debug_info_key,_}=O, Os) -> [encrypt_debug_info,O|Os]; expand_opt(no_float_opt, Os) -> |