diff options
author | Kostis Sagonas <[email protected]> | 2017-03-23 09:57:45 +0100 |
---|---|---|
committer | Kostis Sagonas <[email protected]> | 2017-03-23 09:57:45 +0100 |
commit | 61027e62a901ec12cc27d3b08ad80dd47ccf2a3f (patch) | |
tree | f57a05bb692808d450377e1eccfe5a7debc275e0 /lib/hipe/llvm | |
parent | e688b5dd0ef3437e6e99419ea9af1895b9747216 (diff) | |
download | otp-61027e62a901ec12cc27d3b08ad80dd47ccf2a3f.tar.gz otp-61027e62a901ec12cc27d3b08ad80dd47ccf2a3f.tar.bz2 otp-61027e62a901ec12cc27d3b08ad80dd47ccf2a3f.zip |
Remove (now) unnecessary argument of pack_constants
Diffstat (limited to 'lib/hipe/llvm')
-rw-r--r-- | lib/hipe/llvm/hipe_llvm_merge.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/llvm/hipe_llvm_merge.erl b/lib/hipe/llvm/hipe_llvm_merge.erl index 6e891ac3b0..58d862fbb2 100644 --- a/lib/hipe/llvm/hipe_llvm_merge.erl +++ b/lib/hipe/llvm/hipe_llvm_merge.erl @@ -13,7 +13,7 @@ finalize(CompiledCode, Closures, Exports) -> Code = [{MFA, [], ConstTab} || {MFA, _, _ , ConstTab, _, _} <- CompiledCode1], {ConstAlign, ConstSize, ConstMap, RefsFromConsts} = - hipe_pack_constants:pack_constants(Code, ?ARCH_REGISTERS:alignment()), + hipe_pack_constants:pack_constants(Code), %% Compute total code size separately as a sanity check for alignment CodeSize = compute_code_size(CompiledCode1, 0), %% io:format("Code Size (pre-computed): ~w~n", [CodeSize]), |