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_NODE_MATCHERS_H_ | 5 #ifndef V8_COMPILER_NODE_MATCHERS_H_ |
6 #define V8_COMPILER_NODE_MATCHERS_H_ | 6 #define V8_COMPILER_NODE_MATCHERS_H_ |
7 | 7 |
8 #include <cmath> | 8 #include <cmath> |
9 | 9 |
10 #include "src/compiler/generic-node.h" | |
11 #include "src/compiler/generic-node-inl.h" | |
12 #include "src/compiler/node.h" | 10 #include "src/compiler/node.h" |
13 #include "src/compiler/operator.h" | 11 #include "src/compiler/operator.h" |
14 #include "src/unique.h" | 12 #include "src/unique.h" |
15 | 13 |
16 namespace v8 { | 14 namespace v8 { |
17 namespace internal { | 15 namespace internal { |
18 namespace compiler { | 16 namespace compiler { |
19 | 17 |
20 // A pattern matcher for nodes. | 18 // A pattern matcher for nodes. |
21 struct NodeMatcher { | 19 struct NodeMatcher { |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 }; | 387 }; |
390 | 388 |
391 typedef ScaledWithOffsetMatcher<Int32AddMatcher> ScaledWithOffset32Matcher; | 389 typedef ScaledWithOffsetMatcher<Int32AddMatcher> ScaledWithOffset32Matcher; |
392 typedef ScaledWithOffsetMatcher<Int64AddMatcher> ScaledWithOffset64Matcher; | 390 typedef ScaledWithOffsetMatcher<Int64AddMatcher> ScaledWithOffset64Matcher; |
393 | 391 |
394 } // namespace compiler | 392 } // namespace compiler |
395 } // namespace internal | 393 } // namespace internal |
396 } // namespace v8 | 394 } // namespace v8 |
397 | 395 |
398 #endif // V8_COMPILER_NODE_MATCHERS_H_ | 396 #endif // V8_COMPILER_NODE_MATCHERS_H_ |
OLD | NEW |