Revert "Fix error: implicit conversion loses integer precision"
This reverts commit r62708. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b099c5e620
commit
a14a679787
@ -8760,7 +8760,7 @@ ibf_load_iseq_each(const struct ibf_load *load, rb_iseq_t *iseq, ibf_offset_t of
|
||||
|
||||
ISEQ_COVERAGE_SET(iseq, Qnil);
|
||||
ISEQ_ORIGINAL_ISEQ_CLEAR(iseq);
|
||||
iseq->body->variable.flip_count = body->variable.flip_count;
|
||||
iseq->body->variable.flip_count = (int)body->variable.flip_count;
|
||||
|
||||
{
|
||||
VALUE realpath = Qnil, path = ibf_load_object(load, body->location.pathobj);
|
||||
|
4
iseq.h
4
iseq.h
@ -35,10 +35,10 @@ rb_call_info_kw_arg_bytes(int keyword_len)
|
||||
|
||||
#define ISEQ_FLIP_CNT(iseq) (iseq)->body->variable.flip_count
|
||||
|
||||
static inline rb_snum_t
|
||||
static inline int
|
||||
ISEQ_FLIP_CNT_INCREMENT(const rb_iseq_t *iseq)
|
||||
{
|
||||
rb_snum_t cnt = iseq->body->variable.flip_count;
|
||||
int cnt = iseq->body->variable.flip_count;
|
||||
iseq->body->variable.flip_count += 1;
|
||||
return cnt;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user