| Index: runtime/vm/intermediate_language.h
|
| diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h
|
| index f7adb887791cb671165703e1b0df60644f8bdaf7..d412d3480c640230645f305c17e85f53e5c1f5bb 100644
|
| --- a/runtime/vm/intermediate_language.h
|
| +++ b/runtime/vm/intermediate_language.h
|
| @@ -561,6 +561,7 @@ class EmbeddedArray<T, 0> {
|
| M(BoxInt32) \
|
| M(UnboxInt32) \
|
| M(UnboxedIntConverter) \
|
| + M(GrowTypedData) \
|
| M(Deoptimize)
|
|
|
| #define FOR_EACH_ABSTRACT_INSTRUCTION(M) \
|
| @@ -7793,6 +7794,24 @@ class UnboxedIntConverterInstr : public TemplateDefinition<1, NoThrow> {
|
| };
|
|
|
|
|
| +class GrowTypedDataInstr : public TemplateDefinition<1, Throws> {
|
| + public:
|
| + explicit GrowTypedDataInstr(Value* typed_data) {
|
| + SetInputAt(0, typed_data);
|
| + }
|
| +
|
| + Value* typed_data() const { return inputs_[0]; }
|
| +
|
| + virtual bool CanDeoptimize() const { return MayThrow(); }
|
| + virtual EffectSet Effects() const { return EffectSet::None(); }
|
| +
|
| + DECLARE_INSTRUCTION(GrowTypedData);
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(GrowTypedDataInstr);
|
| +};
|
| +
|
| +
|
| #undef DECLARE_INSTRUCTION
|
|
|
| class Environment : public ZoneAllocated {
|
|
|