| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |