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

Side by Side Diff: src/compiler/common-operator.h

Issue 1894983002: [turbofan] Introduce CallDescriptorOf helper for safety. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_issue-4924
Patch Set: Created 4 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 | « no previous file | src/compiler/common-operator.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_COMMON_OPERATOR_H_ 5 #ifndef V8_COMPILER_COMMON_OPERATOR_H_
6 #define V8_COMPILER_COMMON_OPERATOR_H_ 6 #define V8_COMPILER_COMMON_OPERATOR_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/compiler/frame-states.h" 9 #include "src/compiler/frame-states.h"
10 #include "src/machine-type.h" 10 #include "src/machine-type.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 bool operator==(SelectParameters const&, SelectParameters const&); 82 bool operator==(SelectParameters const&, SelectParameters const&);
83 bool operator!=(SelectParameters const&, SelectParameters const&); 83 bool operator!=(SelectParameters const&, SelectParameters const&);
84 84
85 size_t hash_value(SelectParameters const& p); 85 size_t hash_value(SelectParameters const& p);
86 86
87 std::ostream& operator<<(std::ostream&, SelectParameters const& p); 87 std::ostream& operator<<(std::ostream&, SelectParameters const& p);
88 88
89 SelectParameters const& SelectParametersOf(const Operator* const); 89 SelectParameters const& SelectParametersOf(const Operator* const);
90 90
91 CallDescriptor const* CallDescriptorOf(const Operator* const);
91 92
92 size_t ProjectionIndexOf(const Operator* const); 93 size_t ProjectionIndexOf(const Operator* const);
93 94
94 MachineRepresentation PhiRepresentationOf(const Operator* const); 95 MachineRepresentation PhiRepresentationOf(const Operator* const);
95 96
96 97
97 // The {IrOpcode::kParameter} opcode represents an incoming parameter to the 98 // The {IrOpcode::kParameter} opcode represents an incoming parameter to the
98 // function. This class bundles the index and a debug name for such operators. 99 // function. This class bundles the index and a debug name for such operators.
99 class ParameterInfo final { 100 class ParameterInfo final {
100 public: 101 public:
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 Zone* const zone_; 214 Zone* const zone_;
214 215
215 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder); 216 DISALLOW_COPY_AND_ASSIGN(CommonOperatorBuilder);
216 }; 217 };
217 218
218 } // namespace compiler 219 } // namespace compiler
219 } // namespace internal 220 } // namespace internal
220 } // namespace v8 221 } // namespace v8
221 222
222 #endif // V8_COMPILER_COMMON_OPERATOR_H_ 223 #endif // V8_COMPILER_COMMON_OPERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/common-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698