summaryrefslogtreecommitdiff
path: root/runtime/jit/jit_code_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/jit/jit_code_cache.cc')
-rw-r--r--runtime/jit/jit_code_cache.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/runtime/jit/jit_code_cache.cc b/runtime/jit/jit_code_cache.cc
index ad8cc9ab63..39f165d7e2 100644
--- a/runtime/jit/jit_code_cache.cc
+++ b/runtime/jit/jit_code_cache.cc
@@ -1763,18 +1763,6 @@ void JitCodeCache::InvalidateAllCompiledCode() {
Runtime::Current()->GetInstrumentation()->InitializeMethodsCode(meth, /*aot_code=*/ nullptr);
}
}
-
- for (auto it : zygote_map_) {
- if (it.method == nullptr) {
- continue;
- }
- if (it.method->IsPreCompiled()) {
- it.method->ClearPreCompiled();
- }
- Runtime::Current()->GetInstrumentation()->InitializeMethodsCode(it.method,
- /*aot_code=*/nullptr);
- }
-
saved_compiled_methods_map_.clear();
osr_code_map_.clear();
}