Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index be23fa84c34fcf54dc58a33cb9f9613410232109..9b998c92b9282e6d2a14abcdd30dd5ff771b96c7 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -1781,6 +1781,8 @@ class HOptimizedGraphBuilder V8_FINAL |
HValue* context() { return environment()->context(); } |
+ HOsrBuilder* osr() const { return osr_; } |
+ |
void Bailout(BailoutReason reason); |
HBasicBlock* CreateJoin(HBasicBlock* first, |
@@ -1886,6 +1888,12 @@ class HOptimizedGraphBuilder V8_FINAL |
HBasicBlock* loop_successor, |
HBasicBlock* break_block); |
+ // Build a loop entry |
+ HBasicBlock* BuildLoopEntry(); |
+ |
+ // Builds a loop entry respectful of OSR requirements |
+ HBasicBlock* BuildLoopEntry(IterationStatement* statement); |
+ |
HBasicBlock* JoinContinue(IterationStatement* statement, |
HBasicBlock* exit_block, |
HBasicBlock* continue_block); |