aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-01-17 15:29:26 +0100
committerRickard Green <[email protected]>2017-01-17 15:29:26 +0100
commitec2e03ad47d38400ac39dbc34911705fd50315aa (patch)
tree1c2e3b045dac68b28fcd2017dda7e8b6bf9d6de1
parenteadc98327e3fb173d80a92e6ae2e7d7e85f92d67 (diff)
parenta0a5bc55ac2805e6411ae5faa01b3ad532738345 (diff)
downloadotp-ec2e03ad47d38400ac39dbc34911705fd50315aa.tar.gz
otp-ec2e03ad47d38400ac39dbc34911705fd50315aa.tar.bz2
otp-ec2e03ad47d38400ac39dbc34911705fd50315aa.zip
Merge branch 'rickard/hipe_handle_exception' into maint
OTP-14153 * rickard/hipe_handle_exception: Remove debug printout and unnecessary GC
-rw-r--r--erts/emulator/hipe/hipe_native_bif.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/erts/emulator/hipe/hipe_native_bif.c b/erts/emulator/hipe/hipe_native_bif.c
index 9c03b3811c..801cef2e56 100644
--- a/erts/emulator/hipe/hipe_native_bif.c
+++ b/erts/emulator/hipe/hipe_native_bif.c
@@ -226,11 +226,6 @@ void hipe_handle_exception(Process *c_p)
ASSERT(c_p->freason != TRAP); /* Should have been handled earlier. */
- if (c_p->mbuf) {
- erts_printf("%s line %u: p==%p, p->mbuf==%p\n", __FUNCTION__, __LINE__, c_p, c_p->mbuf);
- /* erts_garbage_collect(c_p, 0, NULL, 0); */
- }
-
/*
* Check if we have an arglist for the top level call. If so, this
* is encoded in Value, so we have to dig out the real Value as well
@@ -259,11 +254,6 @@ void hipe_handle_exception(Process *c_p)
/* Synthesized to avoid having to generate code for it. */
c_p->def_arg_reg[0] = exception_tag[GET_EXC_CLASS(c_p->freason)];
- if (c_p->mbuf) {
- /* erts_printf("%s line %u: p==%p, p->mbuf==%p, p->lastbif==%p\n", __FUNCTION__, __LINE__, c_p, c_p->mbuf, c_p->hipe.lastbif); */
- erts_garbage_collect(c_p, 0, NULL, 0);
- }
-
hipe_find_handler(c_p);
}