OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_CODE_STUB_ASSEMBLER_H_ | 5 #ifndef V8_CODE_STUB_ASSEMBLER_H_ |
6 #define V8_CODE_STUB_ASSEMBLER_H_ | 6 #define V8_CODE_STUB_ASSEMBLER_H_ |
7 | 7 |
8 #include <functional> | 8 #include <functional> |
9 | 9 |
10 #include "src/compiler/code-assembler.h" | 10 #include "src/compiler/code-assembler.h" |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 // Load the length of a fixed array base instance. | 228 // Load the length of a fixed array base instance. |
229 compiler::Node* LoadAndUntagFixedArrayBaseLength(compiler::Node* array); | 229 compiler::Node* LoadAndUntagFixedArrayBaseLength(compiler::Node* array); |
230 // Load the bit field of a Map. | 230 // Load the bit field of a Map. |
231 compiler::Node* LoadMapBitField(compiler::Node* map); | 231 compiler::Node* LoadMapBitField(compiler::Node* map); |
232 // Load bit field 2 of a map. | 232 // Load bit field 2 of a map. |
233 compiler::Node* LoadMapBitField2(compiler::Node* map); | 233 compiler::Node* LoadMapBitField2(compiler::Node* map); |
234 // Load bit field 3 of a map. | 234 // Load bit field 3 of a map. |
235 compiler::Node* LoadMapBitField3(compiler::Node* map); | 235 compiler::Node* LoadMapBitField3(compiler::Node* map); |
236 // Load the instance type of a map. | 236 // Load the instance type of a map. |
237 compiler::Node* LoadMapInstanceType(compiler::Node* map); | 237 compiler::Node* LoadMapInstanceType(compiler::Node* map); |
| 238 // Load the ElementsKind of a map. |
| 239 compiler::Node* LoadMapElementsKind(compiler::Node* map); |
238 // Load the instance descriptors of a map. | 240 // Load the instance descriptors of a map. |
239 compiler::Node* LoadMapDescriptors(compiler::Node* map); | 241 compiler::Node* LoadMapDescriptors(compiler::Node* map); |
240 // Load the prototype of a map. | 242 // Load the prototype of a map. |
241 compiler::Node* LoadMapPrototype(compiler::Node* map); | 243 compiler::Node* LoadMapPrototype(compiler::Node* map); |
242 // Load the instance size of a Map. | 244 // Load the instance size of a Map. |
243 compiler::Node* LoadMapInstanceSize(compiler::Node* map); | 245 compiler::Node* LoadMapInstanceSize(compiler::Node* map); |
244 // Load the inobject properties count of a Map (valid only for JSObjects). | 246 // Load the inobject properties count of a Map (valid only for JSObjects). |
245 compiler::Node* LoadMapInobjectProperties(compiler::Node* map); | 247 compiler::Node* LoadMapInobjectProperties(compiler::Node* map); |
246 // Load the constructor function index of a Map (only for primitive maps). | 248 // Load the constructor function index of a Map (only for primitive maps). |
247 compiler::Node* LoadMapConstructorFunctionIndex(compiler::Node* map); | 249 compiler::Node* LoadMapConstructorFunctionIndex(compiler::Node* map); |
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
870 Label* bailout); | 872 Label* bailout); |
871 | 873 |
872 static const int kElementLoopUnrollThreshold = 8; | 874 static const int kElementLoopUnrollThreshold = 8; |
873 }; | 875 }; |
874 | 876 |
875 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); | 877 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); |
876 | 878 |
877 } // namespace internal | 879 } // namespace internal |
878 } // namespace v8 | 880 } // namespace v8 |
879 #endif // V8_CODE_STUB_ASSEMBLER_H_ | 881 #endif // V8_CODE_STUB_ASSEMBLER_H_ |
OLD | NEW |