summaryrefslogtreecommitdiff
path: root/runtime/gc_root-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/gc_root-inl.h')
-rw-r--r--runtime/gc_root-inl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/gc_root-inl.h b/runtime/gc_root-inl.h
index 57d5689e56..ae8a38f43e 100644
--- a/runtime/gc_root-inl.h
+++ b/runtime/gc_root-inl.h
@@ -27,9 +27,9 @@ namespace art {
template<class MirrorType>
template<ReadBarrierOption kReadBarrierOption>
-inline MirrorType* GcRoot<MirrorType>::Read() const {
+inline MirrorType* GcRoot<MirrorType>::Read(GcRootSource* gc_root_source) const {
return down_cast<MirrorType*>(
- ReadBarrier::BarrierForRoot<mirror::Object, kReadBarrierOption>(&root_));
+ ReadBarrier::BarrierForRoot<mirror::Object, kReadBarrierOption>(&root_, gc_root_source));
}
template<class MirrorType>
inline GcRoot<MirrorType>::GcRoot(MirrorType* ref)