Chromium Code Reviews| Index: runtime/vm/intermediate_language.h |
| =================================================================== |
| --- runtime/vm/intermediate_language.h (revision 13969) |
| +++ runtime/vm/intermediate_language.h (working copy) |
| @@ -1484,8 +1484,8 @@ |
| class BranchInstr : public ControlInstruction { |
| public: |
| - explicit BranchInstr(ComparisonInstr* comparison) |
| - : comparison_(comparison) { } |
| + explicit BranchInstr(ComparisonInstr* comparison, bool is_checked = false) |
| + : comparison_(comparison), is_checked_(is_checked) { } |
| DECLARE_INSTRUCTION(Branch) |
| @@ -1500,6 +1500,8 @@ |
| ComparisonInstr* comparison() const { return comparison_; } |
| void set_comparison(ComparisonInstr* value) { comparison_ = value; } |
| + bool is_checked() const { return is_checked_; } |
| + |
| virtual LocationSummary* locs(); |
| virtual intptr_t DeoptimizationTarget() const; |
| virtual Representation RequiredInputRepresentation(intptr_t i) const; |
| @@ -1514,6 +1516,7 @@ |
| private: |
| ComparisonInstr* comparison_; |
| + bool is_checked_; |
|
srdjan
2012/10/23 18:06:06
const
Florian Schneider
2012/10/24 13:02:09
Done.
|
| DISALLOW_COPY_AND_ASSIGN(BranchInstr); |
| }; |