Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(724)

Side by Side Diff: src/compiler/code-assembler.h

Issue 2031753003: [stubs] Introducing LoadICTFStub and LoadICTrampolineTFStub and a switch to enable them instead of … (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressing comments Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, 315 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1,
316 Node* arg2, size_t result_size = 1); 316 Node* arg2, size_t result_size = 1);
317 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, 317 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1,
318 Node* arg2, Node* arg3, size_t result_size = 1); 318 Node* arg2, Node* arg3, size_t result_size = 1);
319 Node* TailCallStub(const CallInterfaceDescriptor& descriptor, Node* target, 319 Node* TailCallStub(const CallInterfaceDescriptor& descriptor, Node* target,
320 Node* context, Node* arg1, Node* arg2, 320 Node* context, Node* arg1, Node* arg2,
321 size_t result_size = 1); 321 size_t result_size = 1);
322 Node* TailCallStub(const CallInterfaceDescriptor& descriptor, Node* target, 322 Node* TailCallStub(const CallInterfaceDescriptor& descriptor, Node* target,
323 Node* context, Node* arg1, Node* arg2, Node* arg3, 323 Node* context, Node* arg1, Node* arg2, Node* arg3,
324 size_t result_size = 1); 324 size_t result_size = 1);
325 Node* TailCallStub(const CallInterfaceDescriptor& descriptor, Node* target,
326 Node* context, Node* arg1, Node* arg2, Node* arg3,
327 Node* arg4, size_t result_size = 1);
325 328
326 Node* TailCallBytecodeDispatch(const CallInterfaceDescriptor& descriptor, 329 Node* TailCallBytecodeDispatch(const CallInterfaceDescriptor& descriptor,
327 Node* code_target_address, Node** args); 330 Node* code_target_address, Node** args);
328 331
329 // Branching helpers. 332 // Branching helpers.
330 void BranchIf(Node* condition, Label* if_true, Label* if_false); 333 void BranchIf(Node* condition, Label* if_true, Label* if_false);
331 334
332 #define BRANCH_HELPER(name) \ 335 #define BRANCH_HELPER(name) \
333 void BranchIf##name(Node* a, Node* b, Label* if_true, Label* if_false) { \ 336 void BranchIf##name(Node* a, Node* b, Label* if_true, Label* if_false) { \
334 BranchIf(name(a, b), if_true, if_false); \ 337 BranchIf(name(a, b), if_true, if_false); \
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 // Map of variables to the list of value nodes that have been added from each 406 // Map of variables to the list of value nodes that have been added from each
404 // merge path in their order of merging. 407 // merge path in their order of merging.
405 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; 408 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_;
406 }; 409 };
407 410
408 } // namespace compiler 411 } // namespace compiler
409 } // namespace internal 412 } // namespace internal
410 } // namespace v8 413 } // namespace v8
411 414
412 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ 415 #endif // V8_COMPILER_CODE_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698