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

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

Issue 2310103002: [Interpreter] Remove constant pool type in tests (Closed)
Patch Set: Remove warning for pool type Created 4 years, 3 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
7 execute: yes 6 execute: yes
8 wrap: yes 7 wrap: yes
9 8
10 --- 9 ---
11 snippet: " 10 snippet: "
12 return [ 1, 2 ]; 11 return [ 1, 2 ];
13 " 12 "
14 frame size: 0 13 frame size: 0
15 parameter count: 1 14 parameter count: 1
16 bytecode array length: 6 15 bytecode array length: 6
17 bytecodes: [ 16 bytecodes: [
18 /* 30 E> */ B(StackCheck), 17 /* 30 E> */ B(StackCheck),
19 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), 18 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3),
20 /* 51 S> */ B(Return), 19 /* 51 S> */ B(Return),
21 ] 20 ]
22 constant pool: [ 21 constant pool: [
23 InstanceType::FIXED_ARRAY_TYPE, 22 FIXED_ARRAY_TYPE,
24 ] 23 ]
25 handlers: [ 24 handlers: [
26 ] 25 ]
27 26
28 --- 27 ---
29 snippet: " 28 snippet: "
30 var a = 1; return [ a, a + 1 ]; 29 var a = 1; return [ a, a + 1 ];
31 " 30 "
32 frame size: 3 31 frame size: 3
33 parameter count: 1 32 parameter count: 1
34 bytecode array length: 35 33 bytecode array length: 35
35 bytecodes: [ 34 bytecodes: [
36 /* 30 E> */ B(StackCheck), 35 /* 30 E> */ B(StackCheck),
37 /* 42 S> */ B(LdaSmi), U8(1), 36 /* 42 S> */ B(LdaSmi), U8(1),
38 B(Star), R(0), 37 B(Star), R(0),
39 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), 38 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3),
40 B(Star), R(2), 39 B(Star), R(2),
41 B(LdaZero), 40 B(LdaZero),
42 B(Star), R(1), 41 B(Star), R(1),
43 B(Ldar), R(0), 42 B(Ldar), R(0),
44 /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(2), 43 /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(2),
45 B(LdaSmi), U8(1), 44 B(LdaSmi), U8(1),
46 B(Star), R(1), 45 B(Star), R(1),
47 /* 57 E> */ B(AddSmi), U8(1), R(0), U8(1), 46 /* 57 E> */ B(AddSmi), U8(1), R(0), U8(1),
48 B(StaKeyedPropertySloppy), R(2), R(1), U8(2), 47 B(StaKeyedPropertySloppy), R(2), R(1), U8(2),
49 B(Ldar), R(2), 48 B(Ldar), R(2),
50 /* 66 S> */ B(Return), 49 /* 66 S> */ B(Return),
51 ] 50 ]
52 constant pool: [ 51 constant pool: [
53 InstanceType::FIXED_ARRAY_TYPE, 52 FIXED_ARRAY_TYPE,
54 ] 53 ]
55 handlers: [ 54 handlers: [
56 ] 55 ]
57 56
58 --- 57 ---
59 snippet: " 58 snippet: "
60 return [ [ 1, 2 ], [ 3 ] ]; 59 return [ [ 1, 2 ], [ 3 ] ];
61 " 60 "
62 frame size: 0 61 frame size: 0
63 parameter count: 1 62 parameter count: 1
64 bytecode array length: 6 63 bytecode array length: 6
65 bytecodes: [ 64 bytecodes: [
66 /* 30 E> */ B(StackCheck), 65 /* 30 E> */ B(StackCheck),
67 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(2), 66 /* 34 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(2),
68 /* 62 S> */ B(Return), 67 /* 62 S> */ B(Return),
69 ] 68 ]
70 constant pool: [ 69 constant pool: [
71 InstanceType::FIXED_ARRAY_TYPE, 70 FIXED_ARRAY_TYPE,
72 ] 71 ]
73 handlers: [ 72 handlers: [
74 ] 73 ]
75 74
76 --- 75 ---
77 snippet: " 76 snippet: "
78 var a = 1; return [ [ a, 2 ], [ a + 2 ] ]; 77 var a = 1; return [ [ a, 2 ], [ a + 2 ] ];
79 " 78 "
80 frame size: 5 79 frame size: 5
81 parameter count: 1 80 parameter count: 1
(...skipping 21 matching lines...) Expand all
103 B(LdaZero), 102 B(LdaZero),
104 B(Star), R(3), 103 B(Star), R(3),
105 /* 66 E> */ B(AddSmi), U8(2), R(0), U8(3), 104 /* 66 E> */ B(AddSmi), U8(2), R(0), U8(3),
106 B(StaKeyedPropertySloppy), R(4), R(3), U8(4), 105 B(StaKeyedPropertySloppy), R(4), R(3), U8(4),
107 B(Ldar), R(4), 106 B(Ldar), R(4),
108 B(StaKeyedPropertySloppy), R(2), R(1), U8(6), 107 B(StaKeyedPropertySloppy), R(2), R(1), U8(6),
109 B(Ldar), R(2), 108 B(Ldar), R(2),
110 /* 77 S> */ B(Return), 109 /* 77 S> */ B(Return),
111 ] 110 ]
112 constant pool: [ 111 constant pool: [
113 InstanceType::FIXED_ARRAY_TYPE, 112 FIXED_ARRAY_TYPE,
114 InstanceType::FIXED_ARRAY_TYPE, 113 FIXED_ARRAY_TYPE,
115 InstanceType::FIXED_ARRAY_TYPE, 114 FIXED_ARRAY_TYPE,
116 ] 115 ]
117 handlers: [ 116 handlers: [
118 ] 117 ]
119 118
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698