Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/UnaryOperators.golden

Issue 2641443002: [ignition] Use absolute values for jump offsets (Closed)
Patch Set: Rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # 1 #
2 # Autogenerated by generate-bytecode-expectations. 2 # Autogenerated by generate-bytecode-expectations.
3 # 3 #
4 4
5 --- 5 ---
6 wrap: yes 6 wrap: yes
7 7
8 --- 8 ---
9 snippet: " 9 snippet: "
10 var x = 0; 10 var x = 0;
11 while (x != 10) { 11 while (x != 10) {
12 x = x + 10; 12 x = x + 10;
13 } 13 }
14 return x; 14 return x;
15 " 15 "
16 frame size: 1 16 frame size: 1
17 parameter count: 1 17 parameter count: 1
18 bytecode array length: 25 18 bytecode array length: 25
19 bytecodes: [ 19 bytecodes: [
20 /* 30 E> */ B(StackCheck), 20 /* 30 E> */ B(StackCheck),
21 /* 42 S> */ B(LdaZero), 21 /* 42 S> */ B(LdaZero),
22 B(Star), R(0), 22 B(Star), R(0),
23 /* 54 S> */ B(LdaSmi), U8(10), 23 /* 54 S> */ B(LdaSmi), U8(10),
24 /* 54 E> */ B(TestEqual), R(0), U8(2), 24 /* 54 E> */ B(TestEqual), R(0), U8(2),
25 B(JumpIfTrue), U8(13), 25 B(JumpIfTrue), U8(13),
26 /* 45 E> */ B(StackCheck), 26 /* 45 E> */ B(StackCheck),
27 /* 65 S> */ B(LdaSmi), U8(10), 27 /* 65 S> */ B(LdaSmi), U8(10),
28 /* 71 E> */ B(Add), R(0), U8(3), 28 /* 71 E> */ B(Add), R(0), U8(3),
29 B(Star), R(0), 29 B(Star), R(0),
30 B(JumpLoop), U8(-15), U8(0), 30 B(JumpLoop), U8(15), U8(0),
31 /* 79 S> */ B(Ldar), R(0), 31 /* 79 S> */ B(Ldar), R(0),
32 /* 89 S> */ B(Return), 32 /* 89 S> */ B(Return),
33 ] 33 ]
34 constant pool: [ 34 constant pool: [
35 ] 35 ]
36 handlers: [ 36 handlers: [
37 ] 37 ]
38 38
39 --- 39 ---
40 snippet: " 40 snippet: "
(...skipping 10 matching lines...) Expand all
51 /* 30 E> */ B(StackCheck), 51 /* 30 E> */ B(StackCheck),
52 /* 42 S> */ B(LdaFalse), 52 /* 42 S> */ B(LdaFalse),
53 B(Star), R(0), 53 B(Star), R(0),
54 /* 49 E> */ B(StackCheck), 54 /* 49 E> */ B(StackCheck),
55 /* 56 S> */ B(Ldar), R(0), 55 /* 56 S> */ B(Ldar), R(0),
56 B(ToBooleanLogicalNot), 56 B(ToBooleanLogicalNot),
57 B(Star), R(0), 57 B(Star), R(0),
58 /* 74 S> */ B(LdaFalse), 58 /* 74 S> */ B(LdaFalse),
59 /* 74 E> */ B(TestEqual), R(0), U8(2), 59 /* 74 E> */ B(TestEqual), R(0), U8(2),
60 B(JumpIfFalse), U8(5), 60 B(JumpIfFalse), U8(5),
61 B(JumpLoop), U8(-12), U8(0), 61 B(JumpLoop), U8(12), U8(0),
62 /* 85 S> */ B(Ldar), R(0), 62 /* 85 S> */ B(Ldar), R(0),
63 /* 95 S> */ B(Return), 63 /* 95 S> */ B(Return),
64 ] 64 ]
65 constant pool: [ 65 constant pool: [
66 ] 66 ]
67 handlers: [ 67 handlers: [
68 ] 68 ]
69 69
70 --- 70 ---
71 snippet: " 71 snippet: "
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 B(Star), R(0), 172 B(Star), R(0),
173 /* 46 S> */ B(LdaSmi), U8(-1), 173 /* 46 S> */ B(LdaSmi), U8(-1),
174 /* 53 E> */ B(Mul), R(0), U8(2), 174 /* 53 E> */ B(Mul), R(0), U8(2),
175 /* 57 S> */ B(Return), 175 /* 57 S> */ B(Return),
176 ] 176 ]
177 constant pool: [ 177 constant pool: [
178 ] 178 ]
179 handlers: [ 179 handlers: [
180 ] 180 ]
181 181
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698