summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-05 08:56:50 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-05 08:56:50 +0000
commita5e02f249d398df2d3861f99ba9754061db562ff (patch)
tree22151a7b0472a52e23967c38bd93c2eceb253f31 /vm_core.h
parent2d592329e05f3671632e7def1b9164b6073e618c (diff)
vm_core.h (rb_iseq_locatoin_t): add a field `code_range`
This change makes each ISeq keep NODE's code range. This information is needed for method coverage. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 031cc7b95b..2aa2ba04e2 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -252,6 +252,7 @@ typedef struct rb_iseq_location_struct {
VALUE base_label; /* String */
VALUE label; /* String */
VALUE first_lineno; /* TODO: may be unsigned short */
+ rb_code_range_t code_range;
} rb_iseq_location_t;
#define PATHOBJ_PATH 0