• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / luajit / 9563738134

18 Jun 2024 10:46AM UTC coverage: 92.594% (+0.01%) from 92.58%
9563738134

push

github

ligurio
Prevent loop in snap_usedef().

Reported by XmiliaH.

(cherry picked from commit 0e66fc963)

It is possible to get an infinite loop in a function `snap_usedef`
when a `UCLO` makes a tight loop.

Sergey Bronnikov:
* added the description and the test for the problem

Part of tarantool/tarantool#9595

5657 of 6018 branches covered (94.0%)

Branch coverage included in aggregate %.

21598 of 23417 relevant lines covered (92.23%)

2937882.77 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.09
/src/lj_ir.c
1
/*
2
** SSA IR (Intermediate Representation) emitter.
3
** Copyright (C) 2005-2017 Mike Pall. See Copyright Notice in luajit.h
4
*/
5

6
#define lj_ir_c
7
#define LUA_CORE
8

9
/* For pointers to libc/libm functions. */
10
#include <stdio.h>
11
#include <math.h>
12

13
#include "lj_obj.h"
14

15
#if LJ_HASJIT
16

17
#include "lj_gc.h"
18
#include "lj_buf.h"
19
#include "lj_str.h"
20
#include "lj_tab.h"
21
#include "lj_ir.h"
22
#include "lj_jit.h"
23
#include "lj_ircall.h"
24
#include "lj_iropt.h"
25
#include "lj_trace.h"
26
#if LJ_HASFFI
27
#include "lj_ctype.h"
28
#include "lj_cdata.h"
29
#include "lj_carith.h"
30
#endif
31
#include "lj_vm.h"
32
#include "lj_strscan.h"
33
#include "lj_strfmt.h"
34
#include "lj_lib.h"
35

36
/* Some local macros to save typing. Undef'd at the end. */
37
#define IR(ref)                        (&J->cur.ir[(ref)])
38
#define fins                        (&J->fold.ins)
39

40
/* Pass IR on to next optimization in chain (FOLD). */
41
#define emitir(ot, a, b)        (lj_ir_set(J, (ot), (a), (b)), lj_opt_fold(J))
42

43
/* -- IR tables ----------------------------------------------------------- */
44

45
/* IR instruction modes. */
46
LJ_DATADEF const uint8_t lj_ir_mode[IR__MAX+1] = {
47
IRDEF(IRMODE)
48
  0
49
};
50

51
/* IR type sizes. */
52
LJ_DATADEF const uint8_t lj_ir_type_size[IRT__MAX+1] = {
53
#define IRTSIZE(name, size)        size,
54
IRTDEF(IRTSIZE)
55
#undef IRTSIZE
56
  0
57
};
58

