aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/main
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2016-05-27 10:32:58 +0200
committerSverker Eriksson <[email protected]>2016-05-31 12:19:59 +0200
commitcbb325bd193fd407c4495e95419512312febcc1c (patch)
tree8eb8dcd4bea5d9c498ba191c45c0b5d74bc7edfc /lib/hipe/main
parenta8d4b9ef8f6d6ac75fdb8405605eb631acc8fb63 (diff)
downloadotp-cbb325bd193fd407c4495e95419512312febcc1c.tar.gz
otp-cbb325bd193fd407c4495e95419512312febcc1c.tar.bz2
otp-cbb325bd193fd407c4495e95419512312febcc1c.zip
Eliminate stupid if construct
Diffstat (limited to 'lib/hipe/main')
-rw-r--r--lib/hipe/main/hipe.hrl.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/main/hipe.hrl.src b/lib/hipe/main/hipe.hrl.src
index d5efbaccf7..53b59f88f0 100644
--- a/lib/hipe/main/hipe.hrl.src
+++ b/lib/hipe/main/hipe.hrl.src
@@ -162,7 +162,7 @@
-define(get_hipe_timer_val(Timer), get(Timer)).
-define(set_hipe_timer_val(Timer, Val), put(Timer, Val)).
-define(option_time(Stmnt, Text, Options),
- if true ->
+ begin
?when_option(time, Options, ?start_timer(Text)),
fun(R) ->
?when_option(time, Options, ?stop_timer(Text)),