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

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

Issue 2433923003: [regexp] Add fast-path for global, callable replace (Closed)
Patch Set: Rebase Created 4 years, 2 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
« no previous file with comments | « src/builtins/builtins-regexp.cc ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include <memory> 9 #include <memory>
10 10
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 436
437 Node* TailCallBytecodeDispatch(const CallInterfaceDescriptor& descriptor, 437 Node* TailCallBytecodeDispatch(const CallInterfaceDescriptor& descriptor,
438 Node* code_target_address, Node** args); 438 Node* code_target_address, Node** args);
439 439
440 Node* CallJS(Callable const& callable, Node* context, Node* function, 440 Node* CallJS(Callable const& callable, Node* context, Node* function,
441 Node* receiver, size_t result_size = 1); 441 Node* receiver, size_t result_size = 1);
442 Node* CallJS(Callable const& callable, Node* context, Node* function, 442 Node* CallJS(Callable const& callable, Node* context, Node* function,
443 Node* receiver, Node* arg1, size_t result_size = 1); 443 Node* receiver, Node* arg1, size_t result_size = 1);
444 Node* CallJS(Callable const& callable, Node* context, Node* function, 444 Node* CallJS(Callable const& callable, Node* context, Node* function,
445 Node* receiver, Node* arg1, Node* arg2, size_t result_size = 1); 445 Node* receiver, Node* arg1, Node* arg2, size_t result_size = 1);
446 Node* CallJS(Callable const& callable, Node* context, Node* function,
447 Node* receiver, Node* arg1, Node* arg2, Node* arg3,
448 size_t result_size = 1);
446 449
447 // Call to a C function with two arguments. 450 // Call to a C function with two arguments.
448 Node* CallCFunction2(MachineType return_type, MachineType arg0_type, 451 Node* CallCFunction2(MachineType return_type, MachineType arg0_type,
449 MachineType arg1_type, Node* function, Node* arg0, 452 MachineType arg1_type, Node* function, Node* arg0,
450 Node* arg1); 453 Node* arg1);
451 454
452 // Exception handling support. 455 // Exception handling support.
453 void GotoIfException(Node* node, Label* if_exception, 456 void GotoIfException(Node* node, Label* if_exception,
454 Variable* exception_var = nullptr); 457 Variable* exception_var = nullptr);
455 458
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 // Map of variables to the list of value nodes that have been added from each 514 // Map of variables to the list of value nodes that have been added from each
512 // merge path in their order of merging. 515 // merge path in their order of merging.
513 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; 516 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_;
514 }; 517 };
515 518
516 } // namespace compiler 519 } // namespace compiler
517 } // namespace internal 520 } // namespace internal
518 } // namespace v8 521 } // namespace v8
519 522
520 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ 523 #endif // V8_COMPILER_CODE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-regexp.cc ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698