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 #include "src/compiler/common-operator.h" | 5 #include "src/compiler/common-operator.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "src/compiler/operator-properties-inl.h" | 9 #include "src/compiler/operator-properties-inl.h" |
10 #include "src/test/test-utils.h" | 10 #include "test/unittests/test-utils.h" |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 namespace compiler { | 14 namespace compiler { |
15 | 15 |
16 | 16 |
17 // ----------------------------------------------------------------------------- | 17 // ----------------------------------------------------------------------------- |
18 // Shared operators. | 18 // Shared operators. |
19 | 19 |
20 | 20 |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 EXPECT_EQ(arguments + 1, OperatorProperties::GetTotalInputCount(op)); | 174 EXPECT_EQ(arguments + 1, OperatorProperties::GetTotalInputCount(op)); |
175 EXPECT_EQ(0, OperatorProperties::GetControlOutputCount(op)); | 175 EXPECT_EQ(0, OperatorProperties::GetControlOutputCount(op)); |
176 EXPECT_EQ(0, OperatorProperties::GetEffectOutputCount(op)); | 176 EXPECT_EQ(0, OperatorProperties::GetEffectOutputCount(op)); |
177 EXPECT_EQ(1, OperatorProperties::GetValueOutputCount(op)); | 177 EXPECT_EQ(1, OperatorProperties::GetValueOutputCount(op)); |
178 } | 178 } |
179 } | 179 } |
180 | 180 |
181 } // namespace compiler | 181 } // namespace compiler |
182 } // namespace internal | 182 } // namespace internal |
183 } // namespace v8 | 183 } // namespace v8 |
OLD | NEW |