| Index: runtime/vm/intermediate_language.h
|
| ===================================================================
|
| --- runtime/vm/intermediate_language.h (revision 41133)
|
| +++ runtime/vm/intermediate_language.h (working copy)
|
| @@ -7936,7 +7936,7 @@
|
| class CheckArrayBoundInstr : public TemplateInstruction<2> {
|
| public:
|
| CheckArrayBoundInstr(Value* length, Value* index, intptr_t deopt_id)
|
| - : generalized_(false) {
|
| + : generalized_(false), licm_hoisted_(false) {
|
| SetInputAt(kLengthPos, length);
|
| SetInputAt(kIndexPos, index);
|
| // Override generated deopt-id.
|
| @@ -7972,6 +7972,8 @@
|
|
|
| virtual bool MayThrow() const { return false; }
|
|
|
| + void set_licm_hoisted(bool value) { licm_hoisted_ = value; }
|
| +
|
| // Give a name to the location/input indices.
|
| enum {
|
| kLengthPos = 0,
|
| @@ -7980,6 +7982,7 @@
|
|
|
| private:
|
| bool generalized_;
|
| + bool licm_hoisted_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(CheckArrayBoundInstr);
|
| };
|
|
|