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

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

Issue 2640273002: [ignition] Expect 'I' for signed bytecode operands (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 a = 1; 10 var a = 1;
11 try { a = 2; } finally { a = 3; } 11 try { a = 2; } finally { a = 3; }
12 " 12 "
13 frame size: 4 13 frame size: 4
14 parameter count: 1 14 parameter count: 1
15 bytecode array length: 47 15 bytecode array length: 47
16 bytecodes: [ 16 bytecodes: [
17 /* 30 E> */ B(StackCheck), 17 /* 30 E> */ B(StackCheck),
18 /* 42 S> */ B(LdaSmi), U8(1), 18 /* 42 S> */ B(LdaSmi), I8(1),
19 B(Star), R(0), 19 B(Star), R(0),
20 B(Mov), R(context), R(3), 20 B(Mov), R(context), R(3),
21 /* 51 S> */ B(LdaSmi), U8(2), 21 /* 51 S> */ B(LdaSmi), I8(2),
22 B(Star), R(0), 22 B(Star), R(0),
23 B(LdaSmi), U8(-1), 23 B(LdaSmi), I8(-1),
24 B(Star), R(1), 24 B(Star), R(1),
25 B(Jump), U8(7), 25 B(Jump), U8(7),
26 B(Star), R(2), 26 B(Star), R(2),
27 B(LdaZero), 27 B(LdaZero),
28 B(Star), R(1), 28 B(Star), R(1),
29 B(LdaTheHole), 29 B(LdaTheHole),
30 /* 53 E> */ B(SetPendingMessage), 30 /* 53 E> */ B(SetPendingMessage),
31 B(Star), R(3), 31 B(Star), R(3),
32 /* 70 S> */ B(LdaSmi), U8(3), 32 /* 70 S> */ B(LdaSmi), I8(3),
33 B(Star), R(0), 33 B(Star), R(0),
34 B(Ldar), R(3), 34 B(Ldar), R(3),
35 /* 72 E> */ B(SetPendingMessage), 35 /* 72 E> */ B(SetPendingMessage),
36 B(LdaZero), 36 B(LdaZero),
37 B(TestEqualStrict), R(1), U8(0), 37 B(TestEqualStrict), R(1), U8(0),
38 B(JumpIfTrue), U8(4), 38 B(JumpIfTrue), U8(4),
39 B(Jump), U8(5), 39 B(Jump), U8(5),
40 B(Ldar), R(2), 40 B(Ldar), R(2),
41 B(ReThrow), 41 B(ReThrow),
42 B(LdaUndefined), 42 B(LdaUndefined),
43 /* 79 S> */ B(Return), 43 /* 79 S> */ B(Return),
44 ] 44 ]
45 constant pool: [ 45 constant pool: [
46 ] 46 ]
47 handlers: [ 47 handlers: [
48 [8, 12, 18], 48 [8, 12, 18],
49 ] 49 ]
50 50
51 --- 51 ---
52 snippet: " 52 snippet: "
53 var a = 1; 53 var a = 1;
54 try { a = 2; } catch(e) { a = 20 } finally { a = 3; } 54 try { a = 2; } catch(e) { a = 20 } finally { a = 3; }
55 " 55 "
56 frame size: 7 56 frame size: 7
57 parameter count: 1 57 parameter count: 1
58 bytecode array length: 74 58 bytecode array length: 74
59 bytecodes: [ 59 bytecodes: [
60 /* 30 E> */ B(StackCheck), 60 /* 30 E> */ B(StackCheck),
61 /* 42 S> */ B(LdaSmi), U8(1), 61 /* 42 S> */ B(LdaSmi), I8(1),
62 B(Star), R(0), 62 B(Star), R(0),
63 B(Mov), R(context), R(4), 63 B(Mov), R(context), R(4),
64 B(Mov), R(context), R(5), 64 B(Mov), R(context), R(5),
65 /* 51 S> */ B(LdaSmi), U8(2), 65 /* 51 S> */ B(LdaSmi), I8(2),
66 B(Star), R(0), 66 B(Star), R(0),
67 B(Jump), U8(24), 67 B(Jump), U8(24),
68 B(Star), R(6), 68 B(Star), R(6),
69 B(Ldar), R(closure), 69 B(Ldar), R(closure),
70 /* 53 E> */ B(CreateCatchContext), R(6), U8(0), U8(1), 70 /* 53 E> */ B(CreateCatchContext), R(6), U8(0), U8(1),
71 B(Star), R(5), 71 B(Star), R(5),
72 B(LdaTheHole), 72 B(LdaTheHole),
73 B(SetPendingMessage), 73 B(SetPendingMessage),
74 B(Ldar), R(5), 74 B(Ldar), R(5),
75 B(PushContext), R(1), 75 B(PushContext), R(1),
76 /* 71 S> */ B(LdaSmi), U8(20), 76 /* 71 S> */ B(LdaSmi), I8(20),
77 B(Star), R(0), 77 B(Star), R(0),
78 B(PopContext), R(1), 78 B(PopContext), R(1),
79 B(LdaSmi), U8(-1), 79 B(LdaSmi), I8(-1),
80 B(Star), R(2), 80 B(Star), R(2),
81 B(Jump), U8(7), 81 B(Jump), U8(7),
82 B(Star), R(3), 82 B(Star), R(3),
83 B(LdaZero), 83 B(LdaZero),
84 B(Star), R(2), 84 B(Star), R(2),
85 B(LdaTheHole), 85 B(LdaTheHole),
86 /* 73 E> */ B(SetPendingMessage), 86 /* 73 E> */ B(SetPendingMessage),
87 B(Star), R(4), 87 B(Star), R(4),
88 /* 90 S> */ B(LdaSmi), U8(3), 88 /* 90 S> */ B(LdaSmi), I8(3),
89 B(Star), R(0), 89 B(Star), R(0),
90 B(Ldar), R(4), 90 B(Ldar), R(4),
91 /* 92 E> */ B(SetPendingMessage), 91 /* 92 E> */ B(SetPendingMessage),
92 B(LdaZero), 92 B(LdaZero),
93 B(TestEqualStrict), R(2), U8(0), 93 B(TestEqualStrict), R(2), U8(0),
94 B(JumpIfTrue), U8(4), 94 B(JumpIfTrue), U8(4),
95 B(Jump), U8(5), 95 B(Jump), U8(5),
96 B(Ldar), R(3), 96 B(Ldar), R(3),
97 B(ReThrow), 97 B(ReThrow),
98 B(LdaUndefined), 98 B(LdaUndefined),
(...skipping 15 matching lines...) Expand all
114 } catch(e) { a = 20 } finally { a = 3; } 114 } catch(e) { a = 20 } finally { a = 3; }
115 " 115 "
116 frame size: 8 116 frame size: 8
117 parameter count: 1 117 parameter count: 1
118 bytecode array length: 97 118 bytecode array length: 97
119 bytecodes: [ 119 bytecodes: [
120 /* 30 E> */ B(StackCheck), 120 /* 30 E> */ B(StackCheck),
121 B(Mov), R(context), R(4), 121 B(Mov), R(context), R(4),
122 B(Mov), R(context), R(5), 122 B(Mov), R(context), R(5),
123 B(Mov), R(context), R(6), 123 B(Mov), R(context), R(6),
124 /* 55 S> */ B(LdaSmi), U8(1), 124 /* 55 S> */ B(LdaSmi), I8(1),
125 B(Star), R(0), 125 B(Star), R(0),
126 B(Jump), U8(24), 126 B(Jump), U8(24),
127 B(Star), R(7), 127 B(Star), R(7),
128 B(Ldar), R(closure), 128 B(Ldar), R(closure),
129 /* 57 E> */ B(CreateCatchContext), R(7), U8(0), U8(1), 129 /* 57 E> */ B(CreateCatchContext), R(7), U8(0), U8(1),
130 B(Star), R(6), 130 B(Star), R(6),
131 B(LdaTheHole), 131 B(LdaTheHole),
132 B(SetPendingMessage), 132 B(SetPendingMessage),
133 B(Ldar), R(6), 133 B(Ldar), R(6),
134 B(PushContext), R(1), 134 B(PushContext), R(1),
135 /* 74 S> */ B(LdaSmi), U8(2), 135 /* 74 S> */ B(LdaSmi), I8(2),
136 B(Star), R(0), 136 B(Star), R(0),
137 B(PopContext), R(1), 137 B(PopContext), R(1),
138 B(Jump), U8(24), 138 B(Jump), U8(24),
139 B(Star), R(6), 139 B(Star), R(6),
140 B(Ldar), R(closure), 140 B(Ldar), R(closure),
141 /* 76 E> */ B(CreateCatchContext), R(6), U8(0), U8(2), 141 /* 76 E> */ B(CreateCatchContext), R(6), U8(0), U8(2),
142 B(Star), R(5), 142 B(Star), R(5),
143 B(LdaTheHole), 143 B(LdaTheHole),
144 B(SetPendingMessage), 144 B(SetPendingMessage),
145 B(Ldar), R(5), 145 B(Ldar), R(5),
146 B(PushContext), R(1), 146 B(PushContext), R(1),
147 /* 95 S> */ B(LdaSmi), U8(20), 147 /* 95 S> */ B(LdaSmi), I8(20),
148 B(Star), R(0), 148 B(Star), R(0),
149 B(PopContext), R(1), 149 B(PopContext), R(1),
150 B(LdaSmi), U8(-1), 150 B(LdaSmi), I8(-1),
151 B(Star), R(2), 151 B(Star), R(2),
152 B(Jump), U8(7), 152 B(Jump), U8(7),
153 B(Star), R(3), 153 B(Star), R(3),
154 B(LdaZero), 154 B(LdaZero),
155 B(Star), R(2), 155 B(Star), R(2),
156 B(LdaTheHole), 156 B(LdaTheHole),
157 /* 97 E> */ B(SetPendingMessage), 157 /* 97 E> */ B(SetPendingMessage),
158 B(Star), R(4), 158 B(Star), R(4),
159 /* 114 S> */ B(LdaSmi), U8(3), 159 /* 114 S> */ B(LdaSmi), I8(3),
160 B(Star), R(0), 160 B(Star), R(0),
161 B(Ldar), R(4), 161 B(Ldar), R(4),
162 /* 116 E> */ B(SetPendingMessage), 162 /* 116 E> */ B(SetPendingMessage),
163 B(LdaZero), 163 B(LdaZero),
164 B(TestEqualStrict), R(2), U8(0), 164 B(TestEqualStrict), R(2), U8(0),
165 B(JumpIfTrue), U8(4), 165 B(JumpIfTrue), U8(4),
166 B(Jump), U8(5), 166 B(Jump), U8(5),
167 B(Ldar), R(3), 167 B(Ldar), R(3),
168 B(ReThrow), 168 B(ReThrow),
169 B(LdaUndefined), 169 B(LdaUndefined),
170 /* 123 S> */ B(Return), 170 /* 123 S> */ B(Return),
171 ] 171 ]
172 constant pool: [ 172 constant pool: [
173 ONE_BYTE_INTERNALIZED_STRING_TYPE ["e"], 173 ONE_BYTE_INTERNALIZED_STRING_TYPE ["e"],
174 FIXED_ARRAY_TYPE, 174 FIXED_ARRAY_TYPE,
175 FIXED_ARRAY_TYPE, 175 FIXED_ARRAY_TYPE,
176 ] 176 ]
177 handlers: [ 177 handlers: [
178 [4, 62, 68], 178 [4, 62, 68],
179 [7, 38, 40], 179 [7, 38, 40],
180 [10, 14, 16], 180 [10, 14, 16],
181 ] 181 ]
182 182
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698