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

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

Issue 2111923002: [interpreter] Introduce binary op bytecodes for Smi operand. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 5 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 13 matching lines...) Expand all
24 ] 24 ]
25 handlers: [ 25 handlers: [
26 ] 26 ]
27 27
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: 3 32 frame size: 3
33 parameter count: 1 33 parameter count: 1
34 bytecode array length: 35 34 bytecode array length: 34
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 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 B(Ldar), R(0), 43 B(Ldar), R(0),
44 /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(1), 44 /* 54 E> */ B(StaKeyedPropertySloppy), 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 B(LdaSmi), U8(1), 47 /* 57 E> */ B(AddSmi), U8(1), R(0),
48 /* 57 E> */ B(Add), R(0),
49 B(StaKeyedPropertySloppy), R(2), R(1), U8(1), 48 B(StaKeyedPropertySloppy), R(2), R(1), U8(1),
50 B(Ldar), R(2), 49 B(Ldar), R(2),
51 /* 66 S> */ B(Return), 50 /* 66 S> */ B(Return),
52 ] 51 ]
53 constant pool: [ 52 constant pool: [
54 InstanceType::FIXED_ARRAY_TYPE, 53 InstanceType::FIXED_ARRAY_TYPE,
55 ] 54 ]
56 handlers: [ 55 handlers: [
57 ] 56 ]
58 57
(...skipping 14 matching lines...) Expand all
73 ] 72 ]
74 handlers: [ 73 handlers: [
75 ] 74 ]
76 75
77 --- 76 ---
78 snippet: " 77 snippet: "
79 var a = 1; return [ [ a, 2 ], [ a + 2 ] ]; 78 var a = 1; return [ [ a, 2 ], [ a + 2 ] ];
80 " 79 "
81 frame size: 5 80 frame size: 5
82 parameter count: 1 81 parameter count: 1
83 bytecode array length: 65 82 bytecode array length: 64
84 bytecodes: [ 83 bytecodes: [
85 /* 30 E> */ B(StackCheck), 84 /* 30 E> */ B(StackCheck),
86 /* 42 S> */ B(LdaSmi), U8(1), 85 /* 42 S> */ B(LdaSmi), U8(1),
87 B(Star), R(0), 86 B(Star), R(0),
88 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(2), 87 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(2),
89 B(Star), R(2), 88 B(Star), R(2),
90 B(LdaZero), 89 B(LdaZero),
91 B(Star), R(1), 90 B(Star), R(1),
92 B(CreateArrayLiteral), U8(1), U8(0), U8(3), 91 B(CreateArrayLiteral), U8(1), U8(0), U8(3),
93 B(Star), R(4), 92 B(Star), R(4),
94 B(LdaZero), 93 B(LdaZero),
95 B(Star), R(3), 94 B(Star), R(3),
96 B(Ldar), R(0), 95 B(Ldar), R(0),
97 /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(1), 96 /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(1),
98 B(Ldar), R(4), 97 B(Ldar), R(4),
99 B(StaKeyedPropertySloppy), R(2), R(1), U8(5), 98 B(StaKeyedPropertySloppy), R(2), R(1), U8(5),
100 B(LdaSmi), U8(1), 99 B(LdaSmi), U8(1),
101 B(Star), R(1), 100 B(Star), R(1),
102 B(CreateArrayLiteral), U8(2), U8(1), U8(3), 101 B(CreateArrayLiteral), U8(2), U8(1), U8(3),
103 B(Star), R(4), 102 B(Star), R(4),
104 B(LdaZero), 103 B(LdaZero),
105 B(Star), R(3), 104 B(Star), R(3),
106 B(LdaSmi), U8(2), 105 /* 66 E> */ B(AddSmi), U8(2), R(0),
107 /* 66 E> */ B(Add), R(0),
108 B(StaKeyedPropertySloppy), R(4), R(3), U8(3), 106 B(StaKeyedPropertySloppy), R(4), R(3), U8(3),
109 B(Ldar), R(4), 107 B(Ldar), R(4),
110 B(StaKeyedPropertySloppy), R(2), R(1), U8(5), 108 B(StaKeyedPropertySloppy), R(2), R(1), U8(5),
111 B(Ldar), R(2), 109 B(Ldar), R(2),
112 /* 77 S> */ B(Return), 110 /* 77 S> */ B(Return),
113 ] 111 ]
114 constant pool: [ 112 constant pool: [
115 InstanceType::FIXED_ARRAY_TYPE, 113 InstanceType::FIXED_ARRAY_TYPE,
116 InstanceType::FIXED_ARRAY_TYPE, 114 InstanceType::FIXED_ARRAY_TYPE,
117 InstanceType::FIXED_ARRAY_TYPE, 115 InstanceType::FIXED_ARRAY_TYPE,
118 ] 116 ]
119 handlers: [ 117 handlers: [
120 ] 118 ]
121 119
OLDNEW
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | test/cctest/interpreter/bytecode_expectations/AssignmentsInBinaryExpression.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698