aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/llvm/hipe_rtl_to_llvm.erl
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-03-09 12:20:24 +0100
committerGitHub <[email protected]>2017-03-09 12:20:24 +0100
commit0380cf2f9d834eb2c84b5f9c6912396c80806b43 (patch)
treee79efd73bd600ec8d2fa485a618970b3ad649dd5 /lib/hipe/llvm/hipe_rtl_to_llvm.erl
parentfcd9a09dc614d61a3e06953837e3bdc3c311710d (diff)
parent16500d689aab70017d6e6c532aef69c94b1b132a (diff)
downloadotp-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.erl2
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,