MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / skipchecks

Function skipchecks

other_src/lua/src/lpeg.cpp:862–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

860
861
862static int skipchecks (Instruction *p, int up, int *pn) {
863 int i, n = 0;
864 for (i = 0; isfixcheck(p + i); i += sizei(p + i)) {
865 int st = op_step(p + i);
866 if (n + st > MAXOFF - up) break;
867 n += st;
868 }
869 *pn = n;
870 return i;
871}
872
873
874#define ismovablecap(op) (ismovable(op) && getoff(op) < MAXOFF)

Callers 2

optimizecapturesFunction · 0.85
capture_auxFunction · 0.85

Calls 1

sizeiFunction · 0.85

Tested by

no test coverage detected