| Index: runtime/vm/intermediate_language.h
|
| diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h
|
| index 952913f2c10acd7bcfdca59b0e7efb961276e8cb..b4194727bafd71d9a96a8e7a7cf63fcf2f931646 100644
|
| --- a/runtime/vm/intermediate_language.h
|
| +++ b/runtime/vm/intermediate_language.h
|
| @@ -3947,8 +3947,12 @@ class InstanceOfInstr : public TemplateDefinition<2, Throws> {
|
| Value* value,
|
| Value* instantiator_type_arguments,
|
| const AbstractType& type,
|
| + bool negate_result,
|
| intptr_t deopt_id)
|
| - : TemplateDefinition(deopt_id), token_pos_(token_pos), type_(type) {
|
| + : TemplateDefinition(deopt_id),
|
| + token_pos_(token_pos),
|
| + type_(type),
|
| + negate_result_(negate_result) {
|
| ASSERT(!type.IsNull());
|
| SetInputAt(0, value);
|
| SetInputAt(1, instantiator_type_arguments);
|
| @@ -3960,6 +3964,7 @@ class InstanceOfInstr : public TemplateDefinition<2, Throws> {
|
| Value* value() const { return inputs_[0]; }
|
| Value* instantiator_type_arguments() const { return inputs_[1]; }
|
|
|
| + bool negate_result() const { return negate_result_; }
|
| const AbstractType& type() const { return type_; }
|
| virtual TokenPosition token_pos() const { return token_pos_; }
|
|
|
| @@ -3974,6 +3979,7 @@ class InstanceOfInstr : public TemplateDefinition<2, Throws> {
|
| Value* value_;
|
| Value* type_arguments_;
|
| const AbstractType& type_;
|
| + const bool negate_result_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(InstanceOfInstr);
|
| };
|
|
|