diff options
author | Richard Carlsson <[email protected]> | 2018-04-17 16:16:34 +0200 |
---|---|---|
committer | Richard Carlsson <[email protected]> | 2018-05-04 10:27:20 +0200 |
commit | a71c186fcc9e4592016c1b2c146db7b70ee0755a (patch) | |
tree | 4726e01fef4c2f432f4d1934ab5632e6f77e6422 /lib/hipe | |
parent | f33f832d85584ffdbecf16bee8023e80c3af15ea (diff) | |
download | otp-a71c186fcc9e4592016c1b2c146db7b70ee0755a.tar.gz otp-a71c186fcc9e4592016c1b2c146db7b70ee0755a.tar.bz2 otp-a71c186fcc9e4592016c1b2c146db7b70ee0755a.zip |
Move error formatting to erl_error.erl and delete lib.erl
Diffstat (limited to 'lib/hipe')
-rw-r--r-- | lib/hipe/main/hipe.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hipe/main/hipe.erl b/lib/hipe/main/hipe.erl index 97814fe217..5e6a60326d 100644 --- a/lib/hipe/main/hipe.erl +++ b/lib/hipe/main/hipe.erl @@ -852,8 +852,8 @@ finalize_fun_sequential({MFA, Icode}, Opts, Servers) -> print_crash_message(What, Error, StackTrace) -> StackFun = fun(_,_,_) -> false end, FormatFun = fun (Term, _) -> io_lib:format("~p", [Term]) end, - StackTrace = lib:format_stacktrace(1, StackTrace, - StackFun, FormatFun), + StackTrace = erl_error:format_stacktrace(1, StackTrace, + StackFun, FormatFun), WhatS = case What of {M,F,A} -> io_lib:format("~w:~w/~w", [M,F,A]); Mod -> io_lib:format("~w", [Mod]) |