Index: runtime/vm/assembler.h |
diff --git a/runtime/vm/assembler.h b/runtime/vm/assembler.h |
index f2ad6fed6491405e95ac124d3c1208104c83955d..980f72ceee89b4f1122dc883d35c422d57c3183a 100644 |
--- a/runtime/vm/assembler.h |
+++ b/runtime/vm/assembler.h |
@@ -287,12 +287,14 @@ enum Patchability { |
class ObjectPoolWrapper : public ValueObject { |
public: |
- intptr_t AddObject(const Object& obj); |
+ intptr_t AddObject(const Object& obj, |
+ Patchability patchable = kNotPatchable); |
intptr_t AddImmediate(uword imm); |
intptr_t AddExternalLabel(const ExternalLabel* label, |
Patchability patchable); |
- intptr_t FindObject(const Object& obj); |
+ intptr_t FindObject(const Object& obj, |
+ Patchability patchable = kNotPatchable); |
intptr_t FindImmediate(uword imm); |
intptr_t FindExternalLabel(const ExternalLabel* label, |
Patchability patchable); |
@@ -310,6 +312,12 @@ class ObjectPoolWrapper : public ValueObject { |
DirectChainedHashMap<ObjIndexPair> object_pool_index_table_; |
}; |
+ |
+enum RestorePP { |
+ kRestoreCallerPP, |
+ kKeepCalleePP |
+}; |
+ |
} // namespace dart |