diff options
author | Björn Gustavsson <[email protected]> | 2016-04-25 08:30:49 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-04-25 08:30:49 +0200 |
commit | 6c181a5f4beb88b4bb6fe0b316cbc68b1792ec56 (patch) | |
tree | 93ce84559fcd1c9e44d82a183b02b4826b43ea7d /lib/compiler/src/beam_asm.erl | |
parent | bac22c4f6218900a029baf39bc6419c9cea7aa9d (diff) | |
parent | 6aeb1b0ace48ef49af6fd3f2feef614e3d68aa58 (diff) | |
download | otp-6c181a5f4beb88b4bb6fe0b316cbc68b1792ec56.tar.gz otp-6c181a5f4beb88b4bb6fe0b316cbc68b1792ec56.tar.bz2 otp-6c181a5f4beb88b4bb6fe0b316cbc68b1792ec56.zip |
Merge branch 'bjorn/compiler/remove-timestamps/OTP-13504'
* bjorn/compiler/remove-timestamps/OTP-13504:
Remove timestamps from BEAM files
Diffstat (limited to 'lib/compiler/src/beam_asm.erl')
-rw-r--r-- | lib/compiler/src/beam_asm.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/compiler/src/beam_asm.erl b/lib/compiler/src/beam_asm.erl index 9a81537006..f6ca7a0afb 100644 --- a/lib/compiler/src/beam_asm.erl +++ b/lib/compiler/src/beam_asm.erl @@ -230,9 +230,7 @@ build_attributes(Opts, SourceFile, Attr, MD5) -> [_|_] -> [{source,SourceFile}] end, Misc = case member(slim, Opts) of - false -> - {{Y,Mo,D},{H,Mi,S}} = erlang:universaltime(), - [{time,{Y,Mo,D,H,Mi,S}}|Misc0]; + false -> Misc0; true -> [] end, Compile = [{options,Opts},{version,?COMPILER_VSN}|Misc], |