aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Lång <[email protected]>2017-02-20 15:02:32 +0100
committerMagnus Lång <[email protected]>2017-03-06 18:18:23 +0100
commit9e2d61fa511c714f9f8cd2e5c57edf408ecf05e6 (patch)
tree2e6166ca703c0e49aea68b02c659f96d358c64ce
parent7e66eb6a07928448b7c1a6f265d782bebacd4e6b (diff)
downloadotp-9e2d61fa511c714f9f8cd2e5c57edf408ecf05e6.tar.gz
otp-9e2d61fa511c714f9f8cd2e5c57edf408ecf05e6.tar.bz2
otp-9e2d61fa511c714f9f8cd2e5c57edf408ecf05e6.zip
hipe_rtl_to_llvm: Cleanup
-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,