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

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

Issue 2504153002: [TypeFeedbackVector] Root literal arrays in function literals slots (Closed)
Patch Set: REBASE. Created 4 years 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;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 --- 95 ---
96 snippet: " 96 snippet: "
97 outer: { 97 outer: {
98 let y = 10; 98 let y = 10;
99 function f() { return y; } 99 function f() { return y; }
100 break outer; 100 break outer;
101 } 101 }
102 " 102 "
103 frame size: 3 103 frame size: 3
104 parameter count: 1 104 parameter count: 1
105 bytecode array length: 30 105 bytecode array length: 31
106 bytecodes: [ 106 bytecodes: [
107 /* 30 E> */ B(StackCheck), 107 /* 30 E> */ B(StackCheck),
108 B(Ldar), R(closure), 108 B(Ldar), R(closure),
109 B(CreateBlockContext), U8(0), 109 B(CreateBlockContext), U8(0),
110 B(PushContext), R(2), 110 B(PushContext), R(2),
111 B(LdaTheHole), 111 B(LdaTheHole),
112 B(StaCurrentContextSlot), U8(4), 112 B(StaCurrentContextSlot), U8(4),
113 B(CreateClosure), U8(1), U8(2), 113 B(CreateClosure), U8(1), U8(2), U8(2),
114 B(Star), R(0), 114 B(Star), R(0),
115 /* 53 S> */ B(LdaSmi), U8(10), 115 /* 53 S> */ B(LdaSmi), U8(10),
116 /* 53 E> */ B(StaCurrentContextSlot), U8(4), 116 /* 53 E> */ B(StaCurrentContextSlot), U8(4),
117 B(Mov), R(0), R(1), 117 B(Mov), R(0), R(1),
118 B(Ldar), R(0), 118 B(Ldar), R(0),
119 /* 88 S> */ B(Jump), U8(2), 119 /* 88 S> */ B(Jump), U8(2),
120 B(PopContext), R(2), 120 B(PopContext), R(2),
121 B(LdaUndefined), 121 B(LdaUndefined),
122 /* 103 S> */ B(Return), 122 /* 103 S> */ B(Return),
123 ] 123 ]
(...skipping 12 matching lines...) Expand all
136 let y = 2; 136 let y = 2;
137 function f() { return x + y; } 137 function f() { return x + y; }
138 if (y) break outer; 138 if (y) break outer;
139 y = 3; 139 y = 3;
140 } 140 }
141 } 141 }
142 x = 4; 142 x = 4;
143 " 143 "
144 frame size: 4 144 frame size: 4
145 parameter count: 1 145 parameter count: 1
146 bytecode array length: 53 146 bytecode array length: 54
147 bytecodes: [ 147 bytecodes: [
148 B(CreateFunctionContext), U8(1), 148 B(CreateFunctionContext), U8(1),
149 B(PushContext), R(2), 149 B(PushContext), R(2),
150 B(LdaTheHole), 150 B(LdaTheHole),
151 B(StaCurrentContextSlot), U8(4), 151 B(StaCurrentContextSlot), U8(4),
152 /* 30 E> */ B(StackCheck), 152 /* 30 E> */ B(StackCheck),
153 /* 42 S> */ B(LdaSmi), U8(1), 153 /* 42 S> */ B(LdaSmi), U8(1),
154 /* 42 E> */ B(StaCurrentContextSlot), U8(4), 154 /* 42 E> */ B(StaCurrentContextSlot), U8(4),
155 B(Ldar), R(closure), 155 B(Ldar), R(closure),
156 B(CreateBlockContext), U8(0), 156 B(CreateBlockContext), U8(0),
157 B(PushContext), R(3), 157 B(PushContext), R(3),
158 B(LdaTheHole), 158 B(LdaTheHole),
159 B(StaCurrentContextSlot), U8(4), 159 B(StaCurrentContextSlot), U8(4),
160 B(CreateClosure), U8(1), U8(2), 160 B(CreateClosure), U8(1), U8(2), U8(2),
161 B(Star), R(0), 161 B(Star), R(0),
162 /* 76 S> */ B(LdaSmi), U8(2), 162 /* 76 S> */ B(LdaSmi), U8(2),
163 /* 76 E> */ B(StaCurrentContextSlot), U8(4), 163 /* 76 E> */ B(StaCurrentContextSlot), U8(4),
164 B(Mov), R(0), R(1), 164 B(Mov), R(0), R(1),
165 /* 118 S> */ B(LdaCurrentContextSlot), U8(4), 165 /* 118 S> */ B(LdaCurrentContextSlot), U8(4),
166 B(JumpIfToBooleanFalse), U8(6), 166 B(JumpIfToBooleanFalse), U8(6),
167 /* 125 S> */ B(PopContext), R(3), 167 /* 125 S> */ B(PopContext), R(3),
168 B(Jump), U8(8), 168 B(Jump), U8(8),
169 /* 142 S> */ B(LdaSmi), U8(3), 169 /* 142 S> */ B(LdaSmi), U8(3),
170 /* 144 E> */ B(StaCurrentContextSlot), U8(4), 170 /* 144 E> */ B(StaCurrentContextSlot), U8(4),
171 B(PopContext), R(3), 171 B(PopContext), R(3),
172 /* 155 S> */ B(LdaSmi), U8(4), 172 /* 155 S> */ B(LdaSmi), U8(4),
173 /* 157 E> */ B(StaCurrentContextSlot), U8(4), 173 /* 157 E> */ B(StaCurrentContextSlot), U8(4),
174 B(LdaUndefined), 174 B(LdaUndefined),
175 /* 162 S> */ B(Return), 175 /* 162 S> */ B(Return),
176 ] 176 ]
177 constant pool: [ 177 constant pool: [
178 FIXED_ARRAY_TYPE, 178 FIXED_ARRAY_TYPE,
179 SHARED_FUNCTION_INFO_TYPE, 179 SHARED_FUNCTION_INFO_TYPE,
180 ] 180 ]
181 handlers: [ 181 handlers: [
182 ] 182 ]
183 183
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698