Lines Matching full:i
46 it('let i = 5; ++i', function () {
47 let insns = compileMainSnippet("let i = 5; let j = ++i");
48 … IRNode.pg = new PandaGen("foo", creatAstFromSnippet("let i = 5; let j = ++i"), 0, undefined);
54 new Sttoglobalrecord(new Imm(0), 'i'),
55 new Tryldglobalbyname(new Imm(1), 'i'),
59 new Trystglobalbyname(new Imm(3), 'i'),
67 it('let i = 5; --i', function () {
68 let insns = compileMainSnippet("let i = 5; let j = --i");
69 … IRNode.pg = new PandaGen("foo", creatAstFromSnippet("let i = 5; let j = --i"), 0, undefined);
75 new Sttoglobalrecord(new Imm(0), 'i'),
76 new Tryldglobalbyname(new Imm(1), 'i'),
80 new Trystglobalbyname(new Imm(3), 'i'),
88 it('let i = 5; let j = +i', function () {
89 let insns = compileMainSnippet("let i = 5; let j = +i");
90 IRNode.pg = new PandaGen("foo", creatAstFromSnippet("let i = 5; let j = +i"), 0, undefined);
96 new Sttoglobalrecord(new Imm(0), 'i'),
97 new Tryldglobalbyname(new Imm(1), 'i'),
108 it('let i = 5; let j = -i', function () {
109 let insns = compileMainSnippet("let i = 5; let j = -i");
110 IRNode.pg = new PandaGen("foo", creatAstFromSnippet("let i = 5; let j = -i"), 0, undefined);
116 new Sttoglobalrecord(new Imm(0), 'i'),
117 new Tryldglobalbyname(new Imm(1), 'i'),
128 it('let i = 5; let j = !i', function () {
129 let insns = compileMainSnippet("let i = 5; let j = !i");
130 IRNode.pg = new PandaGen("foo", creatAstFromSnippet("let i = 5; let j = !i"), 0, undefined);
136 new Sttoglobalrecord(new Imm(0), 'i'),
137 new Tryldglobalbyname(new Imm(1), 'i'),
152 it('let i = 5; let j = ~i', function () {
153 let insns = compileMainSnippet("let i = 5; let j = ~i");
154 IRNode.pg = new PandaGen("foo", creatAstFromSnippet("let i = 5; let j = ~i"), 0, undefined);
160 new Sttoglobalrecord(new Imm(0), 'i'),
161 new Tryldglobalbyname(new Imm(1), 'i'),