aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/instrs.tab
diff options
context:
space:
mode:
authorMichał Muskała <[email protected]>2018-12-13 16:13:09 +0100
committerMichał Muskała <[email protected]>2018-12-13 16:14:00 +0100
commita47e013421d3c12198f019cbd66a88a6d356802d (patch)
tree82713e5a5345529aff229530cccb7fb3e3c5fda5 /erts/emulator/beam/instrs.tab
parent472b0669788e155f28851999b4e60bf8302ca2d5 (diff)
downloadotp-a47e013421d3c12198f019cbd66a88a6d356802d.tar.gz
otp-a47e013421d3c12198f019cbd66a88a6d356802d.tar.bz2
otp-a47e013421d3c12198f019cbd66a88a6d356802d.zip
Add missing annotations in instrs.tab
Dispatching a function and return never use the next instruction. It's unlikely for raw_raise to use the next instruction.
Diffstat (limited to 'erts/emulator/beam/instrs.tab')
-rw-r--r--erts/emulator/beam/instrs.tab3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/beam/instrs.tab b/erts/emulator/beam/instrs.tab
index da1dd3dc45..df60e889f3 100644
--- a/erts/emulator/beam/instrs.tab
+++ b/erts/emulator/beam/instrs.tab
@@ -238,6 +238,7 @@ HANDLE_APPLY_FUN_ERROR() {
}
DISPATCH_FUN(I) {
+ //| -no_next
SET_I($I);
Dispatchfun();
}
@@ -299,6 +300,7 @@ i_call_fun_last(Fun, Deallocate) {
}
return() {
+ //| -no_next
SET_I(c_p->cp);
DTRACE_RETURN_FROM_PC(c_p);
@@ -951,6 +953,7 @@ build_stacktrace() {
}
raw_raise() {
+ //| -no_prefetch
Eterm class = x(0);
Eterm value = x(1);
Eterm stacktrace = x(2);