diff options
author | Sverker Eriksson <[email protected]> | 2017-03-09 12:20:24 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2017-03-09 12:20:24 +0100 |
commit | 0380cf2f9d834eb2c84b5f9c6912396c80806b43 (patch) | |
tree | e79efd73bd600ec8d2fa485a618970b3ad649dd5 /lib/hipe/llvm/hipe_rtl_to_llvm.erl | |
parent | fcd9a09dc614d61a3e06953837e3bdc3c311710d (diff) | |
parent | 16500d689aab70017d6e6c532aef69c94b1b132a (diff) | |
download | otp-0380cf2f9d834eb2c84b5f9c6912396c80806b43.tar.gz otp-0380cf2f9d834eb2c84b5f9c6912396c80806b43.tar.bz2 otp-0380cf2f9d834eb2c84b5f9c6912396c80806b43.zip |
Merge PR-1360 from margnus1/hipe-codegen/OTP-14261
HiPE: Various small code cleanups and codegen improvements
Diffstat (limited to 'lib/hipe/llvm/hipe_rtl_to_llvm.erl')
-rw-r--r-- | lib/hipe/llvm/hipe_rtl_to_llvm.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/llvm/hipe_rtl_to_llvm.erl b/lib/hipe/llvm/hipe_rtl_to_llvm.erl index 208d86841f..79e1bfd381 100644 --- a/lib/hipe/llvm/hipe_rtl_to_llvm.erl +++ b/lib/hipe/llvm/hipe_rtl_to_llvm.erl @@ -1364,7 +1364,7 @@ create_function_definition(Fun, Params, Code, LocalVars) -> EntryBlock = lists:flatten([EntryLabel, ExceptionSync, I2, LocalVars, StoredParams, I3]), Final_Code = EntryBlock ++ Code, - FunctionOptions = [nounwind, noredzone, list_to_atom("gc \"erlang\"")], + FunctionOptions = [nounwind, noredzone, 'gc "erlang"'], WordTy = hipe_llvm:mk_int(?BITS_IN_WORD), FunRetTy = hipe_llvm:mk_struct(lists:duplicate(?NR_PINNED_REGS + 1, WordTy)), hipe_llvm:mk_fun_def([], [], "cc 11", [], FunRetTy, FunctionName, Args, |