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/compiler-unittests.h" |
5 #include "src/compiler/machine-operator.h" | 6 #include "src/compiler/machine-operator.h" |
6 #include "src/compiler/operator-properties-inl.h" | 7 #include "src/compiler/operator-properties-inl.h" |
7 #include "test/compiler-unittests/compiler-unittests.h" | |
8 #include "testing/gmock/include/gmock/gmock.h" | 8 #include "testing/gmock/include/gmock/gmock.h" |
9 | 9 |
10 using testing::IsNull; | 10 using testing::IsNull; |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 namespace compiler { | 14 namespace compiler { |
15 | 15 |
16 class MachineOperatorCommonTest : public CompilerTestWithParam<MachineType> { | 16 class MachineOperatorCommonTest : public CompilerTestWithParam<MachineType> { |
17 public: | 17 public: |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 EXPECT_EQ(1, OperatorProperties::GetValueOutputCount(op)); | 76 EXPECT_EQ(1, OperatorProperties::GetValueOutputCount(op)); |
77 } | 77 } |
78 | 78 |
79 | 79 |
80 INSTANTIATE_TEST_CASE_P(MachineOperatorTest, MachineOperatorCommonTest, | 80 INSTANTIATE_TEST_CASE_P(MachineOperatorTest, MachineOperatorCommonTest, |
81 ::testing::Values(kRepWord32, kRepWord64)); | 81 ::testing::Values(kRepWord32, kRepWord64)); |
82 | 82 |
83 } // namespace compiler | 83 } // namespace compiler |
84 } // namespace internal | 84 } // namespace internal |
85 } // namespace v8 | 85 } // namespace v8 |
OLD | NEW |