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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 size_t result_size = 1); | 256 size_t result_size = 1); |
257 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, | 257 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, |
258 Node* context, Node* arg1, Node* arg2, Node* arg3, Node* arg4, | 258 Node* context, Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
259 size_t result_size = 1); | 259 size_t result_size = 1); |
260 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, | 260 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, |
261 Node* context, Node* arg1, Node* arg2, Node* arg3, Node* arg4, | 261 Node* context, Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
262 Node* arg5, size_t result_size = 1); | 262 Node* arg5, size_t result_size = 1); |
263 | 263 |
264 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, | 264 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, |
265 Node* arg2, size_t result_size = 1); | 265 Node* arg2, size_t result_size = 1); |
266 | |
267 Node* TailCallStub(const CallInterfaceDescriptor& descriptor, Node* target, | 266 Node* TailCallStub(const CallInterfaceDescriptor& descriptor, Node* target, |
268 Node* context, Node* arg1, Node* arg2, | 267 Node* context, Node* arg1, Node* arg2, |
269 size_t result_size = 1); | 268 size_t result_size = 1); |
270 | 269 |
271 Node* TailCall(const CallInterfaceDescriptor& descriptor, Node* target, | 270 Node* TailCallBytecodeDispatch(const CallInterfaceDescriptor& descriptor, |
272 Node** args, size_t result_size = 1); | 271 Node* code_target_address, Node** args); |
273 | 272 |
274 // =========================================================================== | 273 // =========================================================================== |
275 // Macros | 274 // Macros |
276 // =========================================================================== | 275 // =========================================================================== |
277 | 276 |
278 // Float64 operations. | 277 // Float64 operations. |
279 Node* Float64Ceil(Node* x); | 278 Node* Float64Ceil(Node* x); |
280 Node* Float64Floor(Node* x); | 279 Node* Float64Floor(Node* x); |
281 Node* Float64Round(Node* x); | 280 Node* Float64Round(Node* x); |
282 Node* Float64Trunc(Node* x); | 281 Node* Float64Trunc(Node* x); |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 // Map of variables to the list of value nodes that have been added from each | 502 // Map of variables to the list of value nodes that have been added from each |
504 // merge path in their order of merging. | 503 // merge path in their order of merging. |
505 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; | 504 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; |
506 }; | 505 }; |
507 | 506 |
508 } // namespace compiler | 507 } // namespace compiler |
509 } // namespace internal | 508 } // namespace internal |
510 } // namespace v8 | 509 } // namespace v8 |
511 | 510 |
512 #endif // V8_COMPILER_CODE_STUB_ASSEMBLER_H_ | 511 #endif // V8_COMPILER_CODE_STUB_ASSEMBLER_H_ |
OLD | NEW |