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

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

Issue 2707873002: Collect type profile for DevTools. (Closed)
Patch Set: Use constructor name if available. 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: no 6 wrap: no
7 test function name: f 7 test function name: f
8 8
9 --- 9 ---
10 snippet: " 10 snippet: "
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 function f() { 105 function f() {
106 var a = 1; 106 var a = 1;
107 if (a) { 107 if (a) {
108 a += 1; 108 a += 1;
109 } else { 109 } else {
110 return 2; 110 return 2;
111 } 111 }
112 }; 112 };
113 f(); 113 f();
114 " 114 "
115 frame size: 2 115 frame size: 3
116 parameter count: 1 116 parameter count: 1
117 bytecode array length: 23 117 bytecode array length: 23
118 bytecodes: [ 118 bytecodes: [
119 /* 10 E> */ B(StackCheck), 119 /* 10 E> */ B(StackCheck),
120 /* 25 S> */ B(LdaSmi), I8(1), 120 /* 25 S> */ B(LdaSmi), I8(1),
121 B(Star), R(0), 121 B(Star), R(0),
122 /* 30 S> */ B(JumpIfToBooleanFalse), U8(13), 122 /* 30 S> */ B(JumpIfToBooleanFalse), U8(13),
123 /* 43 S> */ B(AddSmi), I8(1), R(0), U8(2), 123 /* 43 S> */ B(AddSmi), I8(1), R(0), U8(4),
124 B(Mov), R(0), R(1), 124 B(Mov), R(0), R(2),
125 B(Star), R(0), 125 B(Star), R(0),
126 B(Jump), U8(5), 126 B(Jump), U8(5),
127 /* 66 S> */ B(LdaSmi), I8(2), 127 /* 66 S> */ B(LdaSmi), I8(2),
128 /* 80 S> */ B(Return), 128 /* 80 S> */ B(Return),
129 B(LdaUndefined), 129 B(LdaUndefined),
130 /* 80 S> */ B(Return), 130 /* 80 S> */ B(Return),
131 ] 131 ]
132 constant pool: [ 132 constant pool: [
133 ] 133 ]
134 handlers: [ 134 handlers: [
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 frame size: 2 259 frame size: 2
260 parameter count: 2 260 parameter count: 2
261 bytecode array length: 410 261 bytecode array length: 410
262 bytecodes: [ 262 bytecodes: [
263 /* 10 E> */ B(StackCheck), 263 /* 10 E> */ B(StackCheck),
264 /* 24 S> */ B(LdaZero), 264 /* 24 S> */ B(LdaZero),
265 B(Star), R(0), 265 B(Star), R(0),
266 /* 35 S> */ B(LdaZero), 266 /* 35 S> */ B(LdaZero),
267 B(Star), R(1), 267 B(Star), R(1),
268 /* 38 S> */ B(LdaConstant), U8(0), 268 /* 38 S> */ B(LdaConstant), U8(0),
269 /* 44 E> */ B(TestEqualStrict), R(0), U8(2), 269 /* 44 E> */ B(TestEqualStrict), R(0), U8(6),
270 B(JumpIfFalseConstant), U8(1), 270 B(JumpIfFalseConstant), U8(1),
271 /* 58 S> */ B(Mov), R(0), R(1), 271 /* 58 S> */ B(Mov), R(0), R(1),
272 /* 65 S> */ B(Mov), R(1), R(0), 272 /* 65 S> */ B(Mov), R(1), R(0),
273 /* 74 S> */ B(Mov), R(0), R(1), 273 /* 74 S> */ B(Mov), R(0), R(1),
274 /* 81 S> */ B(Mov), R(1), R(0), 274 /* 81 S> */ B(Mov), R(1), R(0),
275 /* 90 S> */ B(Mov), R(0), R(1), 275 /* 90 S> */ B(Mov), R(0), R(1),
276 /* 97 S> */ B(Mov), R(1), R(0), 276 /* 97 S> */ B(Mov), R(1), R(0),
277 /* 106 S> */ B(Mov), R(0), R(1), 277 /* 106 S> */ B(Mov), R(0), R(1),
278 /* 113 S> */ B(Mov), R(1), R(0), 278 /* 113 S> */ B(Mov), R(1), R(0),
279 /* 122 S> */ B(Mov), R(0), R(1), 279 /* 122 S> */ B(Mov), R(0), R(1),
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 /* 118 S> */ B(LdaSmi), I8(-1), 772 /* 118 S> */ B(LdaSmi), I8(-1),
773 /* 133 S> */ B(Return), 773 /* 133 S> */ B(Return),
774 B(LdaUndefined), 774 B(LdaUndefined),
775 /* 133 S> */ B(Return), 775 /* 133 S> */ B(Return),
776 ] 776 ]
777 constant pool: [ 777 constant pool: [
778 ] 778 ]
779 handlers: [ 779 handlers: [
780 ] 780 ]
781 781
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698