summaryrefslogtreecommitdiffstats
path: root/runtime/reference_table.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/reference_table.cc')
-rw-r--r--runtime/reference_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/reference_table.cc b/runtime/reference_table.cc
index a9b17e092..f43a15b83 100644
--- a/runtime/reference_table.cc
+++ b/runtime/reference_table.cc
@@ -234,7 +234,7 @@ void ReferenceTable::Dump(std::ostream& os, const Table& entries) {
void ReferenceTable::VisitRoots(RootCallback* visitor, void* arg, uint32_t tid,
RootType root_type) {
for (auto& ref : entries_) {
- ref = visitor(ref, arg, tid, root_type);
+ visitor(&ref, arg, tid, root_type);
}
}