| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_OPERATOR_H_ | 5 #ifndef V8_COMPILER_OPERATOR_H_ |
| 6 #define V8_COMPILER_OPERATOR_H_ | 6 #define V8_COMPILER_OPERATOR_H_ |
| 7 | 7 |
| 8 #include <ostream> // NOLINT(readability/streams) | 8 #include <ostream> // NOLINT(readability/streams) |
| 9 | 9 |
| 10 #include "src/base/compiler-specific.h" | 10 #include "src/base/compiler-specific.h" |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 | 137 |
| 138 private: | 138 private: |
| 139 Opcode opcode_; | 139 Opcode opcode_; |
| 140 Properties properties_; | 140 Properties properties_; |
| 141 const char* mnemonic_; | 141 const char* mnemonic_; |
| 142 uint32_t value_in_; | 142 uint32_t value_in_; |
| 143 uint16_t effect_in_; | 143 uint16_t effect_in_; |
| 144 uint16_t control_in_; | 144 uint16_t control_in_; |
| 145 uint16_t value_out_; | 145 uint16_t value_out_; |
| 146 uint8_t effect_out_; | 146 uint8_t effect_out_; |
| 147 uint16_t control_out_; | 147 uint32_t control_out_; |
| 148 | 148 |
| 149 DISALLOW_COPY_AND_ASSIGN(Operator); | 149 DISALLOW_COPY_AND_ASSIGN(Operator); |
| 150 }; | 150 }; |
| 151 | 151 |
| 152 DEFINE_OPERATORS_FOR_FLAGS(Operator::Properties) | 152 DEFINE_OPERATORS_FOR_FLAGS(Operator::Properties) |
| 153 | 153 |
| 154 std::ostream& operator<<(std::ostream& os, const Operator& op); | 154 std::ostream& operator<<(std::ostream& os, const Operator& op); |
| 155 | 155 |
| 156 | 156 |
| 157 // Default equality function for below Operator1<*> class. | 157 // Default equality function for below Operator1<*> class. |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 template <> | 246 template <> |
| 247 struct OpEqualTo<Handle<ScopeInfo>> : public Handle<ScopeInfo>::equal_to {}; | 247 struct OpEqualTo<Handle<ScopeInfo>> : public Handle<ScopeInfo>::equal_to {}; |
| 248 template <> | 248 template <> |
| 249 struct OpHash<Handle<ScopeInfo>> : public Handle<ScopeInfo>::hash {}; | 249 struct OpHash<Handle<ScopeInfo>> : public Handle<ScopeInfo>::hash {}; |
| 250 | 250 |
| 251 } // namespace compiler | 251 } // namespace compiler |
| 252 } // namespace internal | 252 } // namespace internal |
| 253 } // namespace v8 | 253 } // namespace v8 |
| 254 | 254 |
| 255 #endif // V8_COMPILER_OPERATOR_H_ | 255 #endif // V8_COMPILER_OPERATOR_H_ |
| OLD | NEW |