Index: runtime/vm/assembler.cc |
diff --git a/runtime/vm/assembler.cc b/runtime/vm/assembler.cc |
index 5fe8c2f81f634d5830574d0ee42807bec8d1c50a..25803ca829ac7133ac794ee0bcafb20a9f97c760 100644 |
--- a/runtime/vm/assembler.cc |
+++ b/runtime/vm/assembler.cc |
@@ -242,8 +242,9 @@ const Code::Comments& Assembler::GetCodeComments() const { |
} |
-intptr_t ObjectPoolWrapper::AddObject(const Object& obj) { |
- return AddObject(ObjectPool::Entry(&obj), kNotPatchable); |
+intptr_t ObjectPoolWrapper::AddObject(const Object& obj, |
+ Patchability patchable) { |
+ return AddObject(ObjectPool::Entry(&obj), patchable); |
} |
@@ -287,8 +288,9 @@ intptr_t ObjectPoolWrapper::FindObject(ObjectPool::Entry entry, |
} |
-intptr_t ObjectPoolWrapper::FindObject(const Object& obj) { |
- return FindObject(ObjectPool::Entry(&obj), kNotPatchable); |
+intptr_t ObjectPoolWrapper::FindObject(const Object& obj, |
+ Patchability patchable) { |
+ return FindObject(ObjectPool::Entry(&obj), patchable); |
} |