OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_COMPILER_CODE_STUB_ASSEMBLER_H_ | 5 #ifndef V8_COMPILER_CODE_STUB_ASSEMBLER_H_ |
6 #define V8_COMPILER_CODE_STUB_ASSEMBLER_H_ | 6 #define V8_COMPILER_CODE_STUB_ASSEMBLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 // Clients of this interface shouldn't depend on lots of compiler internals. | 10 // Clients of this interface shouldn't depend on lots of compiler internals. |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 Node* LoadMapBitField2(Node* map); | 333 Node* LoadMapBitField2(Node* map); |
334 // Load bit field 3 of a map. | 334 // Load bit field 3 of a map. |
335 Node* LoadMapBitField3(Node* map); | 335 Node* LoadMapBitField3(Node* map); |
336 // Load the instance type of a map. | 336 // Load the instance type of a map. |
337 Node* LoadMapInstanceType(Node* map); | 337 Node* LoadMapInstanceType(Node* map); |
338 // Load the instance descriptors of a map. | 338 // Load the instance descriptors of a map. |
339 Node* LoadMapDescriptors(Node* map); | 339 Node* LoadMapDescriptors(Node* map); |
340 | 340 |
341 // Load the hash field of a name. | 341 // Load the hash field of a name. |
342 Node* LoadNameHash(Node* name); | 342 Node* LoadNameHash(Node* name); |
343 // Load the instance size of a Map. | |
344 Node* LoadMapInstanceSize(Node* map); | |
345 | 343 |
346 // Load an array element from a FixedArray. | 344 // Load an array element from a FixedArray. |
347 Node* LoadFixedArrayElementInt32Index(Node* object, Node* int32_index, | 345 Node* LoadFixedArrayElementInt32Index(Node* object, Node* int32_index, |
348 int additional_offset = 0); | 346 int additional_offset = 0); |
349 Node* LoadFixedArrayElementSmiIndex(Node* object, Node* smi_index, | 347 Node* LoadFixedArrayElementSmiIndex(Node* object, Node* smi_index, |
350 int additional_offset = 0); | 348 int additional_offset = 0); |
351 Node* LoadFixedArrayElementConstantIndex(Node* object, int index); | 349 Node* LoadFixedArrayElementConstantIndex(Node* object, int index); |
352 | 350 |
353 // Allocate an object of the given size. | 351 // Allocate an object of the given size. |
354 Node* Allocate(int size, AllocationFlags flags = kNone); | 352 Node* Allocate(int size, AllocationFlags flags = kNone); |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 // Map of variables to the list of value nodes that have been added from each | 505 // Map of variables to the list of value nodes that have been added from each |
508 // merge path in their order of merging. | 506 // merge path in their order of merging. |
509 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; | 507 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; |
510 }; | 508 }; |
511 | 509 |
512 } // namespace compiler | 510 } // namespace compiler |
513 } // namespace internal | 511 } // namespace internal |
514 } // namespace v8 | 512 } // namespace v8 |
515 | 513 |
516 #endif // V8_COMPILER_CODE_STUB_ASSEMBLER_H_ | 514 #endif // V8_COMPILER_CODE_STUB_ASSEMBLER_H_ |
OLD | NEW |