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

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

Issue 1998203002: [Interpreter] Preserve source positions in peephole optimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Nitlet on last patch set. 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: mixed 6 pool type: mixed
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
(...skipping 17 matching lines...) Expand all
28 --- 28 ---
29 snippet: " 29 snippet: "
30 var a = 1; return [ a, a + 1 ]; 30 var a = 1; return [ a, a + 1 ];
31 " 31 "
32 frame size: 4 32 frame size: 4
33 parameter count: 1 33 parameter count: 1
34 bytecode array length: 39 34 bytecode array length: 39
35 bytecodes: [ 35 bytecodes: [
36 /* 30 E> */ B(StackCheck), 36 /* 30 E> */ B(StackCheck),
37 /* 42 S> */ B(LdaSmi), U8(1), 37 /* 42 S> */ B(LdaSmi), U8(1),
38 /* 42 E> */ B(Star), R(0), 38 B(Star), R(0),
39 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), 39 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3),
40 B(Star), R(2), 40 B(Star), R(2),
41 B(LdaZero), 41 B(LdaZero),
42 B(Star), R(1), 42 B(Star), R(1),
43 /* 54 E> */ B(Ldar), R(0), 43 /* 54 E> */ B(Ldar), R(0),
44 B(KeyedStoreICSloppy), R(2), R(1), U8(1), 44 B(KeyedStoreICSloppy), R(2), R(1), U8(1),
45 B(LdaSmi), U8(1), 45 B(LdaSmi), U8(1),
46 B(Star), R(1), 46 B(Star), R(1),
47 /* 57 E> */ B(Ldar), R(0), 47 /* 57 E> */ B(Ldar), R(0),
48 B(Star), R(3), 48 B(Star), R(3),
(...skipping 30 matching lines...) Expand all
79 --- 79 ---
80 snippet: " 80 snippet: "
81 var a = 1; return [ [ a, 2 ], [ a + 2 ] ]; 81 var a = 1; return [ [ a, 2 ], [ a + 2 ] ];
82 " 82 "
83 frame size: 6 83 frame size: 6
84 parameter count: 1 84 parameter count: 1
85 bytecode array length: 69 85 bytecode array length: 69
86 bytecodes: [ 86 bytecodes: [
87 /* 30 E> */ B(StackCheck), 87 /* 30 E> */ B(StackCheck),
88 /* 42 S> */ B(LdaSmi), U8(1), 88 /* 42 S> */ B(LdaSmi), U8(1),
89 /* 42 E> */ B(Star), R(0), 89 B(Star), R(0),
90 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(2), 90 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(2),
91 B(Star), R(2), 91 B(Star), R(2),
92 B(LdaZero), 92 B(LdaZero),
93 B(Star), R(1), 93 B(Star), R(1),
94 B(CreateArrayLiteral), U8(1), U8(0), U8(3), 94 B(CreateArrayLiteral), U8(1), U8(0), U8(3),
95 B(Star), R(4), 95 B(Star), R(4),
96 B(LdaZero), 96 B(LdaZero),
97 B(Star), R(3), 97 B(Star), R(3),
98 /* 56 E> */ B(Ldar), R(0), 98 /* 56 E> */ B(Ldar), R(0),
99 B(KeyedStoreICSloppy), R(4), R(3), U8(1), 99 B(KeyedStoreICSloppy), R(4), R(3), U8(1),
(...skipping 16 matching lines...) Expand all
116 /* 77 S> */ B(Return), 116 /* 77 S> */ B(Return),
117 ] 117 ]
118 constant pool: [ 118 constant pool: [
119 InstanceType::FIXED_ARRAY_TYPE, 119 InstanceType::FIXED_ARRAY_TYPE,
120 InstanceType::FIXED_ARRAY_TYPE, 120 InstanceType::FIXED_ARRAY_TYPE,
121 InstanceType::FIXED_ARRAY_TYPE, 121 InstanceType::FIXED_ARRAY_TYPE,
122 ] 122 ]
123 handlers: [ 123 handlers: [
124 ] 124 ]
125 125
OLDNEW
« no previous file with comments | « src/interpreter/bytecodes.cc ('k') | test/cctest/interpreter/bytecode_expectations/ArrayLiteralsWide.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698