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

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

Issue 1998203002: [Interpreter] Preserve source positions in peephole optimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Simplify condition. Created 4 years, 7 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 ---
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 ] 112 ]
113 handlers: [ 113 handlers: [
114 ] 114 ]
115 115
116 --- 116 ---
117 snippet: " 117 snippet: "
118 var a = 2, b = 3, c = 4; return a || (a, b, a, b, c = 5, 3); 118 var a = 2, b = 3, c = 4; return a || (a, b, a, b, c = 5, 3);
119 " 119 "
120 frame size: 3 120 frame size: 3
121 parameter count: 1 121 parameter count: 1
122 bytecode array length: 24 122 bytecode array length: 30
123 bytecodes: [ 123 bytecodes: [
124 /* 30 E> */ B(StackCheck), 124 /* 30 E> */ B(StackCheck),
125 /* 42 S> */ B(LdaSmi), U8(2), 125 /* 42 S> */ B(LdaSmi), U8(2),
126 /* 42 E> */ B(Star), R(0), 126 /* 42 E> */ B(Star), R(0),
127 /* 49 S> */ B(LdaSmi), U8(3), 127 /* 49 S> */ B(LdaSmi), U8(3),
128 /* 49 E> */ B(Star), R(1), 128 /* 49 E> */ B(Star), R(1),
129 /* 56 S> */ B(LdaSmi), U8(4), 129 /* 56 S> */ B(LdaSmi), U8(4),
130 /* 56 E> */ B(Star), R(2), 130 /* 56 E> */ B(Star), R(2),
131 /* 59 S> */ B(Ldar), R(0), 131 /* 59 S> */ B(Ldar), R(0),
132 B(JumpIfToBooleanTrue), U8(8), 132 B(JumpIfToBooleanTrue), U8(14),
133 /* 72 E> */ B(Ldar), R(0),
134 /* 75 E> */ B(Ldar), R(1),
135 /* 78 E> */ B(Ldar), R(0),
133 /* 81 E> */ B(LdaSmi), U8(5), 136 /* 81 E> */ B(LdaSmi), U8(5),
134 /* 86 E> */ B(Star), R(2), 137 /* 86 E> */ B(Star), R(2),
135 B(LdaSmi), U8(3), 138 B(LdaSmi), U8(3),
136 /* 95 S> */ B(Return), 139 /* 95 S> */ B(Return),
137 ] 140 ]
138 constant pool: [ 141 constant pool: [
139 ] 142 ]
140 handlers: [ 143 handlers: [
141 ] 144 ]
142 145
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
940 B(JumpIfToBooleanTrue), U8(3), 943 B(JumpIfToBooleanTrue), U8(3),
941 B(LdaZero), 944 B(LdaZero),
942 B(LdaSmi), U8(1), 945 B(LdaSmi), U8(1),
943 /* 68 S> */ B(Return), 946 /* 68 S> */ B(Return),
944 ] 947 ]
945 constant pool: [ 948 constant pool: [
946 ] 949 ]
947 handlers: [ 950 handlers: [
948 ] 951 ]
949 952
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698