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

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

Issue 2445333002: Ensure slow properties for simple {__proto__:null} literals. (Closed)
Patch Set: addressing nits Created 3 years, 9 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: yes 6 wrap: yes
7 7
8 --- 8 ---
9 snippet: " 9 snippet: "
10 return [ 1, 2 ]; 10 return [ 1, 2 ];
11 " 11 "
12 frame size: 0 12 frame size: 0
13 parameter count: 1 13 parameter count: 1
14 bytecode array length: 6 14 bytecode array length: 6
15 bytecodes: [ 15 bytecodes: [
16 /* 30 E> */ B(StackCheck), 16 /* 30 E> */ B(StackCheck),
17 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(9), 17 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(33),
18 /* 51 S> */ B(Return), 18 /* 51 S> */ B(Return),
19 ] 19 ]
20 constant pool: [ 20 constant pool: [
21 CONSTANT_ELEMENTS_PAIR_TYPE, 21 CONSTANT_ELEMENTS_PAIR_TYPE,
22 ] 22 ]
23 handlers: [ 23 handlers: [
24 ] 24 ]
25 25
26 --- 26 ---
27 snippet: " 27 snippet: "
28 var a = 1; return [ a, a + 1 ]; 28 var a = 1; return [ a, a + 1 ];
29 " 29 "
30 frame size: 3 30 frame size: 3
31 parameter count: 1 31 parameter count: 1
32 bytecode array length: 35 32 bytecode array length: 35
33 bytecodes: [ 33 bytecodes: [
34 /* 30 E> */ B(StackCheck), 34 /* 30 E> */ B(StackCheck),
35 /* 42 S> */ B(LdaSmi), I8(1), 35 /* 42 S> */ B(LdaSmi), I8(1),
36 B(Star), R(0), 36 B(Star), R(0),
37 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(3), U8(9), 37 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(3), U8(33),
38 B(Star), R(2), 38 B(Star), R(2),
39 B(LdaZero), 39 B(LdaZero),
40 B(Star), R(1), 40 B(Star), R(1),
41 B(Ldar), R(0), 41 B(Ldar), R(0),
42 /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(4), 42 /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(4),
43 B(LdaSmi), I8(1), 43 B(LdaSmi), I8(1),
44 B(Star), R(1), 44 B(Star), R(1),
45 /* 59 E> */ B(AddSmi), I8(1), R(0), U8(2), 45 /* 59 E> */ B(AddSmi), I8(1), R(0), U8(2),
46 B(StaKeyedPropertySloppy), R(2), R(1), U8(4), 46 B(StaKeyedPropertySloppy), R(2), R(1), U8(4),
47 B(Ldar), R(2), 47 B(Ldar), R(2),
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 parameter count: 1 79 parameter count: 1
80 bytecode array length: 65 80 bytecode array length: 65
81 bytecodes: [ 81 bytecodes: [
82 /* 30 E> */ B(StackCheck), 82 /* 30 E> */ B(StackCheck),
83 /* 42 S> */ B(LdaSmi), I8(1), 83 /* 42 S> */ B(LdaSmi), I8(1),
84 B(Star), R(0), 84 B(Star), R(0),
85 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(9), U8(0), 85 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(9), U8(0),
86 B(Star), R(2), 86 B(Star), R(2),
87 B(LdaZero), 87 B(LdaZero),
88 B(Star), R(1), 88 B(Star), R(1),
89 B(CreateArrayLiteral), U8(1), U8(2), U8(9), 89 B(CreateArrayLiteral), U8(1), U8(2), U8(33),
90 B(Star), R(4), 90 B(Star), R(4),
91 B(LdaZero), 91 B(LdaZero),
92 B(Star), R(3), 92 B(Star), R(3),
93 B(Ldar), R(0), 93 B(Ldar), R(0),
94 /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(3), 94 /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(3),
95 B(Ldar), R(4), 95 B(Ldar), R(4),
96 B(StaKeyedPropertySloppy), R(2), R(1), U8(10), 96 B(StaKeyedPropertySloppy), R(2), R(1), U8(10),
97 B(LdaSmi), I8(1), 97 B(LdaSmi), I8(1),
98 B(Star), R(1), 98 B(Star), R(1),
99 B(CreateArrayLiteral), U8(2), U8(6), U8(9), 99 B(CreateArrayLiteral), U8(2), U8(6), U8(33),
100 B(Star), R(4), 100 B(Star), R(4),
101 B(LdaZero), 101 B(LdaZero),
102 B(Star), R(3), 102 B(Star), R(3),
103 /* 68 E> */ B(AddSmi), I8(2), R(0), U8(5), 103 /* 68 E> */ B(AddSmi), I8(2), R(0), U8(5),
104 B(StaKeyedPropertySloppy), R(4), R(3), U8(7), 104 B(StaKeyedPropertySloppy), R(4), R(3), U8(7),
105 B(Ldar), R(4), 105 B(Ldar), R(4),
106 B(StaKeyedPropertySloppy), R(2), R(1), U8(10), 106 B(StaKeyedPropertySloppy), R(2), R(1), U8(10),
107 B(Ldar), R(2), 107 B(Ldar), R(2),
108 /* 77 S> */ B(Return), 108 /* 77 S> */ B(Return),
109 ] 109 ]
110 constant pool: [ 110 constant pool: [
111 CONSTANT_ELEMENTS_PAIR_TYPE, 111 CONSTANT_ELEMENTS_PAIR_TYPE,
112 CONSTANT_ELEMENTS_PAIR_TYPE, 112 CONSTANT_ELEMENTS_PAIR_TYPE,
113 CONSTANT_ELEMENTS_PAIR_TYPE, 113 CONSTANT_ELEMENTS_PAIR_TYPE,
114 ] 114 ]
115 handlers: [ 115 handlers: [
116 ] 116 ]
117 117
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698