diff options
author | 2018-11-19 13:47:08 +0000 | |
---|---|---|
committer | 2018-11-19 13:47:08 +0000 | |
commit | c754cc8e1c2dbcb1331ec2bed3ea0787bdd2b5c3 (patch) | |
tree | bfb50d986ad25030ecfde9b3a4e1ffd8983e30f6 /compiler/driver/compiler_driver.cc | |
parent | 498d7c1752d02f6687c2b19a077ad1942d1d6348 (diff) | |
parent | 33f7c8aa87831945c567f57c8b860f216c4371ae (diff) |
Merge "Remove CompiledMethod dependency on CompilerDriver."
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r-- | compiler/driver/compiler_driver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index 0d0a7f2b6a..77b0cea311 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -276,7 +276,7 @@ CompilerDriver::~CompilerDriver() { compiled_methods_.Visit([this](const DexFileReference& ref ATTRIBUTE_UNUSED, CompiledMethod* method) { if (method != nullptr) { - CompiledMethod::ReleaseSwapAllocatedCompiledMethod(this, method); + CompiledMethod::ReleaseSwapAllocatedCompiledMethod(GetCompiledMethodStorage(), method); } }); compiler_->UnInit(); |