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); |
343 | 345 |
344 // Load an array element from a FixedArray. | 346 // Load an array element from a FixedArray. |
345 Node* LoadFixedArrayElementInt32Index(Node* object, Node* int32_index, | 347 Node* LoadFixedArrayElementInt32Index(Node* object, Node* int32_index, |
346 int additional_offset = 0); | 348 int additional_offset = 0); |
347 Node* LoadFixedArrayElementSmiIndex(Node* object, Node* smi_index, | 349 Node* LoadFixedArrayElementSmiIndex(Node* object, Node* smi_index, |
348 int additional_offset = 0); | 350 int additional_offset = 0); |
349 Node* LoadFixedArrayElementConstantIndex(Node* object, int index); | 351 Node* LoadFixedArrayElementConstantIndex(Node* object, int index); |
350 | 352 |
351 // Allocate an object of the given size. | 353 // Allocate an object of the given size. |
352 Node* Allocate(int size, AllocationFlags flags = kNone); | 354 Node* Allocate(int size, AllocationFlags flags = kNone); |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 // Map of variables to the list of value nodes that have been added from each | 507 // Map of variables to the list of value nodes that have been added from each |
506 // merge path in their order of merging. | 508 // merge path in their order of merging. |
507 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; | 509 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; |
508 }; | 510 }; |
509 | 511 |
510 } // namespace compiler | 512 } // namespace compiler |
511 } // namespace internal | 513 } // namespace internal |
512 } // namespace v8 | 514 } // namespace v8 |
513 | 515 |
514 #endif // V8_COMPILER_CODE_STUB_ASSEMBLER_H_ | 516 #endif // V8_COMPILER_CODE_STUB_ASSEMBLER_H_ |
OLD | NEW |