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

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

Issue 2485383002: [Interpreter] Remove Ldr[Named/Keyed]Property bytecodes and use Star Lookahead instead. (Closed)
Patch Set: Created 4 years, 1 month 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 var a = 1; a += 2; 10 var a = 1; a += 2;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 ] 49 ]
50 handlers: [ 50 handlers: [
51 ] 51 ]
52 52
53 --- 53 ---
54 snippet: " 54 snippet: "
55 var a = { val: 2 }; a.name *= 2; 55 var a = { val: 2 }; a.name *= 2;
56 " 56 "
57 frame size: 3 57 frame size: 3
58 parameter count: 1 58 parameter count: 1
59 bytecode array length: 25 59 bytecode array length: 26
60 bytecodes: [ 60 bytecodes: [
61 /* 30 E> */ B(StackCheck), 61 /* 30 E> */ B(StackCheck),
62 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), 62 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1),
63 B(Mov), R(1), R(0), 63 B(Mov), R(1), R(0),
64 /* 54 S> */ B(LdrNamedProperty), R(0), U8(1), U8(2), R(2), 64 /* 54 S> */ B(LdaNamedProperty), R(0), U8(1), U8(2),
65 B(Star), R(2),
65 B(LdaSmi), U8(2), 66 B(LdaSmi), U8(2),
66 B(Mul), R(2), U8(4), 67 B(Mul), R(2), U8(4),
67 /* 61 E> */ B(StaNamedPropertySloppy), R(0), U8(1), U8(5), 68 /* 61 E> */ B(StaNamedPropertySloppy), R(0), U8(1), U8(5),
68 B(LdaUndefined), 69 B(LdaUndefined),
69 /* 67 S> */ B(Return), 70 /* 67 S> */ B(Return),
70 ] 71 ]
71 constant pool: [ 72 constant pool: [
72 FIXED_ARRAY_TYPE, 73 FIXED_ARRAY_TYPE,
73 ONE_BYTE_INTERNALIZED_STRING_TYPE ["name"], 74 ONE_BYTE_INTERNALIZED_STRING_TYPE ["name"],
74 ] 75 ]
75 handlers: [ 76 handlers: [
76 ] 77 ]
77 78
78 --- 79 ---
79 snippet: " 80 snippet: "
80 var a = { 1: 2 }; a[1] ^= 2; 81 var a = { 1: 2 }; a[1] ^= 2;
81 " 82 "
82 frame size: 4 83 frame size: 4
83 parameter count: 1 84 parameter count: 1
84 bytecode array length: 28 85 bytecode array length: 29
85 bytecodes: [ 86 bytecodes: [
86 /* 30 E> */ B(StackCheck), 87 /* 30 E> */ B(StackCheck),
87 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), 88 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1),
88 B(Mov), R(1), R(0), 89 B(Mov), R(1), R(0),
89 /* 52 S> */ B(LdaSmi), U8(1), 90 /* 52 S> */ B(LdaSmi), U8(1),
90 B(Star), R(2), 91 B(Star), R(2),
91 B(LdrKeyedProperty), R(0), U8(2), R(3), 92 B(LdaKeyedProperty), R(0), U8(2),
93 B(Star), R(3),
92 B(LdaSmi), U8(2), 94 B(LdaSmi), U8(2),
93 B(BitwiseXor), R(3), U8(4), 95 B(BitwiseXor), R(3), U8(4),
94 /* 57 E> */ B(StaKeyedPropertySloppy), R(0), R(2), U8(5), 96 /* 57 E> */ B(StaKeyedPropertySloppy), R(0), R(2), U8(5),
95 B(LdaUndefined), 97 B(LdaUndefined),
96 /* 63 S> */ B(Return), 98 /* 63 S> */ B(Return),
97 ] 99 ]
98 constant pool: [ 100 constant pool: [
99 FIXED_ARRAY_TYPE, 101 FIXED_ARRAY_TYPE,
100 ] 102 ]
101 handlers: [ 103 handlers: [
(...skipping 18 matching lines...) Expand all
120 /* 77 E> */ B(StaCurrentContextSlot), U8(4), 122 /* 77 E> */ B(StaCurrentContextSlot), U8(4),
121 B(LdaUndefined), 123 B(LdaUndefined),
122 /* 84 S> */ B(Return), 124 /* 84 S> */ B(Return),
123 ] 125 ]
124 constant pool: [ 126 constant pool: [
125 SHARED_FUNCTION_INFO_TYPE, 127 SHARED_FUNCTION_INFO_TYPE,
126 ] 128 ]
127 handlers: [ 129 handlers: [
128 ] 130 ]
129 131
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698