diff options
author | Andy Wingo <wingo@pobox.com> | 2019-05-27 19:22:23 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2019-05-27 19:22:23 +0200 |
commit | 1128dbc444005bd5bbffb9bee7722b2ee07dfb44 (patch) | |
tree | c3459fd014127856b0584a799ba845d756ad9e06 | |
parent | 9c5098ab25818003a0161f5b89f86fb3489bda86 (diff) | |
download | guile-1128dbc444005bd5bbffb9bee7722b2ee07dfb44.tar.gz |
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.
-rw-r--r-- | libguile/jit.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libguile/jit.c b/libguile/jit.c index d8e892b90..a7cd5d9e4 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); |