59
/* C call info for CALL* instructions. */
60
LJ_DATADEF const CCallInfo lj_ir_callinfo[] = {
61
#define IRCALLCI(cond, name, nargs, kind, type, flags) \
62
  { (ASMFunction)IRCALLCOND_##cond(name), \
63
    (nargs)|(CCI_CALL_##kind)|(IRT_##type<<CCI_OTSHIFT)|(flags) },
64
IRCALLDEF(IRCALLCI)
65
#undef IRCALLCI
66
  { NULL, 0 }
67
};
68

69
/* -- IR emitter ---------------------------------------------------------- */
70

71
/* Grow IR buffer at the top. */
72
void LJ_FASTCALL lj_ir_growtop(jit_State *J)
198✔
73
{
74
  IRIns *baseir = J->irbuf + J->irbotlim;
198✔
75
  MSize szins = J->irtoplim - J->irbotlim;
198✔
76
  if (szins) {
198✔
77
    baseir = (IRIns *)lj_mem_realloc(J->L, baseir, szins*sizeof(IRIns),
154✔
78
                                     2*szins*sizeof(IRIns));
77✔
79
    J->irtoplim = J->irbotlim + 2*szins;
77✔
80
  } else {
81
    baseir = (IRIns *)lj_mem_realloc(J->L, NULL, 0, LJ_MIN_IRSZ*sizeof(IRIns));
121✔
82
    J->irbotlim = REF_BASE - LJ_MIN_IRSZ/4;
121✔
83
    J->irtoplim = J->irbotlim + LJ_MIN_IRSZ;
121✔
84
  }
85
  J->cur.ir = J->irbuf = baseir - J->irbotlim;
198✔
86
}
198✔
87

88
/* Grow IR buffer at the bottom or shift it up. */
89
static void lj_ir_growbot(jit_State *J)
293✔
90
{
91
  IRIns *baseir = J->irbuf + J->irbotlim;
293✔
92
  MSize szins = J->irtoplim - J->irbotlim;
293✔
93
  lj_assertJ(szins != 0, "zero IR size");
293✔
94
  lj_assertJ(J->cur.nk == J->irbotlim || J->cur.nk-1 == J->irbotlim,
293✔
95
             "unexpected IR growth");
96
  if (J->cur.nins + (szins >> 1) < J->irtoplim) {
293✔
97
    /* More than half of the buffer is free on top: shift up by a quarter. */
98
    MSize ofs = szins >> 2;
76✔
99
    memmove(baseir + ofs, baseir, (J->cur.nins - J->irbotlim)*sizeof(IRIns));
76✔
100
    J->irbotlim -= ofs;
76✔
101
    J->irtoplim -= ofs;
76✔
102
    J->cur.ir = J->irbuf = baseir - J->irbotlim;
76✔
103
  } else {
104
    /* Double the buffer size, but split the growth amongst top/bottom. */
105
    IRIns *newbase = lj_mem_newt(J->L, 2*szins*sizeof(IRIns), IRIns);
217✔
106
    MSize ofs = szins >= 256 ? 128 : (szins >> 1);  /* Limit bottom growth. */
217✔
107
    memcpy(newbase + ofs, baseir, (J->cur.nins - J->irbotlim)*sizeof(IRIns));
217✔
108
    lj_mem_free(G(J->L), baseir, szins*sizeof(IRIns));
217✔
109
    J->irbotlim -= ofs;
217✔
110
    J->irtoplim = J->irbotlim + 2*szins;
217✔
111
    J->cur.ir = J->irbuf = newbase - J->irbotlim;
217✔
112
  }
113
}
293✔
114

115
/* Emit IR without any optimizations. */
116
TRef LJ_FASTCALL lj_ir_emit(jit_State *J)
1,981,912✔
117
{
118
  IRRef ref = lj_ir_nextins(J);
1,981,912✔
119
  IRIns *ir = IR(ref);
1,981,912✔
120
  IROp op = fins->o;
1,981,912✔
121
  ir->prev = J->chain[op];
1,981,912✔
122
  J->chain[op] = (IRRef1)ref;
1,981,912✔
123
  ir->o = op;
1,981,912✔
124
  ir->op1 = fins->op1;
1,981,912✔
125
  ir->op2 = fins->op2;
1,981,912✔
126
  J->guardemit.irt |= fins->t.irt;
1,981,912✔
127
  return TREF(ref, irt_t((ir->t = fins->t)));
1,981,912✔
128
}
129

130
/* Emit call to a C function. */
131
TRef lj_ir_call(jit_State *J, IRCallID id, ...)
602✔
132
{
133
  const CCallInfo *ci = &lj_ir_callinfo[id];
602✔
134
  uint32_t n = CCI_NARGS(ci);
602✔
135
  TRef tr = TREF_NIL;
602✔
136
  va_list argp;
602✔
137
  va_start(argp, id);
602✔
138
  if ((ci->flags & CCI_L)) n--;
602✔
139
  if (n > 0)
602✔
140
    tr = va_arg(argp, IRRef);
601✔
141
  while (n-- > 1)
1,750✔
142
    tr = emitir(IRT(IR_CARG, IRT_NIL), tr, va_arg(argp, IRRef));
1,148✔
143
  va_end(argp);
602✔
144
  if (CCI_OP(ci) == IR_CALLS)
602✔
145
    J->needsnap = 1;  /* Need snapshot after call with side effect. */
152✔
146
  return emitir(CCI_OPTYPE(ci), tr, id);
602✔
147
}
148

149
/* Load field of type t from GG_State + offset. Must be 32 bit aligned. */
150
LJ_FUNC TRef lj_ir_ggfload(jit_State *J, IRType t, uintptr_t ofs)
466✔
151
{
152
  lj_assertJ((ofs & 3) == 0, "unaligned GG_State field offset");
466✔
153
  ofs >>= 2;
466✔
154
  lj_assertJ(ofs >= IRFL__MAX && ofs <= 0x3ff,
466✔
155
             "GG_State field offset breaks 10 bit FOLD key limit");
156
  lj_ir_set(J, IRT(IR_FLOAD, t), REF_NIL, ofs);
466✔
157
  return lj_opt_fold(J);
466✔
158
}
159

160
/* -- Interning of constants ---------------------------------------------- */
161

162
/*
163
** IR instructions for constants are kept between J->cur.nk >= ref < REF_BIAS.
164
** They are chained like all other instructions, but grow downwards.
165
** The are interned (like strings in the VM) to facilitate reference
166
** comparisons. The same constant must get the same reference.
167
*/
168

169
/* Get ref of next IR constant and optionally grow IR.
170
** Note: this may invalidate all IRIns *!
171
*/
172
static LJ_AINLINE IRRef ir_nextk(jit_State *J)
389,884✔
173
{
174
  IRRef ref = J->cur.nk;
389,884✔
175
  if (LJ_UNLIKELY(ref <= J->irbotlim)) lj_ir_growbot(J);
78✔
176
  J->cur.nk = --ref;
389,884✔
177
  return ref;
389,884✔
178
}
179

180
/* Get ref of next 64 bit IR constant and optionally grow IR.
181
** Note: this may invalidate all IRIns *!
182
*/
183
static LJ_AINLINE IRRef ir_nextk64(jit_State *J)
888,989✔
184
{
185
  IRRef ref = J->cur.nk - 2;
888,989✔
186
  lj_assertJ(J->state != LJ_TRACE_ASM, "bad JIT state");
888,989✔
187
  if (LJ_UNLIKELY(ref < J->irbotlim)) lj_ir_growbot(J);
215✔
188
  J->cur.nk = ref;
888,989✔
189
  return ref;
888,989✔
190
}
191

192
#if LJ_GC64
193
#define ir_nextkgc ir_nextk64
194
#else
195
#define ir_nextkgc ir_nextk
196
#endif
197

198
/* Intern int32_t constant. */
199
TRef LJ_FASTCALL lj_ir_kint(jit_State *J, int32_t k)
2,090,037✔
200
{
201
  IRIns *ir, *cir = J->cur.ir;
2,090,037✔
202
  IRRef ref;
2,090,037✔
203
  for (ref = J->chain[IR_KINT]; ref; ref = cir[ref].prev)
8,629,418✔
204
    if (cir[ref].i == k)
8,461,468✔
205
      goto found;
1,922,087✔
206
  ref = ir_nextk(J);
167,950✔
207
  ir = IR(ref);
167,950✔
208
  ir->i = k;
167,950✔
209
  ir->t.irt = IRT_INT;
167,950✔
210
  ir->o = IR_KINT;
167,950✔
211
  ir->prev = J->chain[IR_KINT];
167,950✔
212
  J->chain[IR_KINT] = (IRRef1)ref;
167,950✔
213
found:
2,090,037✔
214
  return TREF(ref, IRT_INT);
2,090,037✔
215
}
216

217
/* Intern 64 bit constant, given by its 64 bit pattern. */
218
TRef lj_ir_k64(jit_State *J, IROp op, uint64_t u64)
1,261,321✔
219
{
220
  IRIns *ir, *cir = J->cur.ir;
1,261,321✔
221
  IRRef ref;
1,261,321✔
222
  IRType t = op == IR_KNUM ? IRT_NUM : IRT_I64;
1,261,321✔
223
  for (ref = J->chain[op]; ref; ref = cir[ref].prev)
9,177,771✔
224
    if (ir_k64(&cir[ref])->u64 == u64)
8,877,652✔
225
      goto found;
961,202✔
226
  ref = ir_nextk64(J);
300,119✔
227
  ir = IR(ref);
300,119✔
228
  ir[1].tv.u64 = u64;
300,119✔
229
  ir->t.irt = t;
300,119✔
230
  ir->o = op;
300,119✔
231
  ir->op12 = 0;
300,119✔
232
  ir->prev = J->chain[op];
300,119✔
233
  J->chain[op] = (IRRef1)ref;
300,119✔
234
found:
1,261,321✔
235
  return TREF(ref, t);
1,261,321✔
236
}
237

238
/* Intern FP constant, given by its 64 bit pattern. */
239
TRef lj_ir_knum_u64(jit_State *J, uint64_t u64)
376,705✔
240
{
241
  return lj_ir_k64(J, IR_KNUM, u64);
376,705✔
242
}
243

244
/* Intern 64 bit integer constant. */
245
TRef lj_ir_kint64(jit_State *J, uint64_t u64)
113,958✔
246
{
247
  return lj_ir_k64(J, IR_KINT64, u64);
113,958✔
248
}
249

250
/* Check whether a number is int and return it. -0 is NOT considered an int. */
251
static int numistrueint(lua_Number n, int32_t *kp)
233,094✔
252
{
253
  int32_t k = lj_num2int(n);
233,094✔
254
  if (n == (lua_Number)k) {
233,094✔
255
    if (kp) *kp = k;
231,079✔
256
    if (k == 0) {  /* Special check for -0. */
231,079✔
257
      TValue tv;
31,609✔
258
      setnumV(&tv, n);
31,609✔
259
      if (tv.u32.hi != 0)
31,609✔
260
        return 0;
261
    }
262
    return 1;
231,079✔
263
  }
264
  return 0;
265
}
266

267
/* Intern number as int32_t constant if possible, otherwise as FP constant. */
268
TRef lj_ir_knumint(jit_State *J, lua_Number n)
233,094✔
269
{
270
  int32_t k;
233,094✔
271
  if (numistrueint(n, &k))
233,094✔
272
    return lj_ir_kint(J, k);
231,079✔
273
  else
274
    return lj_ir_knum(J, n);
2,015✔
275
}
276

277
/* Intern GC object "constant". */
278
TRef lj_ir_kgc(jit_State *J, GCobj *o, IRType t)
3,787,315✔
279
{
280
  IRIns *ir, *cir = J->cur.ir;
3,787,315✔
281
  IRRef ref;
3,787,315✔
282
  lj_assertJ(!isdead(J2G(J), o), "interning of dead GC object");
3,787,315✔
283
  for (ref = J->chain[IR_KGC]; ref; ref = cir[ref].prev)
33,002,297✔
284
    if (ir_kgc(&cir[ref]) == o)
32,485,885✔
285
      goto found;
3,270,903✔
286
  ref = ir_nextkgc(J);
516,412✔
287
  ir = IR(ref);
516,412✔
288
  /* NOBARRIER: Current trace is a GC root. */
289
  ir->op12 = 0;
516,412✔
290
  setgcref(ir[LJ_GC64].gcr, o);
516,412✔
291
  ir->t.irt = (uint8_t)t;
516,412✔
292
  ir->o = IR_KGC;
516,412✔
293
  ir->prev = J->chain[IR_KGC];
516,412✔
294
  J->chain[IR_KGC] = (IRRef1)ref;
516,412✔
295
found:
3,787,315✔
296
  return TREF(ref, t);
3,787,315✔
297
}
298

299
/* Allocate GCtrace constant placeholder (no interning). */
300
TRef lj_ir_ktrace(jit_State *J)
200✔
301
{
302
  IRRef ref = ir_nextkgc(J);
200✔
303
  IRIns *ir = IR(ref);
200✔
304
  lj_assertJ(irt_toitype_(IRT_P64) == LJ_TTRACE, "mismatched type mapping");
200✔
305
  ir->t.irt = IRT_P64;
200✔
306
  ir->o = LJ_GC64 ? IR_KNUM : IR_KNULL;  /* Not IR_KGC yet, but same size. */
200✔
307
  ir->op12 = 0;
200✔
308
  ir->prev = 0;
200✔
309
  return TREF(ref, IRT_P64);
200✔
310
}
311

312
/* Intern pointer constant. */
313
TRef lj_ir_kptr_(jit_State *J, IROp op, void *ptr)
184,394✔
314
{
315
  IRIns *ir, *cir = J->cur.ir;
184,394✔
316
  IRRef ref;
184,394✔
317
#if LJ_64 && !LJ_GC64
318
  lj_assertJ((void *)(uintptr_t)u32ptr(ptr) == ptr, "out-of-range GC pointer");
319
#endif
320
  for (ref = J->chain[op]; ref; ref = cir[ref].prev)
342,609✔
321
    if (ir_kptr(&cir[ref]) == ptr)
270,351✔
322
      goto found;
112,136✔
323
#if LJ_GC64
324
  ref = ir_nextk64(J);
72,258✔
325
#else
326
  ref = ir_nextk(J);
327
#endif
328
  ir = IR(ref);
72,258✔
329
  ir->op12 = 0;
72,258✔
330
  setmref(ir[LJ_GC64].ptr, ptr);
72,258✔
331
  ir->t.irt = IRT_PGC;
72,258✔
332
  ir->o = op;
72,258✔
333
  ir->prev = J->chain[op];
72,258✔
334
  J->chain[op] = (IRRef1)ref;
72,258✔
335
found:
184,394✔
336
  return TREF(ref, IRT_PGC);
184,394✔
337
}
338

339
/* Intern typed NULL constant. */
340
TRef lj_ir_knull(jit_State *J, IRType t)
305,603✔
341
{
342
  IRIns *ir, *cir = J->cur.ir;
305,603✔
343
  IRRef ref;
305,603✔
344
  for (ref = J->chain[IR_KNULL]; ref; ref = cir[ref].prev)
305,686✔
345
    if (irt_t(cir[ref].t) == t)
290,390✔
346
      goto found;
290,307✔
347
  ref = ir_nextk(J);
15,296✔
348
  ir = IR(ref);
15,296✔
349
  ir->i = 0;
15,296✔
350
  ir->t.irt = (uint8_t)t;
15,296✔
351
  ir->o = IR_KNULL;
15,296✔
352
  ir->prev = J->chain[IR_KNULL];
15,296✔
353
  J->chain[IR_KNULL] = (IRRef1)ref;
15,296✔
354
found:
305,603✔
355
  return TREF(ref, t);
305,603✔
356
}
357

358
/* Intern key slot. */
359
TRef lj_ir_kslot(jit_State *J, TRef key, IRRef slot)
1,354,877✔
360
{
361
  IRIns *ir, *cir = J->cur.ir;
1,354,877✔
362
  IRRef2 op12 = IRREF2((IRRef1)key, (IRRef1)slot);
1,354,877✔
363
  IRRef ref;
1,354,877✔
364
  /* Const part is not touched by CSE/DCE, so 0-65535 is ok for IRMlit here. */
365
  lj_assertJ(tref_isk(key) && slot == (IRRef)(IRRef1)slot,
1,354,877✔
366
             "out-of-range key/slot");
367
  for (ref = J->chain[IR_KSLOT]; ref; ref = cir[ref].prev)
5,961,729✔
368
    if (cir[ref].op12 == op12)
5,755,091✔
369
      goto found;
1,148,239✔
370
  ref = ir_nextk(J);
206,638✔
371
  ir = IR(ref);
206,638✔
372
  ir->op12 = op12;
206,638✔
373
  ir->t.irt = IRT_P32;
206,638✔
374
  ir->o = IR_KSLOT;
206,638✔
375
  ir->prev = J->chain[IR_KSLOT];
206,638✔
376
  J->chain[IR_KSLOT] = (IRRef1)ref;
206,638✔
377
found:
1,354,877✔
378
  return TREF(ref, IRT_P32);
1,354,877✔
379
}
380

381
/* -- Access to IR constants ---------------------------------------------- */
382

383
/* Copy value of IR constant. */
384
void lj_ir_kvalue(lua_State *L, TValue *tv, const IRIns *ir)
556,070✔
385
{
386
  UNUSED(L);
556,070✔
387
  lj_assertL(ir->o != IR_KSLOT, "unexpected KSLOT");  /* Common mistake. */
556,070✔
388
  switch (ir->o) {
556,070✔
389
  case IR_KPRI: setpriV(tv, irt_toitype(ir->t)); break;
15,496✔
390
  case IR_KINT: setintV(tv, ir->i); break;
10,509✔
391
  case IR_KGC: setgcV(L, tv, ir_kgc(ir), irt_toitype(ir->t)); break;
381,297✔
392
  case IR_KPTR: case IR_KKPTR:
×
393
    setnumV(tv, (lua_Number)(uintptr_t)ir_kptr(ir));
×
394
    break;
×
395
  case IR_KNULL: setintV(tv, 0); break;
1✔
396
  case IR_KNUM: setnumV(tv, ir_knum(ir)->n); break;
148,767✔
397
#if LJ_HASFFI
398
  case IR_KINT64: {
399
    GCcdata *cd = lj_cdata_new_(L, CTID_INT64, 8);
×
400
    *(uint64_t *)cdataptr(cd) = ir_kint64(ir)->u64;
×
401
    setcdataV(L, tv, cd);
×
402
    break;
403
    }
404
#endif
405
  default: lj_assertL(0, "bad IR constant op %d", ir->o); break;
406
  }
407
}
556,070✔
408

409
/* -- Convert IR operand types -------------------------------------------- */
410

411
/* Convert from string to number. */
412
TRef LJ_FASTCALL lj_ir_tonumber(jit_State *J, TRef tr)
209,560✔
413
{
414
  if (!tref_isnumber(tr)) {
209,560✔
415
    if (tref_isstr(tr))
×
416
      tr = emitir(IRTG(IR_STRTO, IRT_NUM), tr, 0);
×
417
    else
418
      lj_trace_err(J, LJ_TRERR_BADTYPE);
×
419
  }
420
  return tr;
209,560✔
421
}
422

423
/* Convert from integer or string to number. */
424
TRef LJ_FASTCALL lj_ir_tonum(jit_State *J, TRef tr)
927✔
425
{
426
  if (!tref_isnum(tr)) {
927✔
427
    if (tref_isinteger(tr))
222✔
428
      tr = emitir(IRTN(IR_CONV), tr, IRCONV_NUM_INT);
222✔
429
    else if (tref_isstr(tr))
×
430
      tr = emitir(IRTG(IR_STRTO, IRT_NUM), tr, 0);
×
431
    else
432
      lj_trace_err(J, LJ_TRERR_BADTYPE);
×
433
  }
434
  return tr;
927✔
435
}
436

437
/* Convert from integer or number to string. */
438
TRef LJ_FASTCALL lj_ir_tostr(jit_State *J, TRef tr)
697✔
439
{
440
  if (!tref_isstr(tr)) {
697✔
441
    if (!tref_isnumber(tr))
4✔
442
      lj_trace_err(J, LJ_TRERR_BADTYPE);
×
443
    tr = emitir(IRT(IR_TOSTR, IRT_STR), tr,
4✔
444
                tref_isnum(tr) ? IRTOSTR_NUM : IRTOSTR_INT);
445
  }
446
  return tr;
697✔
447
}
448

449
/* -- Miscellaneous IR ops ------------------------------------------------ */
450

451
/* Evaluate numeric comparison. */
452
int lj_ir_numcmp(lua_Number a, lua_Number b, IROp op)
204,336✔
453
{
454
  switch (op) {
204,336✔
455
  case IR_EQ: return (a == b);
4✔
456
  case IR_NE: return (a != b);
×
457
  case IR_LT: return (a < b);
34✔
458
  case IR_GE: return (a >= b);
33✔
459
  case IR_LE: return (a <= b);
291✔
460
  case IR_GT: return (a > b);
12✔
461
  case IR_ULT: return !(a >= b);
×
462
  case IR_UGE: return !(a < b);
13,539✔
463
  case IR_ULE: return !(a > b);
×
464
  case IR_UGT: return !(a <= b);
190,423✔
465
  default: lj_assertX(0, "bad IR op %d", op); return 0;
466
  }
467
}
468

469
/* Evaluate string comparison. */
470
int lj_ir_strcmp(GCstr *a, GCstr *b, IROp op)
1✔
471
{
472
  int res = lj_str_cmp(a, b);
1✔
473
  switch (op) {
1✔
474
  case IR_LT: return (res < 0);
×
475
  case IR_GE: return (res >= 0);
×
476
  case IR_LE: return (res <= 0);
1✔
477
  case IR_GT: return (res > 0);
×
478
  default: lj_assertX(0, "bad IR op %d", op); return 0;
479
  }
480
}
481

482
/* Rollback IR to previous state. */
483
void lj_ir_rollback(jit_State *J, IRRef ref)
539,713✔
484
{
485
  IRRef nins = J->cur.nins;
539,713✔
486
  while (nins > ref) {
545,222✔
487
    IRIns *ir;
5,509✔
488
    nins--;
5,509✔
489
    ir = IR(nins);
5,509✔
490
    J->chain[ir->o] = ir->prev;
5,509✔
491
  }
492
  J->cur.nins = nins;
539,713✔
493
}
539,713✔
494

495
#undef IR
496
#undef fins
497
#undef emitir
498

499
#endif
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc