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

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

Issue 2038323002: [interpreter] Filter expression positions at source. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@oth-0060-source-position-testing
Patch Set: Rebase Created 4 years, 6 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 pool type: number 6 pool type: number
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
11 snippet: " 11 snippet: "
12 var x = 0; 12 var x = 0;
13 while (x != 10) { 13 while (x != 10) {
14 x = x + 10; 14 x = x + 10;
15 } 15 }
16 return x; 16 return x;
17 " 17 "
18 frame size: 1 18 frame size: 1
19 parameter count: 1 19 parameter count: 1
20 bytecode array length: 23 20 bytecode array length: 23
21 bytecodes: [ 21 bytecodes: [
22 /* 30 E> */ B(StackCheck), 22 /* 30 E> */ B(StackCheck),
23 /* 42 S> */ B(LdaZero), 23 /* 42 S> */ B(LdaZero),
24 /* 42 E> */ B(Star), R(0), 24 B(Star), R(0),
25 /* 54 S> */ B(LdaSmi), U8(10), 25 /* 54 S> */ B(LdaSmi), U8(10),
26 /* 54 E> */ B(TestEqual), R(0), 26 /* 54 E> */ B(TestEqual), R(0),
27 B(LogicalNot), 27 B(LogicalNot),
28 B(JumpIfFalse), U8(11), 28 B(JumpIfFalse), U8(11),
29 /* 45 E> */ B(StackCheck), 29 /* 45 E> */ B(StackCheck),
30 /* 65 S> */ B(LdaSmi), U8(10), 30 /* 65 S> */ B(LdaSmi), U8(10),
31 B(Add), R(0), 31 B(Add), R(0),
32 /* 67 E> */ B(Star), R(0), 32 B(Star), R(0),
33 B(Jump), U8(-14), 33 B(Jump), U8(-14),
34 /* 79 S> */ B(Ldar), R(0), 34 /* 79 S> */ B(Ldar), R(0),
35 /* 89 S> */ B(Return), 35 /* 89 S> */ B(Return),
36 ] 36 ]
37 constant pool: [ 37 constant pool: [
38 ] 38 ]
39 handlers: [ 39 handlers: [
40 ] 40 ]
41 41
42 --- 42 ---
43 snippet: " 43 snippet: "
44 var x = false; 44 var x = false;
45 do { 45 do {
46 x = !x; 46 x = !x;
47 } while(x == false); 47 } while(x == false);
48 return x; 48 return x;
49 " 49 "
50 frame size: 1 50 frame size: 1
51 parameter count: 1 51 parameter count: 1
52 bytecode array length: 18 52 bytecode array length: 18
53 bytecodes: [ 53 bytecodes: [
54 /* 30 E> */ B(StackCheck), 54 /* 30 E> */ B(StackCheck),
55 /* 42 S> */ B(LdaFalse), 55 /* 42 S> */ B(LdaFalse),
56 /* 42 E> */ B(Star), R(0), 56 B(Star), R(0),
57 /* 49 E> */ B(StackCheck), 57 /* 49 E> */ B(StackCheck),
58 /* 56 S> */ B(Ldar), R(0), 58 /* 56 S> */ B(Ldar), R(0),
59 B(ToBooleanLogicalNot), 59 B(ToBooleanLogicalNot),
60 /* 58 E> */ B(Star), R(0), 60 B(Star), R(0),
61 /* 74 S> */ B(LdaFalse), 61 /* 74 S> */ B(LdaFalse),
62 /* 74 E> */ B(TestEqual), R(0), 62 /* 74 E> */ B(TestEqual), R(0),
63 B(JumpIfTrue), U8(-9), 63 B(JumpIfTrue), U8(-9),
64 /* 85 S> */ B(Ldar), R(0), 64 /* 85 S> */ B(Ldar), R(0),
65 /* 95 S> */ B(Return), 65 /* 95 S> */ B(Return),
66 ] 66 ]
67 constant pool: [ 67 constant pool: [
68 ] 68 ]
69 handlers: [ 69 handlers: [
70 ] 70 ]
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 B(Star), R(0), 175 B(Star), R(0),
176 /* 46 S> */ B(LdaSmi), U8(-1), 176 /* 46 S> */ B(LdaSmi), U8(-1),
177 B(Mul), R(0), 177 B(Mul), R(0),
178 /* 57 S> */ B(Return), 178 /* 57 S> */ B(Return),
179 ] 179 ]
180 constant pool: [ 180 constant pool: [
181 ] 181 ]
182 handlers: [ 182 handlers: [
183 ] 183 ]
184 184
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698