Index: runtime/vm/assembler.cc |
diff --git a/runtime/vm/assembler.cc b/runtime/vm/assembler.cc |
index cefafb8b3c58d6bf9b7399954699a6bcdc0da980..0f5c5519125003e7dfd31f7d1648897dc1aaf94e 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); |
} |
@@ -293,8 +294,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); |
} |