| 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_ASSEMBLER_H_ | 5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_ |
| 6 #define V8_COMPILER_CODE_ASSEMBLER_H_ | 6 #define V8_COMPILER_CODE_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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 size_t result_size = 1); | 288 size_t result_size = 1); |
| 289 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, | 289 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, |
| 290 Node* context, Node* arg1, Node* arg2, Node* arg3, Node* arg4, | 290 Node* context, Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
| 291 size_t result_size = 1); | 291 size_t result_size = 1); |
| 292 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, | 292 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, |
| 293 Node* context, Node* arg1, Node* arg2, Node* arg3, Node* arg4, | 293 Node* context, Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
| 294 Node* arg5, size_t result_size = 1); | 294 Node* arg5, size_t result_size = 1); |
| 295 | 295 |
| 296 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, | 296 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, |
| 297 Node* arg2, size_t result_size = 1); | 297 Node* arg2, size_t result_size = 1); |
| 298 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, |
| 299 Node* arg2, Node* arg3, size_t result_size = 1); |
| 298 Node* TailCallStub(const CallInterfaceDescriptor& descriptor, Node* target, | 300 Node* TailCallStub(const CallInterfaceDescriptor& descriptor, Node* target, |
| 299 Node* context, Node* arg1, Node* arg2, | 301 Node* context, Node* arg1, Node* arg2, |
| 300 size_t result_size = 1); | 302 size_t result_size = 1); |
| 303 Node* TailCallStub(const CallInterfaceDescriptor& descriptor, Node* target, |
| 304 Node* context, Node* arg1, Node* arg2, Node* arg3, |
| 305 size_t result_size = 1); |
| 301 | 306 |
| 302 Node* TailCallBytecodeDispatch(const CallInterfaceDescriptor& descriptor, | 307 Node* TailCallBytecodeDispatch(const CallInterfaceDescriptor& descriptor, |
| 303 Node* code_target_address, Node** args); | 308 Node* code_target_address, Node** args); |
| 304 | 309 |
| 305 // =========================================================================== | 310 // =========================================================================== |
| 306 // Macros | 311 // Macros |
| 307 // =========================================================================== | 312 // =========================================================================== |
| 308 | 313 |
| 309 // Tag a Word as a Smi value. | 314 // Tag a Word as a Smi value. |
| 310 Node* SmiTag(Node* value); | 315 Node* SmiTag(Node* value); |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 // Map of variables to the list of value nodes that have been added from each | 405 // Map of variables to the list of value nodes that have been added from each |
| 401 // merge path in their order of merging. | 406 // merge path in their order of merging. |
| 402 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; | 407 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; |
| 403 }; | 408 }; |
| 404 | 409 |
| 405 } // namespace compiler | 410 } // namespace compiler |
| 406 } // namespace internal | 411 } // namespace internal |
| 407 } // namespace v8 | 412 } // namespace v8 |
| 408 | 413 |
| 409 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 414 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
| OLD | NEW |