Index: src/compiler/instruction.h |
diff --git a/src/compiler/instruction.h b/src/compiler/instruction.h |
index 4f6a515f1151fe20f4933b70dd4442c9cd634281..fa19945a78a6b0c13884db4eb0395cac4db0d92e 100644 |
--- a/src/compiler/instruction.h |
+++ b/src/compiler/instruction.h |
@@ -782,6 +782,11 @@ class RpoNumber final { |
return this->index_ == other.index_; |
} |
Benedikt Meurer
2015/08/24 04:33:26
Nit: please add operator!= for consistency.
Mircea Trofin
2015/08/24 20:55:10
Done.
|
+ bool operator>(RpoNumber other) const { return index_ > other.index_; } |
+ bool operator<(RpoNumber other) const { return index_ < other.index_; } |
+ bool operator<=(RpoNumber other) const { return index_ <= other.index_; } |
+ bool operator>=(RpoNumber other) const { return index_ >= other.index_; } |
+ |
private: |
explicit RpoNumber(int32_t index) : index_(index) {} |
int32_t index_; |
@@ -992,6 +997,9 @@ class InstructionBlock final : public ZoneObject { |
bool must_deconstruct_frame() const { return must_deconstruct_frame_; } |
void mark_must_deconstruct_frame() { must_deconstruct_frame_ = true; } |
+ void set_last_deferred(RpoNumber last) { last_deferred_ = last; } |
+ RpoNumber last_deferred() const { return last_deferred_; } |
+ |
private: |
Successors successors_; |
Predecessors predecessors_; |
@@ -1007,6 +1015,7 @@ class InstructionBlock final : public ZoneObject { |
bool needs_frame_; |
bool must_construct_frame_; |
bool must_deconstruct_frame_; |
+ RpoNumber last_deferred_; |
}; |
typedef ZoneDeque<Constant> ConstantDeque; |