| Index: runtime/vm/assembler.h
|
| diff --git a/runtime/vm/assembler.h b/runtime/vm/assembler.h
|
| index 3f4d5ea099383d89477d9b375355a8fc412a1859..bd3ca5b57dba1ef06b31a132ad7aec3799dee3fa 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);
|
| @@ -312,6 +314,12 @@ class ObjectPoolWrapper : public ValueObject {
|
| DirectChainedHashMap<ObjIndexPair> object_pool_index_table_;
|
| };
|
|
|
| +
|
| +enum RestorePP {
|
| + kRestoreCallerPP,
|
| + kKeepCalleePP
|
| +};
|
| +
|
| } // namespace dart
|
|
|
|
|
|
|