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

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

Issue 1997653002: [interpreter] Bytecode register optimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Decouple a test from implementation. Created 4 years, 6 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: string 6 pool type: string
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
(...skipping 11 matching lines...) Expand all
22 B(CreateMappedArguments), 22 B(CreateMappedArguments),
23 B(StaContextSlot), R(context), U8(5), 23 B(StaContextSlot), R(context), U8(5),
24 B(Ldar), R(new_target), 24 B(Ldar), R(new_target),
25 B(StaContextSlot), R(context), U8(6), 25 B(StaContextSlot), R(context), U8(6),
26 /* 30 E> */ B(StackCheck), 26 /* 30 E> */ B(StackCheck),
27 /* 34 S> */ B(LdaConstant), U8(0), 27 /* 34 S> */ B(LdaConstant), U8(0),
28 B(Star), R(3), 28 B(Star), R(3),
29 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3 ), U8(1), R(1), 29 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3 ), U8(1), R(1),
30 B(LdaConstant), U8(1), 30 B(LdaConstant), U8(1),
31 B(Star), R(3), 31 B(Star), R(3),
32 B(Mov), R(1), R(4),
33 B(Mov), R(3), R(5),
34 B(Mov), R(closure), R(6),
35 B(LdaZero), 32 B(LdaZero),
36 B(Star), R(7), 33 B(Star), R(7),
37 B(LdaSmi), U8(30), 34 B(LdaSmi), U8(30),
38 B(Star), R(8), 35 B(Star), R(8),
39 B(LdaSmi), U8(34), 36 B(LdaSmi), U8(34),
40 B(Star), R(9), 37 B(Star), R(9),
38 B(Mov), R(1), R(4),
39 B(Mov), R(3), R(5),
40 B(Mov), R(closure), R(6),
41 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6), 41 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6),
42 B(Star), R(1), 42 B(Star), R(1),
43 /* 34 E> */ B(Call), R(1), R(2), U8(2), U8(0), 43 /* 34 E> */ B(Call), R(1), R(2), U8(2), U8(0),
44 /* 55 S> */ B(LdaLookupSlot), U8(2), 44 /* 55 S> */ B(LdaLookupSlot), U8(2),
45 /* 65 S> */ B(Return), 45 /* 65 S> */ B(Return),
46 ] 46 ]
47 constant pool: [ 47 constant pool: [
48 "eval", 48 "eval",
49 "var x = 10;", 49 "var x = 10;",
50 "x", 50 "x",
(...skipping 16 matching lines...) Expand all
67 B(CreateMappedArguments), 67 B(CreateMappedArguments),
68 B(StaContextSlot), R(context), U8(5), 68 B(StaContextSlot), R(context), U8(5),
69 B(Ldar), R(new_target), 69 B(Ldar), R(new_target),
70 B(StaContextSlot), R(context), U8(6), 70 B(StaContextSlot), R(context), U8(6),
71 /* 30 E> */ B(StackCheck), 71 /* 30 E> */ B(StackCheck),
72 /* 34 S> */ B(LdaConstant), U8(0), 72 /* 34 S> */ B(LdaConstant), U8(0),
73 B(Star), R(3), 73 B(Star), R(3),
74 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3 ), U8(1), R(1), 74 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3 ), U8(1), R(1),
75 B(LdaConstant), U8(1), 75 B(LdaConstant), U8(1),
76 B(Star), R(3), 76 B(Star), R(3),
77 B(Mov), R(1), R(4),
78 B(Mov), R(3), R(5),
79 B(Mov), R(closure), R(6),
80 B(LdaZero), 77 B(LdaZero),
81 B(Star), R(7), 78 B(Star), R(7),
82 B(LdaSmi), U8(30), 79 B(LdaSmi), U8(30),
83 B(Star), R(8), 80 B(Star), R(8),
84 B(LdaSmi), U8(34), 81 B(LdaSmi), U8(34),
85 B(Star), R(9), 82 B(Star), R(9),
83 B(Mov), R(1), R(4),
84 B(Mov), R(3), R(5),
85 B(Mov), R(closure), R(6),
86 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6), 86 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6),
87 B(Star), R(1), 87 B(Star), R(1),
88 /* 34 E> */ B(Call), R(1), R(2), U8(2), U8(0), 88 /* 34 E> */ B(Call), R(1), R(2), U8(2), U8(0),
89 /* 55 S> */ B(LdaLookupSlotInsideTypeof), U8(2), 89 /* 55 S> */ B(LdaLookupSlotInsideTypeof), U8(2),
90 B(TypeOf), 90 B(TypeOf),
91 /* 72 S> */ B(Return), 91 /* 72 S> */ B(Return),
92 ] 92 ]
93 constant pool: [ 93 constant pool: [
94 "eval", 94 "eval",
95 "var x = 10;", 95 "var x = 10;",
(...skipping 19 matching lines...) Expand all
115 B(Ldar), R(new_target), 115 B(Ldar), R(new_target),
116 B(StaContextSlot), R(context), U8(6), 116 B(StaContextSlot), R(context), U8(6),
117 /* 30 E> */ B(StackCheck), 117 /* 30 E> */ B(StackCheck),
118 /* 34 S> */ B(LdaSmi), U8(20), 118 /* 34 S> */ B(LdaSmi), U8(20),
119 /* 36 E> */ B(StaLookupSlotSloppy), U8(0), 119 /* 36 E> */ B(StaLookupSlotSloppy), U8(0),
120 /* 42 S> */ B(LdaConstant), U8(1), 120 /* 42 S> */ B(LdaConstant), U8(1),
121 B(Star), R(3), 121 B(Star), R(3),
122 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3 ), U8(1), R(1), 122 B(CallRuntimeForPair), U16(Runtime::kLoadLookupSlotForCall), R(3 ), U8(1), R(1),
123 B(LdaConstant), U8(2), 123 B(LdaConstant), U8(2),
124 B(Star), R(3), 124 B(Star), R(3),
125 B(Mov), R(1), R(4),
126 B(Mov), R(3), R(5),
127 B(Mov), R(closure), R(6),
128 B(LdaZero), 125 B(LdaZero),
129 B(Star), R(7), 126 B(Star), R(7),
130 B(LdaSmi), U8(30), 127 B(LdaSmi), U8(30),
131 B(Star), R(8), 128 B(Star), R(8),
132 B(LdaSmi), U8(49), 129 B(LdaSmi), U8(49),
133 B(Star), R(9), 130 B(Star), R(9),
131 B(Mov), R(1), R(4),
132 B(Mov), R(3), R(5),
133 B(Mov), R(closure), R(6),
134 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6), 134 B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(6),
135 B(Star), R(1), 135 B(Star), R(1),
136 /* 49 E> */ B(Call), R(1), R(2), U8(2), U8(0), 136 /* 49 E> */ B(Call), R(1), R(2), U8(2), U8(0),
137 /* 59 S> */ B(Return), 137 /* 59 S> */ B(Return),
138 ] 138 ]
139 constant pool: [ 139 constant pool: [
140 "x", 140 "x",
141 "eval", 141 "eval",
142 "", 142 "",
143 ] 143 ]
144 handlers: [ 144 handlers: [
145 ] 145 ]
146 146
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698