| 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/flags.h" | 10 #include "src/base/flags.h" |
| 11 #include "src/base/functional.h" | 11 #include "src/base/functional.h" |
| 12 #include "src/handles.h" | 12 #include "src/handles.h" |
| 13 #include "src/zone.h" | 13 #include "src/zone/zone.h" |
| 14 | 14 |
| 15 namespace v8 { | 15 namespace v8 { |
| 16 namespace internal { | 16 namespace internal { |
| 17 namespace compiler { | 17 namespace compiler { |
| 18 | 18 |
| 19 // An operator represents description of the "computation" of a node in the | 19 // An operator represents description of the "computation" of a node in the |
| 20 // compiler IR. A computation takes values (i.e. data) as input and produces | 20 // compiler IR. A computation takes values (i.e. data) as input and produces |
| 21 // zero or more values as output. The side-effects of a computation must be | 21 // zero or more values as output. The side-effects of a computation must be |
| 22 // captured by additional control and data dependencies which are part of the | 22 // captured by additional control and data dependencies which are part of the |
| 23 // IR graph. | 23 // IR graph. |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 template <> | 244 template <> |
| 245 struct OpEqualTo<Handle<ScopeInfo>> : public Handle<ScopeInfo>::equal_to {}; | 245 struct OpEqualTo<Handle<ScopeInfo>> : public Handle<ScopeInfo>::equal_to {}; |
| 246 template <> | 246 template <> |
| 247 struct OpHash<Handle<ScopeInfo>> : public Handle<ScopeInfo>::hash {}; | 247 struct OpHash<Handle<ScopeInfo>> : public Handle<ScopeInfo>::hash {}; |
| 248 | 248 |
| 249 } // namespace compiler | 249 } // namespace compiler |
| 250 } // namespace internal | 250 } // namespace internal |
| 251 } // namespace v8 | 251 } // namespace v8 |
| 252 | 252 |
| 253 #endif // V8_COMPILER_OPERATOR_H_ | 253 #endif // V8_COMPILER_OPERATOR_H_ |
| OLD | NEW |