diff options
Diffstat (limited to 'dex2oat/dex2oat_test.cc')
| -rw-r--r-- | dex2oat/dex2oat_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dex2oat/dex2oat_test.cc b/dex2oat/dex2oat_test.cc index e86e560b1a..c2275aca95 100644 --- a/dex2oat/dex2oat_test.cc +++ b/dex2oat/dex2oat_test.cc @@ -125,7 +125,7 @@ class Dex2oatTest : public Dex2oatEnvironmentTest { class_path = OatFile::kSpecialSharedLibrary; } argv.push_back(class_path); - if (runtime->IsDebuggable()) { + if (runtime->IsJavaDebuggable()) { argv.push_back("--debuggable"); } runtime->AddCurrentRuntimeFeaturesAsDex2OatArguments(&argv); @@ -591,7 +591,7 @@ class Dex2oatLayoutTest : public Dex2oatTest { GenerateProfile(profile_location, dex_location, dex_file->GetLocationChecksum()); const std::vector<std::string>& extra_args = { "--profile-file=" + profile_location }; - GenerateOdexForTest(dex_location, odex_location, CompilerFilter::kLayoutProfile, extra_args); + GenerateOdexForTest(dex_location, odex_location, CompilerFilter::kSpeedProfile, extra_args); CheckValidity(); ASSERT_TRUE(success_); @@ -632,7 +632,7 @@ class Dex2oatLayoutTest : public Dex2oatTest { EXPECT_EQ(old_class1, new_class0); } - EXPECT_EQ(odex_file->GetCompilerFilter(), CompilerFilter::kLayoutProfile); + EXPECT_EQ(odex_file->GetCompilerFilter(), CompilerFilter::kSpeedProfile); } // Check whether the dex2oat run was really successful. |