From 1cfea7af6f38cd06393fed3e466701869ce8b2c3 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Wed, 24 May 2017 14:44:38 +0100 Subject: Code cleanup around vdex. 1) Handle the vdex in dex2oat instead of compiler_driver 2) CHECK instead of DCHECK that we don't dexlayout with vdex. Test: test.py Change-Id: Idf7be59bb25708181e391d17128480659ac697e5 --- compiler/image_test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/image_test.h') diff --git a/compiler/image_test.h b/compiler/image_test.h index 3d89757d51..fa714ada6c 100644 --- a/compiler/image_test.h +++ b/compiler/image_test.h @@ -220,7 +220,7 @@ inline void CompilationHelper::Compile(CompilerDriver* driver, TimingLogger timings("ImageTest::WriteRead", false, false); TimingLogger::ScopedTiming t("CompileAll", &timings); driver->SetDexFilesForOatFile(class_path); - driver->CompileAll(class_loader, class_path, /* verifier_deps */ nullptr, &timings); + driver->CompileAll(class_loader, class_path, &timings); t.NewTiming("WriteElf"); SafeMap key_value_store; -- cgit v1.2.3-59-g8ed1b