aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/ppc/hipe_ppc_assemble.erl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2017-03-23 09:57:45 +0100
committerKostis Sagonas <[email protected]>2017-03-23 09:57:45 +0100
commit61027e62a901ec12cc27d3b08ad80dd47ccf2a3f (patch)
treef57a05bb692808d450377e1eccfe5a7debc275e0 /lib/hipe/ppc/hipe_ppc_assemble.erl
parente688b5dd0ef3437e6e99419ea9af1895b9747216 (diff)
downloadotp-61027e62a901ec12cc27d3b08ad80dd47ccf2a3f.tar.gz
otp-61027e62a901ec12cc27d3b08ad80dd47ccf2a3f.tar.bz2
otp-61027e62a901ec12cc27d3b08ad80dd47ccf2a3f.zip
Remove (now) unnecessary argument of pack_constants
Diffstat (limited to 'lib/hipe/ppc/hipe_ppc_assemble.erl')
-rw-r--r--lib/hipe/ppc/hipe_ppc_assemble.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/ppc/hipe_ppc_assemble.erl b/lib/hipe/ppc/hipe_ppc_assemble.erl
index d89ff6235c..5b61afb61c 100644
--- a/lib/hipe/ppc/hipe_ppc_assemble.erl
+++ b/lib/hipe/ppc/hipe_ppc_assemble.erl
@@ -40,7 +40,7 @@ assemble(CompiledCode, Closures, Exports, Options) ->
|| {MFA, Defun} <- CompiledCode],
%%
{ConstAlign,ConstSize,ConstMap,RefsFromConsts} =
- hipe_pack_constants:pack_constants(Code, hipe_rtl_arch:word_size()),
+ hipe_pack_constants:pack_constants(Code),
%%
{CodeSize,CodeBinary,AccRefs,LabelMap,ExportMap} =
encode(translate(Code, ConstMap), Options),