From 33f7c8aa87831945c567f57c8b860f216c4371ae Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Mon, 19 Nov 2018 10:22:01 +0000 Subject: Remove CompiledMethod dependency on CompilerDriver. Test: m test-art-host-gtest Change-Id: Ibee78d5c54d3ff8162258963fde25065b579a000 --- compiler/driver/compiler_driver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/driver/compiler_driver.cc') 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(); -- cgit v1.2.3-59-g8ed1b