diff options
Diffstat (limited to 'runtime/dexopt_test.h')
| -rw-r--r-- | runtime/dexopt_test.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/dexopt_test.h b/runtime/dexopt_test.h index 5f0eafd8eb..6e8dc097d5 100644 --- a/runtime/dexopt_test.h +++ b/runtime/dexopt_test.h @@ -46,7 +46,8 @@ class DexoptTest : public Dex2oatEnvironmentTest { CompilerFilter::Filter filter, bool relocate, bool pic, - bool with_alternate_image); + bool with_alternate_image, + const char* compilation_reason = nullptr); // Generate a non-PIC odex file for the purposes of test. // The generated odex file will be un-relocated. @@ -56,7 +57,8 @@ class DexoptTest : public Dex2oatEnvironmentTest { void GeneratePicOdexForTest(const std::string& dex_location, const std::string& odex_location, - CompilerFilter::Filter filter); + CompilerFilter::Filter filter, + const char* compilation_reason = nullptr); // Generate an oat file for the given dex location in its oat location (under // the dalvik cache). |