diff options
| author | 2017-11-02 12:36:58 +0000 | |
|---|---|---|
| committer | 2017-11-02 12:36:58 +0000 | |
| commit | af52bcb7532e25331d6528c05105423312e161fd (patch) | |
| tree | 4709dfe2f99871909a16ad7ac2bc6c9e068aec95 /compiler/optimizing/codegen_test.cc | |
| parent | 9d3e8fa581d2848edbf2e071ad0baad4edc2f8a3 (diff) | |
| parent | 33bff25bcd7a02d35c54f63740eadb1a4833fc92 (diff) | |
Merge "ART: Make InstructionSet an enum class and add kLast."
Diffstat (limited to 'compiler/optimizing/codegen_test.cc')
| -rw-r--r-- | compiler/optimizing/codegen_test.cc | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/compiler/optimizing/codegen_test.cc b/compiler/optimizing/codegen_test.cc index e35c7c734b..ba431a5b08 100644 --- a/compiler/optimizing/codegen_test.cc +++ b/compiler/optimizing/codegen_test.cc @@ -44,22 +44,22 @@ static ::std::vector<CodegenTargetConfig> GetTargetConfigs() {    ::std::vector<CodegenTargetConfig> test_config_candidates = {  #ifdef ART_ENABLE_CODEGEN_arm      // TODO: Should't this be `kThumb2` instead of `kArm` here? -    CodegenTargetConfig(kArm, create_codegen_arm_vixl32), +    CodegenTargetConfig(InstructionSet::kArm, create_codegen_arm_vixl32),  #endif  #ifdef ART_ENABLE_CODEGEN_arm64 -    CodegenTargetConfig(kArm64, create_codegen_arm64), +    CodegenTargetConfig(InstructionSet::kArm64, create_codegen_arm64),  #endif  #ifdef ART_ENABLE_CODEGEN_x86 -    CodegenTargetConfig(kX86, create_codegen_x86), +    CodegenTargetConfig(InstructionSet::kX86, create_codegen_x86),  #endif  #ifdef ART_ENABLE_CODEGEN_x86_64 -    CodegenTargetConfig(kX86_64, create_codegen_x86_64), +    CodegenTargetConfig(InstructionSet::kX86_64, create_codegen_x86_64),  #endif  #ifdef ART_ENABLE_CODEGEN_mips -    CodegenTargetConfig(kMips, create_codegen_mips), +    CodegenTargetConfig(InstructionSet::kMips, create_codegen_mips),  #endif  #ifdef ART_ENABLE_CODEGEN_mips64 -    CodegenTargetConfig(kMips64, create_codegen_mips64) +    CodegenTargetConfig(InstructionSet::kMips64, create_codegen_mips64)  #endif    }; @@ -825,7 +825,7 @@ TEST_F(CodegenTest, ARM64ParallelMoveResolverSIMD) {  TEST_F(CodegenTest, MipsClobberRA) {    std::unique_ptr<const MipsInstructionSetFeatures> features_mips(        MipsInstructionSetFeatures::FromCppDefines()); -  if (!CanExecute(kMips) || features_mips->IsR6()) { +  if (!CanExecute(InstructionSet::kMips) || features_mips->IsR6()) {      // HMipsComputeBaseMethodAddress and the NAL instruction behind it      // should only be generated on non-R6.      return; |