summaryrefslogtreecommitdiffstats
path: root/runtime/gc_root-inl.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2014-09-02 16:20:45 -0700
committerMathieu Chartier <mathieuc@google.com>2014-09-02 16:42:08 -0700
commitc2bda539093db61be1f4095e579f6e68db8a23f1 (patch)
tree38ae12dc45d237de694441ee302ba3c48ac22bc2 /runtime/gc_root-inl.h
parent62bcfec936692ff4f75cdc3267c081080b0e6acc (diff)
downloadart-c2bda539093db61be1f4095e579f6e68db8a23f1.tar.gz
art-c2bda539093db61be1f4095e579f6e68db8a23f1.tar.bz2
art-c2bda539093db61be1f4095e579f6e68db8a23f1.zip
Add missing read barriers to intern table.
Also deleted GcRoot::Assign. Change-Id: Ib1ea739cf79c72fc92a8628cd9095c11b660e018
Diffstat (limited to 'runtime/gc_root-inl.h')
-rw-r--r--runtime/gc_root-inl.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/runtime/gc_root-inl.h b/runtime/gc_root-inl.h
index 2661e54261..482f7bca0e 100644
--- a/runtime/gc_root-inl.h
+++ b/runtime/gc_root-inl.h
@@ -29,10 +29,5 @@ inline MirrorType* GcRoot<MirrorType>::Read() {
return ReadBarrier::BarrierForRoot<MirrorType, kReadBarrierOption>(&root_);
}
-template<class MirrorType>
-inline void GcRoot<MirrorType>::Assign(MirrorType* value) {
- root_ = value;
-}
-
} // namespace art
#endif // ART_RUNTIME_GC_ROOT_INL_H_