Lines Matching refs:jumps
46 let jumps = insns.filter(item => item instanceof Jeqz); variable
48 expect(jumps.length).to.equal(1);
50 let targetLabel = (<Jeqz>jumps[0]).getTarget();
60 let jumps = insns.filter(item => item instanceof Jeqz); variable
62 expect(jumps.length).to.equal(1);
64 let targetLabel = (<Jeqz>jumps[0]).getTarget();
76 let jumps = insns.filter(item => (item instanceof Jeqz || item instanceof Jmp)); variable
79 expect(jumps.length).to.equal(2);
82 let elseLabel = (<Jeqz>jumps[0]).getTarget();
83 let endIfLabel = (<Jmp>jumps[1]).getTarget();
170 let jumps = insns.filter(item => (item instanceof Jeqz || item instanceof Jmp)); variable
173 expect(jumps.length).to.equal(2);