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

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

Issue 2445333002: Ensure slow properties for simple {__proto__:null} literals. (Closed)
Patch Set: fixing compilation issue Created 3 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 wrap: yes 6 wrap: yes
7 7
8 --- 8 ---
9 snippet: " 9 snippet: "
10 Math.max(...[1, 2, 3]); 10 Math.max(...[1, 2, 3]);
11 " 11 "
12 frame size: 3 12 frame size: 3
13 parameter count: 1 13 parameter count: 1
14 bytecode array length: 24 14 bytecode array length: 24
15 bytecodes: [ 15 bytecodes: [
16 /* 30 E> */ B(StackCheck), 16 /* 30 E> */ B(StackCheck),
17 /* 34 S> */ B(LdaGlobal), U8(0), U8(4), 17 /* 34 S> */ B(LdaGlobal), U8(0), U8(4),
18 B(Star), R(1), 18 B(Star), R(1),
19 /* 38 E> */ B(LdaNamedProperty), R(1), U8(1), U8(6), 19 /* 38 E> */ B(LdaNamedProperty), R(1), U8(1), U8(6),
20 B(Star), R(0), 20 B(Star), R(0),
21 B(CreateArrayLiteral), U8(2), U8(8), U8(9), 21 B(CreateArrayLiteral), U8(2), U8(8), U8(17),
22 B(Star), R(2), 22 B(Star), R(2),
23 /* 39 E> */ B(CallWithSpread), R(0), R(1), U8(2), 23 /* 39 E> */ B(CallWithSpread), R(0), R(1), U8(2),
24 B(LdaUndefined), 24 B(LdaUndefined),
25 /* 58 S> */ B(Return), 25 /* 58 S> */ B(Return),
26 ] 26 ]
27 constant pool: [ 27 constant pool: [
28 ONE_BYTE_INTERNALIZED_STRING_TYPE ["Math"], 28 ONE_BYTE_INTERNALIZED_STRING_TYPE ["Math"],
29 ONE_BYTE_INTERNALIZED_STRING_TYPE ["max"], 29 ONE_BYTE_INTERNALIZED_STRING_TYPE ["max"],
30 TUPLE2_TYPE, 30 TUPLE2_TYPE,
31 ] 31 ]
32 handlers: [ 32 handlers: [
33 ] 33 ]
34 34
35 --- 35 ---
36 snippet: " 36 snippet: "
37 Math.max(0, ...[1, 2, 3]); 37 Math.max(0, ...[1, 2, 3]);
38 " 38 "
39 frame size: 4 39 frame size: 4
40 parameter count: 1 40 parameter count: 1
41 bytecode array length: 27 41 bytecode array length: 27
42 bytecodes: [ 42 bytecodes: [
43 /* 30 E> */ B(StackCheck), 43 /* 30 E> */ B(StackCheck),
44 /* 34 S> */ B(LdaGlobal), U8(0), U8(4), 44 /* 34 S> */ B(LdaGlobal), U8(0), U8(4),
45 B(Star), R(1), 45 B(Star), R(1),
46 /* 38 E> */ B(LdaNamedProperty), R(1), U8(1), U8(6), 46 /* 38 E> */ B(LdaNamedProperty), R(1), U8(1), U8(6),
47 B(Star), R(0), 47 B(Star), R(0),
48 B(LdaZero), 48 B(LdaZero),
49 B(Star), R(2), 49 B(Star), R(2),
50 B(CreateArrayLiteral), U8(2), U8(8), U8(9), 50 B(CreateArrayLiteral), U8(2), U8(8), U8(17),
51 B(Star), R(3), 51 B(Star), R(3),
52 /* 39 E> */ B(CallWithSpread), R(0), R(1), U8(3), 52 /* 39 E> */ B(CallWithSpread), R(0), R(1), U8(3),
53 B(LdaUndefined), 53 B(LdaUndefined),
54 /* 61 S> */ B(Return), 54 /* 61 S> */ B(Return),
55 ] 55 ]
56 constant pool: [ 56 constant pool: [
57 ONE_BYTE_INTERNALIZED_STRING_TYPE ["Math"], 57 ONE_BYTE_INTERNALIZED_STRING_TYPE ["Math"],
58 ONE_BYTE_INTERNALIZED_STRING_TYPE ["max"], 58 ONE_BYTE_INTERNALIZED_STRING_TYPE ["max"],
59 TUPLE2_TYPE, 59 TUPLE2_TYPE,
60 ] 60 ]
(...skipping 10 matching lines...) Expand all
71 bytecodes: [ 71 bytecodes: [
72 /* 30 E> */ B(StackCheck), 72 /* 30 E> */ B(StackCheck),
73 /* 34 S> */ B(LdaUndefined), 73 /* 34 S> */ B(LdaUndefined),
74 B(Star), R(1), 74 B(Star), R(1),
75 /* 34 E> */ B(LdaGlobal), U8(0), U8(2), 75 /* 34 E> */ B(LdaGlobal), U8(0), U8(2),
76 B(Star), R(0), 76 B(Star), R(0),
77 B(LdaNamedProperty), R(0), U8(1), U8(4), 77 B(LdaNamedProperty), R(0), U8(1), U8(4),
78 B(Star), R(2), 78 B(Star), R(2),
79 B(LdaUndefined), 79 B(LdaUndefined),
80 B(Star), R(4), 80 B(Star), R(4),
81 B(CreateArrayLiteral), U8(2), U8(6), U8(9), 81 B(CreateArrayLiteral), U8(2), U8(6), U8(17),
82 B(Star), R(5), 82 B(Star), R(5),
83 B(LdaUndefined), 83 B(LdaUndefined),
84 B(Star), R(6), 84 B(Star), R(6),
85 B(CreateArrayLiteral), U8(3), U8(7), U8(9), 85 B(CreateArrayLiteral), U8(3), U8(7), U8(17),
86 B(Star), R(7), 86 B(Star), R(7),
87 B(CallJSRuntime), U8(%spread_iterable), R(6), U8(2), 87 B(CallJSRuntime), U8(%spread_iterable), R(6), U8(2),
88 B(Star), R(6), 88 B(Star), R(6),
89 B(CreateArrayLiteral), U8(4), U8(8), U8(9), 89 B(CreateArrayLiteral), U8(4), U8(8), U8(17),
90 B(Star), R(7), 90 B(Star), R(7),
91 B(CallJSRuntime), U8(%spread_arguments), R(4), U8(4), 91 B(CallJSRuntime), U8(%spread_arguments), R(4), U8(4),
92 B(Star), R(4), 92 B(Star), R(4),
93 B(Mov), R(0), R(3), 93 B(Mov), R(0), R(3),
94 B(CallJSRuntime), U8(%reflect_apply), R(1), U8(4), 94 B(CallJSRuntime), U8(%reflect_apply), R(1), U8(4),
95 B(LdaUndefined), 95 B(LdaUndefined),
96 /* 64 S> */ B(Return), 96 /* 64 S> */ B(Return),
97 ] 97 ]
98 constant pool: [ 98 constant pool: [
99 ONE_BYTE_INTERNALIZED_STRING_TYPE ["Math"], 99 ONE_BYTE_INTERNALIZED_STRING_TYPE ["Math"],
100 ONE_BYTE_INTERNALIZED_STRING_TYPE ["max"], 100 ONE_BYTE_INTERNALIZED_STRING_TYPE ["max"],
101 TUPLE2_TYPE, 101 TUPLE2_TYPE,
102 TUPLE2_TYPE, 102 TUPLE2_TYPE,
103 TUPLE2_TYPE, 103 TUPLE2_TYPE,
104 ] 104 ]
105 handlers: [ 105 handlers: [
106 ] 106 ]
107 107
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698