aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/x86/hipe_x86_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/x86/hipe_x86_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/x86/hipe_x86_assemble.erl')
-rw-r--r--lib/hipe/x86/hipe_x86_assemble.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/x86/hipe_x86_assemble.erl b/lib/hipe/x86/hipe_x86_assemble.erl
index e21223a5b1..5ebb1dca93 100644
--- a/lib/hipe/x86/hipe_x86_assemble.erl
+++ b/lib/hipe/x86/hipe_x86_assemble.erl
@@ -69,7 +69,7 @@ assemble(CompiledCode, Closures, Exports, Options) ->
|| {MFA, Defun} <- CompiledCode],
%%
{ConstAlign,ConstSize,ConstMap,RefsFromConsts} =
- hipe_pack_constants:pack_constants(Code, ?HIPE_X86_REGISTERS:alignment()),
+ hipe_pack_constants:pack_constants(Code),
%%
{CodeSize,CodeBinary,AccRefs,LabelMap,ExportMap} =
encode(translate(Code, ConstMap, Options), Options),