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

Side by Side Diff: src/compiler/raw-machine-assembler.h

Issue 2576213007: [interpreter] Avoid allocation of temporary array of Nodes when generating dispatch to bytecode han… (Closed)
Patch Set: Created 4 years 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/compiler/code-assembler.cc ('k') | src/compiler/raw-machine-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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_RAW_MACHINE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/compiler/common-operator.h" 9 #include "src/compiler/common-operator.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 Node* arg1); 725 Node* arg1);
726 // Call to a C function with eight arguments. 726 // Call to a C function with eight arguments.
727 Node* CallCFunction8(MachineType return_type, MachineType arg0_type, 727 Node* CallCFunction8(MachineType return_type, MachineType arg0_type,
728 MachineType arg1_type, MachineType arg2_type, 728 MachineType arg1_type, MachineType arg2_type,
729 MachineType arg3_type, MachineType arg4_type, 729 MachineType arg3_type, MachineType arg4_type,
730 MachineType arg5_type, MachineType arg6_type, 730 MachineType arg5_type, MachineType arg6_type,
731 MachineType arg7_type, Node* function, Node* arg0, 731 MachineType arg7_type, Node* function, Node* arg0,
732 Node* arg1, Node* arg2, Node* arg3, Node* arg4, 732 Node* arg1, Node* arg2, Node* arg3, Node* arg4,
733 Node* arg5, Node* arg6, Node* arg7); 733 Node* arg5, Node* arg6, Node* arg7);
734 734
735 // Tail call the given call descriptor and the given arguments.
736 Node* TailCallN(CallDescriptor* call_descriptor, Node* function, Node** args);
737
738 // =========================================================================== 735 // ===========================================================================
739 // The following utility methods deal with control flow, hence might switch 736 // The following utility methods deal with control flow, hence might switch
740 // the current basic block or create new basic blocks for labels. 737 // the current basic block or create new basic blocks for labels.
741 738
742 // Control flow. 739 // Control flow.
743 void Goto(RawMachineLabel* label); 740 void Goto(RawMachineLabel* label);
744 void Branch(Node* condition, RawMachineLabel* true_val, 741 void Branch(Node* condition, RawMachineLabel* true_val,
745 RawMachineLabel* false_val); 742 RawMachineLabel* false_val);
746 void Switch(Node* index, RawMachineLabel* default_label, 743 void Switch(Node* index, RawMachineLabel* default_label,
747 const int32_t* case_values, RawMachineLabel** case_labels, 744 const int32_t* case_values, RawMachineLabel** case_labels,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 bool deferred_; 825 bool deferred_;
829 friend class RawMachineAssembler; 826 friend class RawMachineAssembler;
830 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); 827 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel);
831 }; 828 };
832 829
833 } // namespace compiler 830 } // namespace compiler
834 } // namespace internal 831 } // namespace internal
835 } // namespace v8 832 } // namespace v8
836 833
837 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 834 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/code-assembler.cc ('k') | src/compiler/raw-machine-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698