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

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

Issue 2677163003: WIP: type profiling. (Closed)
Patch Set: Rebaseline. Created 3 years, 10 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 ];
(...skipping 11 matching lines...) Expand all
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: 39
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(LdaConstant), U8(0),
36 B(Star), R(1),
37 B(LdaSmi), I8(1),
36 B(Star), R(0), 38 B(Star), R(0),
37 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(3), U8(9), 39 /* 45 S> */ B(CreateArrayLiteral), U8(1), U8(5), U8(9),
38 B(Star), R(2), 40 B(Star), R(2),
39 B(LdaZero), 41 B(LdaZero),
40 B(Star), R(1), 42 B(Star), R(1),
41 B(Ldar), R(0), 43 B(Ldar), R(0),
42 /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(4), 44 /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(6),
43 B(LdaSmi), I8(1), 45 B(LdaSmi), I8(1),
44 B(Star), R(1), 46 B(Star), R(1),
45 /* 59 E> */ B(AddSmi), I8(1), R(0), U8(2), 47 /* 59 E> */ B(AddSmi), I8(1), R(0), U8(4),
46 B(StaKeyedPropertySloppy), R(2), R(1), U8(4), 48 B(StaKeyedPropertySloppy), R(2), R(1), U8(6),
47 B(Ldar), R(2), 49 B(Ldar), R(2),
48 /* 66 S> */ B(Return), 50 /* 66 S> */ B(Return),
49 ] 51 ]
50 constant pool: [ 52 constant pool: [
53 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
51 CONSTANT_ELEMENTS_PAIR_TYPE, 54 CONSTANT_ELEMENTS_PAIR_TYPE,
52 ] 55 ]
53 handlers: [ 56 handlers: [
54 ] 57 ]
55 58
56 --- 59 ---
57 snippet: " 60 snippet: "
58 return [ [ 1, 2 ], [ 3 ] ]; 61 return [ [ 1, 2 ], [ 3 ] ];
59 " 62 "
60 frame size: 0 63 frame size: 0
61 parameter count: 1 64 parameter count: 1
62 bytecode array length: 6 65 bytecode array length: 6
63 bytecodes: [ 66 bytecodes: [
64 /* 30 E> */ B(StackCheck), 67 /* 30 E> */ B(StackCheck),
65 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(4), U8(0), 68 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(4), U8(0),
66 /* 62 S> */ B(Return), 69 /* 62 S> */ B(Return),
67 ] 70 ]
68 constant pool: [ 71 constant pool: [
69 CONSTANT_ELEMENTS_PAIR_TYPE, 72 CONSTANT_ELEMENTS_PAIR_TYPE,
70 ] 73 ]
71 handlers: [ 74 handlers: [
72 ] 75 ]
73 76
74 --- 77 ---
75 snippet: " 78 snippet: "
76 var a = 1; return [ [ a, 2 ], [ a + 2 ] ]; 79 var a = 1; return [ [ a, 2 ], [ a + 2 ] ];
77 " 80 "
78 frame size: 5 81 frame size: 5
79 parameter count: 1 82 parameter count: 1
80 bytecode array length: 65 83 bytecode array length: 69
81 bytecodes: [ 84 bytecodes: [
82 /* 30 E> */ B(StackCheck), 85 /* 30 E> */ B(StackCheck),
83 /* 42 S> */ B(LdaSmi), I8(1), 86 /* 42 S> */ B(LdaConstant), U8(0),
87 B(Star), R(1),
88 B(LdaSmi), I8(1),
84 B(Star), R(0), 89 B(Star), R(0),
85 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(9), U8(0), 90 /* 45 S> */ B(CreateArrayLiteral), U8(1), U8(11), U8(0),
86 B(Star), R(2), 91 B(Star), R(2),
87 B(LdaZero), 92 B(LdaZero),
88 B(Star), R(1), 93 B(Star), R(1),
89 B(CreateArrayLiteral), U8(1), U8(2), U8(9), 94 B(CreateArrayLiteral), U8(2), U8(4), U8(9),
90 B(Star), R(4), 95 B(Star), R(4),
91 B(LdaZero), 96 B(LdaZero),
92 B(Star), R(3), 97 B(Star), R(3),
93 B(Ldar), R(0), 98 B(Ldar), R(0),
94 /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(3), 99 /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(5),
95 B(Ldar), R(4), 100 B(Ldar), R(4),
96 B(StaKeyedPropertySloppy), R(2), R(1), U8(10), 101 B(StaKeyedPropertySloppy), R(2), R(1), U8(12),
97 B(LdaSmi), I8(1), 102 B(LdaSmi), I8(1),
98 B(Star), R(1), 103 B(Star), R(1),
99 B(CreateArrayLiteral), U8(2), U8(6), U8(9), 104 B(CreateArrayLiteral), U8(3), U8(8), U8(9),
100 B(Star), R(4), 105 B(Star), R(4),
101 B(LdaZero), 106 B(LdaZero),
102 B(Star), R(3), 107 B(Star), R(3),
103 /* 68 E> */ B(AddSmi), I8(2), R(0), U8(5), 108 /* 68 E> */ B(AddSmi), I8(2), R(0), U8(7),
104 B(StaKeyedPropertySloppy), R(4), R(3), U8(7), 109 B(StaKeyedPropertySloppy), R(4), R(3), U8(9),
105 B(Ldar), R(4), 110 B(Ldar), R(4),
106 B(StaKeyedPropertySloppy), R(2), R(1), U8(10), 111 B(StaKeyedPropertySloppy), R(2), R(1), U8(12),
107 B(Ldar), R(2), 112 B(Ldar), R(2),
108 /* 77 S> */ B(Return), 113 /* 77 S> */ B(Return),
109 ] 114 ]
110 constant pool: [ 115 constant pool: [
116 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
111 CONSTANT_ELEMENTS_PAIR_TYPE, 117 CONSTANT_ELEMENTS_PAIR_TYPE,
112 CONSTANT_ELEMENTS_PAIR_TYPE, 118 CONSTANT_ELEMENTS_PAIR_TYPE,
113 CONSTANT_ELEMENTS_PAIR_TYPE, 119 CONSTANT_ELEMENTS_PAIR_TYPE,
114 ] 120 ]
115 handlers: [ 121 handlers: [
116 ] 122 ]
117 123
OLDNEW
« no previous file with comments | « src/runtime/runtime-object.cc ('k') | test/cctest/interpreter/bytecode_expectations/ArrayLiteralsWide.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698