diff options
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
-rw-r--r-- | compiler/driver/compiler_driver_test.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver_test.cc b/compiler/driver/compiler_driver_test.cc index 1e4ca16844..3879631053 100644 --- a/compiler/driver/compiler_driver_test.cc +++ b/compiler/driver/compiler_driver_test.cc @@ -246,6 +246,11 @@ class CompilerDriverProfileTest : public CompilerDriverTest { return &profile_info_; } + CompilerFilter::Filter GetCompilerFilter() const OVERRIDE { + // Use a profile based filter. + return CompilerFilter::kSpeedProfile; + } + std::unordered_set<std::string> GetExpectedMethodsForClass(const std::string& clazz) { if (clazz == "Main") { return std::unordered_set<std::string>({ @@ -304,7 +309,6 @@ TEST_F(CompilerDriverProfileTest, ProfileGuidedCompilation) { // Need to enable dex-file writability. Methods rejected to be compiled will run through the // dex-to-dex compiler. - ProfileCompilationInfo info; for (const DexFile* dex_file : GetDexFiles(class_loader)) { ASSERT_TRUE(dex_file->EnableWrite()); } |