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

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

Issue 2814373002: [string] Widen StringIndexOf fast path (Closed)
Patch Set: Address comments Created 3 years, 8 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-string-gen.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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 // Call to a C function with two arguments. 414 // Call to a C function with two arguments.
415 Node* CallCFunction2(MachineType return_type, MachineType arg0_type, 415 Node* CallCFunction2(MachineType return_type, MachineType arg0_type,
416 MachineType arg1_type, Node* function, Node* arg0, 416 MachineType arg1_type, Node* function, Node* arg0,
417 Node* arg1); 417 Node* arg1);
418 418
419 // Call to a C function with three arguments. 419 // Call to a C function with three arguments.
420 Node* CallCFunction3(MachineType return_type, MachineType arg0_type, 420 Node* CallCFunction3(MachineType return_type, MachineType arg0_type,
421 MachineType arg1_type, MachineType arg2_type, 421 MachineType arg1_type, MachineType arg2_type,
422 Node* function, Node* arg0, Node* arg1, Node* arg2); 422 Node* function, Node* arg0, Node* arg1, Node* arg2);
423 423
424 // Call to a C function with six arguments.
425 Node* CallCFunction6(MachineType return_type, MachineType arg0_type,
426 MachineType arg1_type, MachineType arg2_type,
427 MachineType arg3_type, MachineType arg4_type,
428 MachineType arg5_type, Node* function, Node* arg0,
429 Node* arg1, Node* arg2, Node* arg3, Node* arg4,
430 Node* arg5);
431
424 // Exception handling support. 432 // Exception handling support.
425 void GotoIfException(Node* node, Label* if_exception, 433 void GotoIfException(Node* node, Label* if_exception,
426 Variable* exception_var = nullptr); 434 Variable* exception_var = nullptr);
427 435
428 // Helpers which delegate to RawMachineAssembler. 436 // Helpers which delegate to RawMachineAssembler.
429 Factory* factory() const; 437 Factory* factory() const;
430 Isolate* isolate() const; 438 Isolate* isolate() const;
431 Zone* zone() const; 439 Zone* zone() const;
432 440
433 CodeAssemblerState* state() { return state_; } 441 CodeAssemblerState* state() { return state_; }
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 CodeAssemblerCallback call_epilogue_; 592 CodeAssemblerCallback call_epilogue_;
585 593
586 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState); 594 DISALLOW_COPY_AND_ASSIGN(CodeAssemblerState);
587 }; 595 };
588 596
589 } // namespace compiler 597 } // namespace compiler
590 } // namespace internal 598 } // namespace internal
591 } // namespace v8 599 } // namespace v8
592 600
593 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ 601 #endif // V8_COMPILER_CODE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-string-gen.cc ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698