aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/compile.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-05-22 09:52:21 +0200
committerBjörn Gustavsson <[email protected]>2015-05-22 09:52:21 +0200
commit1e40dcb96bb1bf858e857d6abe7770dec08a9409 (patch)
tree6d750a075a89e488be97b644849c953200afbc5c /lib/compiler/src/compile.erl
parentcfb049920057b7cf93582f6d222156c93ca07db7 (diff)
parent242d0430103259398f87b088d8c3b0c8ba30124b (diff)
downloadotp-1e40dcb96bb1bf858e857d6abe7770dec08a9409.tar.gz
otp-1e40dcb96bb1bf858e857d6abe7770dec08a9409.tar.bz2
otp-1e40dcb96bb1bf858e857d6abe7770dec08a9409.zip
Merge branch 'bjorn/compiler/runtime-dependencies'
* bjorn/compiler/runtime-dependencies: Don't make 'compiler' dependent on 'tools' Update runtime depencies for the compiler application
Diffstat (limited to 'lib/compiler/src/compile.erl')
-rw-r--r--lib/compiler/src/compile.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compiler/src/compile.erl b/lib/compiler/src/compile.erl
index 22810c910c..0158cf64db 100644
--- a/lib/compiler/src/compile.erl
+++ b/lib/compiler/src/compile.erl
@@ -342,10 +342,10 @@ run_tc({Name,Fun}, St) ->
run_eprof({Name,Fun}, Name, St) ->
io:format("~p: Running eprof\n", [Name]),
- eprof:start_profiling([self()]),
+ c:appcall(tools, eprof, start_profiling, [[self()]]),
Val = (catch Fun(St)),
- eprof:stop_profiling(),
- eprof:analyze(),
+ c:appcall(tools, eprof, stop_profiling, []),
+ c:appcall(tools, eprof, analyze, []),
Val;
run_eprof({_,Fun}, _, St) ->
catch Fun(St).