summaryrefslogtreecommitdiff
path: root/runtime/mirror/executable-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/mirror/executable-inl.h')
-rw-r--r--runtime/mirror/executable-inl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/mirror/executable-inl.h b/runtime/mirror/executable-inl.h
index f2d684a3d5..77669dace8 100644
--- a/runtime/mirror/executable-inl.h
+++ b/runtime/mirror/executable-inl.h
@@ -47,6 +47,7 @@ inline void Executable::VisitTarget(ReflectiveValueVisitor* v) {
SetArtMethod(new_target);
SetDexMethodIndex(new_target->GetDexMethodIndex());
SetDeclaringClass(new_target->GetDeclaringClass());
+ WriteBarrier::ForEveryFieldWrite(this);
}
}