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

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

Issue 2209633002: [Interpreter] Assign feedback slots for binary operations and use them in ignition. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased the patch. Created 4 years, 4 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 ld_a = 1; 12 var ld_a = 1;
13 while(true) { 13 while(true) {
14 ld_a = ld_a + ld_a; 14 ld_a = ld_a + ld_a;
15 if (ld_a > 10) break; 15 if (ld_a > 10) break;
16 } 16 }
17 return ld_a; 17 return ld_a;
18 " 18 "
19 frame size: 1 19 frame size: 1
20 parameter count: 1 20 parameter count: 1
21 bytecode array length: 25 21 bytecode array length: 26
22 bytecodes: [ 22 bytecodes: [
23 /* 30 E> */ B(StackCheck), 23 /* 30 E> */ B(StackCheck),
24 /* 45 S> */ B(LdaSmi), U8(1), 24 /* 45 S> */ B(LdaSmi), U8(1),
25 B(Star), R(0), 25 B(Star), R(0),
26 /* 48 E> */ B(StackCheck), 26 /* 48 E> */ B(StackCheck),
27 /* 64 S> */ B(Ldar), R(0), 27 /* 64 S> */ B(Ldar), R(0),
28 /* 78 E> */ B(Add), R(0), 28 /* 78 E> */ B(Add), R(0), U8(1),
29 B(Star), R(0), 29 B(Star), R(0),
30 /* 86 S> */ B(LdaSmi), U8(10), 30 /* 86 S> */ B(LdaSmi), U8(10),
31 /* 95 E> */ B(TestGreaterThan), R(0), 31 /* 95 E> */ B(TestGreaterThan), R(0),
32 B(JumpIfFalse), U8(4), 32 B(JumpIfFalse), U8(4),
33 /* 101 S> */ B(Jump), U8(4), 33 /* 101 S> */ B(Jump), U8(4),
34 B(Jump), U8(-15), 34 B(Jump), U8(-16),
35 /* 110 S> */ B(Ldar), R(0), 35 /* 110 S> */ B(Ldar), R(0),
36 /* 123 S> */ B(Return), 36 /* 123 S> */ B(Return),
37 ] 37 ]
38 constant pool: [ 38 constant pool: [
39 ] 39 ]
40 handlers: [ 40 handlers: [
41 ] 41 ]
42 42
43 --- 43 ---
44 snippet: " 44 snippet: "
45 var ld_a = 1; 45 var ld_a = 1;
46 do { 46 do {
47 ld_a = ld_a + ld_a; 47 ld_a = ld_a + ld_a;
48 if (ld_a > 10) continue; 48 if (ld_a > 10) continue;
49 } while(false); 49 } while(false);
50 return ld_a; 50 return ld_a;
51 " 51 "
52 frame size: 1 52 frame size: 1
53 parameter count: 1 53 parameter count: 1
54 bytecode array length: 22 54 bytecode array length: 23
55 bytecodes: [ 55 bytecodes: [
56 /* 30 E> */ B(StackCheck), 56 /* 30 E> */ B(StackCheck),
57 /* 45 S> */ B(LdaSmi), U8(1), 57 /* 45 S> */ B(LdaSmi), U8(1),
58 B(Star), R(0), 58 B(Star), R(0),
59 /* 48 E> */ B(StackCheck), 59 /* 48 E> */ B(StackCheck),
60 /* 55 S> */ B(Nop), 60 /* 55 S> */ B(Nop),
61 /* 69 E> */ B(Add), R(0), 61 /* 69 E> */ B(Add), R(0), U8(1),
62 B(Star), R(0), 62 B(Star), R(0),
63 /* 77 S> */ B(LdaSmi), U8(10), 63 /* 77 S> */ B(LdaSmi), U8(10),
64 /* 86 E> */ B(TestGreaterThan), R(0), 64 /* 86 E> */ B(TestGreaterThan), R(0),
65 B(JumpIfFalse), U8(4), 65 B(JumpIfFalse), U8(4),
66 /* 92 S> */ B(Jump), U8(2), 66 /* 92 S> */ B(Jump), U8(2),
67 /* 118 S> */ B(Ldar), R(0), 67 /* 118 S> */ B(Ldar), R(0),
68 /* 131 S> */ B(Return), 68 /* 131 S> */ B(Return),
69 ] 69 ]
70 constant pool: [ 70 constant pool: [
71 ] 71 ]
72 handlers: [ 72 handlers: [
73 ] 73 ]
74 74
75 --- 75 ---
76 snippet: " 76 snippet: "
77 var ld_a = 1; 77 var ld_a = 1;
78 ld_a = ld_a + ld_a; 78 ld_a = ld_a + ld_a;
79 return ld_a; 79 return ld_a;
80 " 80 "
81 frame size: 1 81 frame size: 1
82 parameter count: 1 82 parameter count: 1
83 bytecode array length: 12 83 bytecode array length: 13
84 bytecodes: [ 84 bytecodes: [
85 /* 30 E> */ B(StackCheck), 85 /* 30 E> */ B(StackCheck),
86 /* 45 S> */ B(LdaSmi), U8(1), 86 /* 45 S> */ B(LdaSmi), U8(1),
87 B(Star), R(0), 87 B(Star), R(0),
88 /* 50 S> */ B(Nop), 88 /* 50 S> */ B(Nop),
89 /* 64 E> */ B(Add), R(0), 89 /* 64 E> */ B(Add), R(0), U8(1),
90 B(Star), R(0), 90 B(Star), R(0),
91 /* 72 S> */ B(Nop), 91 /* 72 S> */ B(Nop),
92 /* 85 S> */ B(Return), 92 /* 85 S> */ B(Return),
93 ] 93 ]
94 constant pool: [ 94 constant pool: [
95 ] 95 ]
96 handlers: [ 96 handlers: [
97 ] 97 ]
98 98
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698