diff options
Diffstat (limited to 'runtime/dexopt_test.cc')
-rw-r--r-- | runtime/dexopt_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/dexopt_test.cc b/runtime/dexopt_test.cc index 8f0f9c61dc..f8388f315d 100644 --- a/runtime/dexopt_test.cc +++ b/runtime/dexopt_test.cc @@ -105,7 +105,8 @@ void DexoptTest::GenerateOatForTest(const std::string& dex_location, } // Verify the odex file was generated as expected. - std::unique_ptr<OatFile> odex_file(OatFile::Open(oat_location.c_str(), + std::unique_ptr<OatFile> odex_file(OatFile::Open(/* zip_fd */ -1, + oat_location.c_str(), oat_location.c_str(), nullptr, nullptr, |