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

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

Issue 2056503003: [turbofan] Add comments to CodeAssembler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove extraneous change 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
« no previous file with comments | « src/compiler/opcodes.h ('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 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 void Branch(Node* condition, RawMachineLabel* true_val, 691 void Branch(Node* condition, RawMachineLabel* true_val,
692 RawMachineLabel* false_val); 692 RawMachineLabel* false_val);
693 void Switch(Node* index, RawMachineLabel* default_label, int32_t* case_values, 693 void Switch(Node* index, RawMachineLabel* default_label, int32_t* case_values,
694 RawMachineLabel** case_labels, size_t case_count); 694 RawMachineLabel** case_labels, size_t case_count);
695 void Return(Node* value); 695 void Return(Node* value);
696 void Return(Node* v1, Node* v2); 696 void Return(Node* v1, Node* v2);
697 void Return(Node* v1, Node* v2, Node* v3); 697 void Return(Node* v1, Node* v2, Node* v3);
698 void Bind(RawMachineLabel* label); 698 void Bind(RawMachineLabel* label);
699 void Deoptimize(Node* state); 699 void Deoptimize(Node* state);
700 void DebugBreak(); 700 void DebugBreak();
701 void Comment(const char* msg);
701 702
702 // Variables. 703 // Variables.
703 Node* Phi(MachineRepresentation rep, Node* n1, Node* n2) { 704 Node* Phi(MachineRepresentation rep, Node* n1, Node* n2) {
704 return AddNode(common()->Phi(rep, 2), n1, n2, graph()->start()); 705 return AddNode(common()->Phi(rep, 2), n1, n2, graph()->start());
705 } 706 }
706 Node* Phi(MachineRepresentation rep, Node* n1, Node* n2, Node* n3) { 707 Node* Phi(MachineRepresentation rep, Node* n1, Node* n2, Node* n3) {
707 return AddNode(common()->Phi(rep, 3), n1, n2, n3, graph()->start()); 708 return AddNode(common()->Phi(rep, 3), n1, n2, n3, graph()->start());
708 } 709 }
709 Node* Phi(MachineRepresentation rep, Node* n1, Node* n2, Node* n3, Node* n4) { 710 Node* Phi(MachineRepresentation rep, Node* n1, Node* n2, Node* n3, Node* n4) {
710 return AddNode(common()->Phi(rep, 4), n1, n2, n3, n4, graph()->start()); 711 return AddNode(common()->Phi(rep, 4), n1, n2, n3, n4, graph()->start());
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 bool deferred_; 770 bool deferred_;
770 friend class RawMachineAssembler; 771 friend class RawMachineAssembler;
771 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); 772 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel);
772 }; 773 };
773 774
774 } // namespace compiler 775 } // namespace compiler
775 } // namespace internal 776 } // namespace internal
776 } // namespace v8 777 } // namespace v8
777 778
778 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 779 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/raw-machine-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698