Lines Matching full:to
9 * Unless required by applicable law or agreed to in writing, software
55 expect(jumps.length).to.equal(1);
59 expect(checkInstructions(insns, expected)).to.be.true;
60 expect(jmpLabel).to.equal(insns[0]);
67 expect(jumps.length).to.equal(1);
71 expect(insns[4]).to.equal(jumps[0]);
72 expect(jmpLabel).to.equal(insns[2]);
79 expect(jumps.length).to.equal(2);
84 expect(jmpLabel).to.equal(insns[2]);
85 expect(jgezLabel).to.equal(insns[10]);
87 expect(insns[7]).to.equal(jumps[0]);
88 expect(insns[9]).to.equal(jumps[1]);
95 expect(jumps.length).to.equal(2);
100 expect(jmpLabel).to.equal(insns[2]);
101 expect(jgezLabel).to.equal(insns[17]);
103 expect(insns[7]).to.equal(jumps[0]);
104 expect(insns[16]).to.equal(jumps[1]);
136 // jump to the loop header
142 expect(checkInstructions(insns, expected)).to.be.true;
143 // check continue jumps to the expected instruction
146 expect(targetLabel).to.equal(insns[9]);
178 // jump to the loop header
184 expect(checkInstructions(insns, expected)).to.be.true;
185 // check continue jumps to the expected instruction
188 expect(targetLabel).to.equal(insns[16]);
242 // jump to the loop header
252 // jump to the loop header
259 expect(checkInstructions(insns, expected)).to.be.true;
260 // check break jumps to the expected instruction
263 expect(targetLabel).to.equal(insns[34]);
317 // jump to the loop header
327 // jump to the loop header
334 expect(checkInstructions(insns, expected)).to.be.true;
335 // check break jumps to the expected instruction
338 expect(targetLabel).to.equal(insns[27]);