v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
builtins-ic-gen.cc
Go to the documentation of this file.
1// Copyright 2016 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
9
10namespace v8 {
11namespace internal {
12
13void Builtins::Generate_LoadIC(compiler::CodeAssemblerState* state) {
14 AccessorAssembler assembler(state);
15 assembler.GenerateLoadIC();
16}
17void Builtins::Generate_LoadIC_Megamorphic(
18 compiler::CodeAssemblerState* state) {
19 AccessorAssembler assembler(state);
20 assembler.GenerateLoadIC_Megamorphic();
21}
22void Builtins::Generate_LoadIC_Noninlined(compiler::CodeAssemblerState* state) {
23 AccessorAssembler assembler(state);
24 assembler.GenerateLoadIC_Noninlined();
25}
26void Builtins::Generate_LoadIC_NoFeedback(compiler::CodeAssemblerState* state) {
27 AccessorAssembler assembler(state);
28 assembler.GenerateLoadIC_NoFeedback();
29}
30void Builtins::Generate_LoadICTrampoline(compiler::CodeAssemblerState* state) {
31 AccessorAssembler assembler(state);
32 assembler.GenerateLoadICTrampoline();
33}
34void Builtins::Generate_LoadICBaseline(compiler::CodeAssemblerState* state) {
35 AccessorAssembler assembler(state);
36 assembler.GenerateLoadICBaseline();
37}
38void Builtins::Generate_LoadICTrampoline_Megamorphic(
39 compiler::CodeAssemblerState* state) {
40 AccessorAssembler assembler(state);
41 assembler.GenerateLoadICTrampoline_Megamorphic();
42}
43void Builtins::Generate_LoadSuperIC(compiler::CodeAssemblerState* state) {
44 AccessorAssembler assembler(state);
45 assembler.GenerateLoadSuperIC();
46}
47void Builtins::Generate_LoadSuperICBaseline(
48 compiler::CodeAssemblerState* state) {
49 AccessorAssembler assembler(state);
50 assembler.GenerateLoadSuperICBaseline();
51}
52void Builtins::Generate_KeyedLoadIC(compiler::CodeAssemblerState* state) {
53 AccessorAssembler assembler(state);
54 assembler.GenerateKeyedLoadIC();
55}
56void Builtins::Generate_EnumeratedKeyedLoadIC(
57 compiler::CodeAssemblerState* state) {
58 AccessorAssembler assembler(state);
59 assembler.GenerateEnumeratedKeyedLoadIC();
60}
61void Builtins::Generate_EnumeratedKeyedLoadICBaseline(
62 compiler::CodeAssemblerState* state) {
63 AccessorAssembler assembler(state);
64 assembler.GenerateEnumeratedKeyedLoadICBaseline();
65}
66void Builtins::Generate_KeyedLoadIC_Megamorphic(
67 compiler::CodeAssemblerState* state) {
68 AccessorAssembler assembler(state);
69 assembler.GenerateKeyedLoadIC_Megamorphic();
70}
71void Builtins::Generate_KeyedLoadIC_PolymorphicName(
72 compiler::CodeAssemblerState* state) {
73 AccessorAssembler assembler(state);
74 assembler.GenerateKeyedLoadIC_PolymorphicName();
75}
76void Builtins::Generate_KeyedLoadICTrampoline(
77 compiler::CodeAssemblerState* state) {
78 AccessorAssembler assembler(state);
79 assembler.GenerateKeyedLoadICTrampoline();
80}
81void Builtins::Generate_KeyedLoadICBaseline(
82 compiler::CodeAssemblerState* state) {
83 AccessorAssembler assembler(state);
84 assembler.GenerateKeyedLoadICBaseline();
85}
86void Builtins::Generate_KeyedLoadICTrampoline_Megamorphic(
87 compiler::CodeAssemblerState* state) {
88 AccessorAssembler assembler(state);
89 assembler.GenerateKeyedLoadICTrampoline_Megamorphic();
90}
91void Builtins::Generate_LoadGlobalIC_NoFeedback(
92 compiler::CodeAssemblerState* state) {
93 AccessorAssembler assembler(state);
94 assembler.GenerateLoadGlobalIC_NoFeedback();
95}
96void Builtins::Generate_StoreGlobalIC(compiler::CodeAssemblerState* state) {
97 AccessorAssembler assembler(state);
98 assembler.GenerateStoreGlobalIC();
99}
100void Builtins::Generate_StoreGlobalICTrampoline(
101 compiler::CodeAssemblerState* state) {
102 AccessorAssembler assembler(state);
103 assembler.GenerateStoreGlobalICTrampoline();
104}
105void Builtins::Generate_StoreGlobalICBaseline(
106 compiler::CodeAssemblerState* state) {
107 AccessorAssembler assembler(state);
108 assembler.GenerateStoreGlobalICBaseline();
109}
110void Builtins::Generate_StoreIC(compiler::CodeAssemblerState* state) {
111 AccessorAssembler assembler(state);
112 assembler.GenerateStoreIC();
113}
114void Builtins::Generate_StoreIC_Megamorphic(
115 compiler::CodeAssemblerState* state) {
116 AccessorAssembler assembler(state);
117 assembler.GenerateStoreIC_Megamorphic();
118}
119void Builtins::Generate_StoreICTrampoline(compiler::CodeAssemblerState* state) {
120 AccessorAssembler assembler(state);
121 assembler.GenerateStoreICTrampoline();
122}
123void Builtins::Generate_StoreICTrampoline_Megamorphic(
124 compiler::CodeAssemblerState* state) {
125 AccessorAssembler assembler(state);
126 assembler.GenerateStoreICTrampoline_Megamorphic();
127}
128void Builtins::Generate_StoreICBaseline(compiler::CodeAssemblerState* state) {
129 AccessorAssembler assembler(state);
130 assembler.GenerateStoreICBaseline();
131}
132void Builtins::Generate_DefineNamedOwnIC(compiler::CodeAssemblerState* state) {
133 AccessorAssembler assembler(state);
134 assembler.GenerateDefineNamedOwnIC();
135}
136void Builtins::Generate_DefineNamedOwnICTrampoline(
137 compiler::CodeAssemblerState* state) {
138 AccessorAssembler assembler(state);
139 assembler.GenerateDefineNamedOwnICTrampoline();
140}
141void Builtins::Generate_DefineNamedOwnICBaseline(
142 compiler::CodeAssemblerState* state) {
143 AccessorAssembler assembler(state);
144 assembler.GenerateDefineNamedOwnICBaseline();
145}
146void Builtins::Generate_KeyedStoreIC(compiler::CodeAssemblerState* state) {
147 AccessorAssembler assembler(state);
148 assembler.GenerateKeyedStoreIC();
149}
150void Builtins::Generate_KeyedStoreICTrampoline(
151 compiler::CodeAssemblerState* state) {
152 AccessorAssembler assembler(state);
153 assembler.GenerateKeyedStoreICTrampoline();
154}
155void Builtins::Generate_KeyedStoreICTrampoline_Megamorphic(
156 compiler::CodeAssemblerState* state) {
157 AccessorAssembler assembler(state);
158 assembler.GenerateKeyedStoreICTrampoline_Megamorphic();
159}
160void Builtins::Generate_KeyedStoreICBaseline(
161 compiler::CodeAssemblerState* state) {
162 AccessorAssembler assembler(state);
163 assembler.GenerateKeyedStoreICBaseline();
164}
165void Builtins::Generate_DefineKeyedOwnIC(compiler::CodeAssemblerState* state) {
166 AccessorAssembler assembler(state);
167 assembler.GenerateDefineKeyedOwnIC();
168}
169void Builtins::Generate_DefineKeyedOwnICTrampoline(
170 compiler::CodeAssemblerState* state) {
171 AccessorAssembler assembler(state);
172 assembler.GenerateDefineKeyedOwnICTrampoline();
173}
174void Builtins::Generate_DefineKeyedOwnICBaseline(
175 compiler::CodeAssemblerState* state) {
176 AccessorAssembler assembler(state);
177 assembler.GenerateDefineKeyedOwnICBaseline();
178}
179void Builtins::Generate_StoreInArrayLiteralIC(
180 compiler::CodeAssemblerState* state) {
181 AccessorAssembler assembler(state);
182 assembler.GenerateStoreInArrayLiteralIC();
183}
184void Builtins::Generate_StoreInArrayLiteralICBaseline(
185 compiler::CodeAssemblerState* state) {
186 AccessorAssembler assembler(state);
187 assembler.GenerateStoreInArrayLiteralICBaseline();
188}
189void Builtins::Generate_CloneObjectIC(compiler::CodeAssemblerState* state) {
190 AccessorAssembler assembler(state);
191 assembler.GenerateCloneObjectIC();
192}
193void Builtins::Generate_CloneObjectICBaseline(
194 compiler::CodeAssemblerState* state) {
195 AccessorAssembler assembler(state);
196 assembler.GenerateCloneObjectICBaseline();
197}
198void Builtins::Generate_CloneObjectIC_Slow(
199 compiler::CodeAssemblerState* state) {
200 AccessorAssembler assembler(state);
201 assembler.GenerateCloneObjectIC_Slow();
202}
203void Builtins::Generate_KeyedHasIC(compiler::CodeAssemblerState* state) {
204 AccessorAssembler assembler(state);
205 assembler.GenerateKeyedHasIC();
206}
207void Builtins::Generate_KeyedHasICBaseline(
208 compiler::CodeAssemblerState* state) {
209 AccessorAssembler assembler(state);
210 assembler.GenerateKeyedHasICBaseline();
211}
212void Builtins::Generate_KeyedHasIC_Megamorphic(
213 compiler::CodeAssemblerState* state) {
214 AccessorAssembler assembler(state);
215 assembler.GenerateKeyedHasIC_Megamorphic();
216}
217void Builtins::Generate_KeyedHasIC_PolymorphicName(
218 compiler::CodeAssemblerState* state) {
219 AccessorAssembler assembler(state);
220 assembler.GenerateKeyedHasIC_PolymorphicName();
221}
222
223void Builtins::Generate_LoadGlobalIC(compiler::CodeAssemblerState* state) {
224 AccessorAssembler assembler(state);
225 assembler.GenerateLoadGlobalIC(TypeofMode::kNotInside);
226}
227
228void Builtins::Generate_LoadGlobalICInsideTypeof(
229 compiler::CodeAssemblerState* state) {
230 AccessorAssembler assembler(state);
231 assembler.GenerateLoadGlobalIC(TypeofMode::kInside);
232}
233
234void Builtins::Generate_LoadGlobalICTrampoline(
235 compiler::CodeAssemblerState* state) {
236 AccessorAssembler assembler(state);
237 assembler.GenerateLoadGlobalICTrampoline(TypeofMode::kNotInside);
238}
239
240void Builtins::Generate_LoadGlobalICInsideTypeofTrampoline(
241 compiler::CodeAssemblerState* state) {
242 AccessorAssembler assembler(state);
243 assembler.GenerateLoadGlobalICTrampoline(TypeofMode::kInside);
244}
245
246void Builtins::Generate_LoadGlobalICBaseline(
247 compiler::CodeAssemblerState* state) {
248 AccessorAssembler assembler(state);
249 assembler.GenerateLoadGlobalICBaseline(TypeofMode::kNotInside);
250}
251
252void Builtins::Generate_LoadGlobalICInsideTypeofBaseline(
253 compiler::CodeAssemblerState* state) {
254 AccessorAssembler assembler(state);
255 assembler.GenerateLoadGlobalICBaseline(TypeofMode::kInside);
256}
257
258void Builtins::Generate_LookupGlobalIC(compiler::CodeAssemblerState* state) {
259 AccessorAssembler assembler(state);
260 assembler.GenerateLookupGlobalIC(TypeofMode::kNotInside);
261}
262
263void Builtins::Generate_LookupGlobalICTrampoline(
264 compiler::CodeAssemblerState* state) {
265 AccessorAssembler assembler(state);
266 assembler.GenerateLookupGlobalICTrampoline(TypeofMode::kNotInside);
267}
268
269void Builtins::Generate_LookupGlobalICBaseline(
270 compiler::CodeAssemblerState* state) {
271 AccessorAssembler assembler(state);
272 assembler.GenerateLookupGlobalICBaseline(TypeofMode::kNotInside);
273}
274
275void Builtins::Generate_LookupGlobalICInsideTypeof(
276 compiler::CodeAssemblerState* state) {
277 AccessorAssembler assembler(state);
278 assembler.GenerateLookupGlobalIC(TypeofMode::kInside);
279}
280
281void Builtins::Generate_LookupGlobalICInsideTypeofTrampoline(
282 compiler::CodeAssemblerState* state) {
283 AccessorAssembler assembler(state);
284 assembler.GenerateLookupGlobalICTrampoline(TypeofMode::kInside);
285}
286
287void Builtins::Generate_LookupGlobalICInsideTypeofBaseline(
288 compiler::CodeAssemblerState* state) {
289 AccessorAssembler assembler(state);
290 assembler.GenerateLookupGlobalICBaseline(TypeofMode::kInside);
291}
292
293void Builtins::Generate_LookupContextTrampoline(
294 compiler::CodeAssemblerState* state) {
295 AccessorAssembler assembler(state);
296 assembler.GenerateLookupContextTrampoline(TypeofMode::kNotInside,
298}
299
300void Builtins::Generate_LookupScriptContextTrampoline(
301 compiler::CodeAssemblerState* state) {
302 AccessorAssembler assembler(state);
303 assembler.GenerateLookupContextTrampoline(TypeofMode::kNotInside,
305}
306
307void Builtins::Generate_LookupContextBaseline(
308 compiler::CodeAssemblerState* state) {
309 AccessorAssembler assembler(state);
310 assembler.GenerateLookupContextBaseline(TypeofMode::kNotInside,
312}
313
314void Builtins::Generate_LookupScriptContextBaseline(
315 compiler::CodeAssemblerState* state) {
316 AccessorAssembler assembler(state);
317 assembler.GenerateLookupContextBaseline(TypeofMode::kNotInside,
319}
320
321void Builtins::Generate_LookupContextInsideTypeofTrampoline(
322 compiler::CodeAssemblerState* state) {
323 AccessorAssembler assembler(state);
324 assembler.GenerateLookupContextTrampoline(TypeofMode::kInside,
326}
327
328void Builtins::Generate_LookupScriptContextInsideTypeofTrampoline(
329 compiler::CodeAssemblerState* state) {
330 AccessorAssembler assembler(state);
331 assembler.GenerateLookupContextTrampoline(TypeofMode::kInside,
333}
334
335void Builtins::Generate_LookupContextInsideTypeofBaseline(
336 compiler::CodeAssemblerState* state) {
337 AccessorAssembler assembler(state);
338 assembler.GenerateLookupContextBaseline(TypeofMode::kInside,
340}
341
342void Builtins::Generate_LookupScriptContextInsideTypeofBaseline(
343 compiler::CodeAssemblerState* state) {
344 AccessorAssembler assembler(state);
345 assembler.GenerateLookupContextBaseline(TypeofMode::kInside,
347}
348
349} // namespace internal
350} // namespace v8
AssemblerT assembler