| Index: runtime/vm/intermediate_language.h
|
| ===================================================================
|
| --- runtime/vm/intermediate_language.h (revision 12253)
|
| +++ runtime/vm/intermediate_language.h (working copy)
|
| @@ -2157,8 +2157,11 @@
|
|
|
| class StoreInstanceFieldInstr : public TemplateDefinition<2> {
|
| public:
|
| - StoreInstanceFieldInstr(const Field& field, Value* instance, Value* value)
|
| - : field_(field) {
|
| + StoreInstanceFieldInstr(const Field& field,
|
| + Value* instance,
|
| + Value* value,
|
| + bool emit_store_barrier)
|
| + : field_(field), emit_store_barrier_(emit_store_barrier) {
|
| ASSERT(instance != NULL);
|
| ASSERT(value != NULL);
|
| inputs_[0] = instance;
|
| @@ -2172,6 +2175,9 @@
|
|
|
| Value* instance() const { return inputs_[0]; }
|
| Value* value() const { return inputs_[1]; }
|
| + bool emit_store_barrier() const {
|
| + return emit_store_barrier_;
|
| + }
|
|
|
| virtual void PrintOperandsTo(BufferFormatter* f) const;
|
|
|
| @@ -2180,6 +2186,7 @@
|
|
|
| private:
|
| const Field& field_;
|
| + const bool emit_store_barrier_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(StoreInstanceFieldInstr);
|
| };
|
|
|