diff options
author | Kostis Sagonas <[email protected]> | 2016-05-27 10:32:58 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-05-31 12:19:59 +0200 |
commit | cbb325bd193fd407c4495e95419512312febcc1c (patch) | |
tree | 8eb8dcd4bea5d9c498ba191c45c0b5d74bc7edfc /lib/hipe/main/hipe.hrl.src | |
parent | a8d4b9ef8f6d6ac75fdb8405605eb631acc8fb63 (diff) | |
download | otp-cbb325bd193fd407c4495e95419512312febcc1c.tar.gz otp-cbb325bd193fd407c4495e95419512312febcc1c.tar.bz2 otp-cbb325bd193fd407c4495e95419512312febcc1c.zip |
Eliminate stupid if construct
Diffstat (limited to 'lib/hipe/main/hipe.hrl.src')
-rw-r--r-- | lib/hipe/main/hipe.hrl.src | 2 |
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)), |