aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2015-06-03 14:40:32 +0200
committerHenrik Nord <[email protected]>2015-06-03 14:40:32 +0200
commit18498659ccb1c5a241ee2b8428fe0dfebbfb2483 (patch)
tree999aa3371ee2dc2dddc81418a6d9d24934d15d16 /lib
parent554849eed360bc5287992196644c6273dbb0caba (diff)
parentd8ffbe44ab6b01c61157b60ea72640b236d91979 (diff)
downloadotp-18498659ccb1c5a241ee2b8428fe0dfebbfb2483.tar.gz
otp-18498659ccb1c5a241ee2b8428fe0dfebbfb2483.tar.bz2
otp-18498659ccb1c5a241ee2b8428fe0dfebbfb2483.zip
Merge branch 'kostis/llvm-now'
* kostis/llvm-now: Replace call to erlang:now() with appropriate call to 18.0 BIF
Diffstat (limited to 'lib')
-rw-r--r--lib/hipe/llvm/hipe_llvm_main.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/llvm/hipe_llvm_main.erl b/lib/hipe/llvm/hipe_llvm_main.erl
index 0e50c9539b..3c24425828 100644
--- a/lib/hipe/llvm/hipe_llvm_main.erl
+++ b/lib/hipe/llvm/hipe_llvm_main.erl
@@ -465,7 +465,7 @@ remove_temp_folder(Dir, Options) ->
end.
unique_id(FunName, Arity) ->
- integer_to_list(erlang:phash2({FunName, Arity, now()})).
+ integer_to_list(erlang:phash2({FunName, Arity, erlang:unique_integer()})).
unique_folder(FunName, Arity, Options) ->
DirName = "llvm_" ++ unique_id(FunName, Arity) ++ "/",