summaryrefslogtreecommitdiff
path: root/erts/emulator/hipe/hipe_instrs.tab
diff options
context:
space:
mode:
authorJohn Högberg <john@erlang.org>2019-09-17 09:41:25 +0200
committerGitHub <noreply@github.com>2019-09-17 09:41:25 +0200
commit40323104481d0813da9286e786af7f43a336b916 (patch)
tree5509214c8e21016076776919f25e3eb56e30a81a /erts/emulator/hipe/hipe_instrs.tab
parentda04cc20cc1527d142ab1890a44c277f450bfe7f (diff)
parent1c49fba50b7536865a340664f4004f501c3a2109 (diff)
downloaderlang-40323104481d0813da9286e786af7f43a336b916.tar.gz
Merge pull request #2381 from jhogberg/john/erts/refactor-cif-tracing/OTP-14734
Refactor BIF tracing
Diffstat (limited to 'erts/emulator/hipe/hipe_instrs.tab')
-rw-r--r--erts/emulator/hipe/hipe_instrs.tab5
1 files changed, 2 insertions, 3 deletions
diff --git a/erts/emulator/hipe/hipe_instrs.tab b/erts/emulator/hipe/hipe_instrs.tab
index 62162fcb9c..8aa8544b2a 100644
--- a/erts/emulator/hipe/hipe_instrs.tab
+++ b/erts/emulator/hipe/hipe_instrs.tab
@@ -93,7 +93,7 @@ hipe_trap.post() {
/*fall through*/
case HIPE_MODE_SWITCH_RES_CALL_BEAM:
SET_I(c_p->i);
- Dispatch();
+ $DISPATCH();
case HIPE_MODE_SWITCH_RES_CALL_CLOSURE:
/* This can be used to call any function value, but currently
it's only used to call closures referring to unloaded
@@ -104,8 +104,7 @@ hipe_trap.post() {
next = call_fun(c_p, c_p->arity - 1, reg, THE_NON_VALUE);
HEAVY_SWAPIN;
if (next != NULL) {
- SET_I(next);
- Dispatchfun();
+ $DISPATCH_FUN(next);
}
goto find_func_info;
}