Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index 63948c42eb3032f82a0ac86ea67134e14c6943a5..6fa3d1b9ff32cbafe55d839d7c429eeb5380c0db 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -336,6 +336,14 @@ class HGraph: public ZoneObject { |
osr_values_.set(values); |
} |
+ void MarkRecursive() { |
+ is_recursive_ = true; |
+ } |
+ |
+ bool is_recursive() const { |
+ return is_recursive_; |
+ } |
+ |
private: |
void Postorder(HBasicBlock* block, |
BitVector* visited, |
@@ -382,6 +390,8 @@ class HGraph: public ZoneObject { |
Zone* zone_; |
+ bool is_recursive_; |
+ |
DISALLOW_COPY_AND_ASSIGN(HGraph); |
}; |