| Index: runtime/vm/assembler_x64.h
|
| ===================================================================
|
| --- runtime/vm/assembler_x64.h (revision 39909)
|
| +++ runtime/vm/assembler_x64.h (working copy)
|
| @@ -688,6 +688,13 @@
|
| kNotPatchable,
|
| };
|
|
|
| + bool allow_constant_pool() const {
|
| + return allow_constant_pool_;
|
| + }
|
| + void set_allow_constant_pool(bool b) {
|
| + allow_constant_pool_ = b;
|
| + }
|
| +
|
| bool CanLoadImmediateFromPool(const Immediate& imm, Register pp);
|
| void LoadImmediate(Register reg, const Immediate& imm, Register pp);
|
| void LoadImmediate(const Address& dst, const Immediate& imm, Register pp);
|
| @@ -983,6 +990,7 @@
|
| };
|
|
|
| GrowableArray<CodeComment*> comments_;
|
| + bool allow_constant_pool_;
|
|
|
| intptr_t FindObject(const Object& obj, Patchability patchable);
|
| intptr_t FindExternalLabel(const ExternalLabel* label,
|
|
|