[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 02/03: Remove check for instrument-entry
From: |
Andy Wingo |
Subject: |
[Guile-commits] 02/03: Remove check for instrument-entry |
Date: |
Thu, 6 Jun 2019 08:49:38 -0400 (EDT) |
wingo pushed a commit to branch master
in repository guile.
commit 1128dbc444005bd5bbffb9bee7722b2ee07dfb44
Author: Andy Wingo <address@hidden>
Date: Mon May 27 19:22:23 2019 +0200
Remove check for instrument-entry
* libguile/jit.c (emit_indirect_tail_call): If everything starts with
instrument-entry, and thus has a vcode pointer, no need to emit a
dynamic check.
---
libguile/jit.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/libguile/jit.c b/libguile/jit.c
index d8e892b..a7cd5d9 100644
--- a/libguile/jit.c
+++ b/libguile/jit.c
@@ -797,13 +797,6 @@ static void
emit_indirect_tail_call (scm_jit_state *j)
{
emit_get_callee_vcode (j, T0);
-
- /* FIXME: If all functions start with instrument-entry, no need for
- this check. */
- emit_get_vcode_low_byte (j, T1, T0);
- jit_reloc_t instrumented = jit_beqi (j->jit, T1, scm_op_instrument_entry);
- jit_breakpoint (j->jit);
- jit_patch_here (j->jit, instrumented);
emit_get_ip_relative_addr (j, T1, T0, 1);
emit_ldxi (j, T1, T1, 0);
jit_reloc_t no_mcode = jit_beqi (j->jit, T1, 0);