diff options
Diffstat (limited to 'runtime/oat_file_assistant_test.cc')
-rw-r--r-- | runtime/oat_file_assistant_test.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/runtime/oat_file_assistant_test.cc b/runtime/oat_file_assistant_test.cc index b2798d3..0422fcd 100644 --- a/runtime/oat_file_assistant_test.cc +++ b/runtime/oat_file_assistant_test.cc @@ -27,6 +27,7 @@ #include "class_linker.h" #include "common_runtime_test.h" +#include "compiler_callbacks.h" #include "mem_map.h" #include "os.h" #include "thread-inl.h" @@ -77,11 +78,7 @@ class OatFileAssistantTest : public CommonRuntimeTest { nullptr)); // Make sure compilercallbacks are not set so that relocation will be // enabled. - for (std::pair<std::string, const void*>& pair : *options) { - if (pair.first == "compilercallbacks") { - pair.second = nullptr; - } - } + callbacks_.reset(); } virtual void PreRuntimeCreate() { |