aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-09-01 15:29:05 +0200
committerBjörn Gustavsson <[email protected]>2017-09-04 15:46:44 +0200
commit2f659a35a16610778d36ae3e01744843bee9889f (patch)
treef17923fde9f394690384b53056f056af31915da6
parent3b1703009a4c484c02809fadf14163a121d09198 (diff)
downloadotp-2f659a35a16610778d36ae3e01744843bee9889f.tar.gz
otp-2f659a35a16610778d36ae3e01744843bee9889f.tar.bz2
otp-2f659a35a16610778d36ae3e01744843bee9889f.zip
Annotate try_case_end as cold
try_case_end is an excepting-generating instruction that is infrequently executed.
-rw-r--r--erts/emulator/beam/ops.tab2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/ops.tab b/erts/emulator/beam/ops.tab
index d848c1cceb..d64f6f2cfc 100644
--- a/erts/emulator/beam/ops.tab
+++ b/erts/emulator/beam/ops.tab
@@ -190,7 +190,9 @@ try Y F => catch Y F
try_case Y => try_end Y
try_end y
+%cold
try_case_end s
+%hot
# Destructive set tuple element