| 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_UNITTESTS_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_ | 5 #ifndef V8_UNITTESTS_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_ |
| 6 #define V8_UNITTESTS_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_ | 6 #define V8_UNITTESTS_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 MakeCallDescriptor(test->zone(), return_type), | 42 MakeCallDescriptor(test->zone(), return_type), |
| 43 MachineType::PointerRepresentation(), | 43 MachineType::PointerRepresentation(), |
| 44 MachineOperatorBuilder::kAllOptionalOps), | 44 MachineOperatorBuilder::kAllOptionalOps), |
| 45 test_(test) {} | 45 test_(test) {} |
| 46 StreamBuilder(InstructionSelectorTest* test, MachineType return_type, | 46 StreamBuilder(InstructionSelectorTest* test, MachineType return_type, |
| 47 MachineType parameter0_type) | 47 MachineType parameter0_type) |
| 48 : RawMachineAssembler( | 48 : RawMachineAssembler( |
| 49 test->isolate(), new (test->zone()) Graph(test->zone()), | 49 test->isolate(), new (test->zone()) Graph(test->zone()), |
| 50 MakeCallDescriptor(test->zone(), return_type, parameter0_type), | 50 MakeCallDescriptor(test->zone(), return_type, parameter0_type), |
| 51 MachineType::PointerRepresentation(), | 51 MachineType::PointerRepresentation(), |
| 52 MachineOperatorBuilder::kAllOptionalOps), | 52 MachineOperatorBuilder::kAllOptionalOps, |
| 53 InstructionSelector::AlignmentRequirements()), |
| 53 test_(test) {} | 54 test_(test) {} |
| 54 StreamBuilder(InstructionSelectorTest* test, MachineType return_type, | 55 StreamBuilder(InstructionSelectorTest* test, MachineType return_type, |
| 55 MachineType parameter0_type, MachineType parameter1_type) | 56 MachineType parameter0_type, MachineType parameter1_type) |
| 56 : RawMachineAssembler( | 57 : RawMachineAssembler( |
| 57 test->isolate(), new (test->zone()) Graph(test->zone()), | 58 test->isolate(), new (test->zone()) Graph(test->zone()), |
| 58 MakeCallDescriptor(test->zone(), return_type, parameter0_type, | 59 MakeCallDescriptor(test->zone(), return_type, parameter0_type, |
| 59 parameter1_type), | 60 parameter1_type), |
| 60 MachineType::PointerRepresentation(), | 61 MachineType::PointerRepresentation(), |
| 61 MachineOperatorBuilder::kAllOptionalOps), | 62 MachineOperatorBuilder::kAllOptionalOps), |
| 62 test_(test) {} | 63 test_(test) {} |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 template <typename T> | 292 template <typename T> |
| 292 class InstructionSelectorTestWithParam | 293 class InstructionSelectorTestWithParam |
| 293 : public InstructionSelectorTest, | 294 : public InstructionSelectorTest, |
| 294 public ::testing::WithParamInterface<T> {}; | 295 public ::testing::WithParamInterface<T> {}; |
| 295 | 296 |
| 296 } // namespace compiler | 297 } // namespace compiler |
| 297 } // namespace internal | 298 } // namespace internal |
| 298 } // namespace v8 | 299 } // namespace v8 |
| 299 | 300 |
| 300 #endif // V8_UNITTESTS_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_ | 301 #endif // V8_UNITTESTS_COMPILER_INSTRUCTION_SELECTOR_UNITTEST_H_ |
| OLD | NEW |