diff options
author | Sverker Eriksson <[email protected]> | 2017-03-27 17:05:11 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2017-03-27 17:05:11 +0200 |
commit | 173cc4865cf0183242904283ea68626b5900ff08 (patch) | |
tree | 2ac8440d1e3881e61ef5c4a07e85c2704d722a96 /lib/hipe/ppc | |
parent | 236f2cecd0b0d8116c000187780f3981e6e9b388 (diff) | |
parent | 54d3e3ae0021f8277322ce51168829aa0dd67de1 (diff) | |
download | otp-173cc4865cf0183242904283ea68626b5900ff08.tar.gz otp-173cc4865cf0183242904283ea68626b5900ff08.tar.bz2 otp-173cc4865cf0183242904283ea68626b5900ff08.zip |
Merge PR-1386 from kostis/hipe-const-alignment OTP-14302
hipe: Fix alignment of byte-sized constants
Diffstat (limited to 'lib/hipe/ppc')
-rw-r--r-- | lib/hipe/ppc/hipe_ppc_assemble.erl | 2 |
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 66817837df..b0f57e5582 100644 --- a/lib/hipe/ppc/hipe_ppc_assemble.erl +++ b/lib/hipe/ppc/hipe_ppc_assemble.erl @@ -32,7 +32,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), |