aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.h
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-01 12:51:21 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-01 12:51:21 +0000
commit739a53b4615ee0e877ddcb1e5317f3de82026c56 (patch)
tree0de833d9da08420c8d6fc645de6edeb0b40dcaa1 /iseq.h
parent3762487ae5d1d267cd6683169f555d5ac79af7ab (diff)
downloadruby-739a53b4615ee0e877ddcb1e5317f3de82026c56.tar.gz
iseq.h: Extract position array from iseq_insn_info_entry
This makes TracePoint a bit fast by reducing cache misses of `get_insn_info_binary_search`. Also, I plan to use succinct bitvector algorithm for `get_insn_info` instead of binary search. This change will make it easy. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.h')
-rw-r--r--iseq.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/iseq.h b/iseq.h
index 825d52bd84..79fc3dbc3b 100644
--- a/iseq.h
+++ b/iseq.h
@@ -210,7 +210,6 @@ struct rb_compile_option_struct {
};
struct iseq_insn_info_entry {
- unsigned int position;
int line_no;
rb_event_flag_t events;
};