Chromium Code Reviews| Index: src/hydrogen.h |
| diff --git a/src/hydrogen.h b/src/hydrogen.h |
| index be23fa84c34fcf54dc58a33cb9f9613410232109..56865aeaa1e851bde088ee386764b5b828d9006b 100644 |
| --- a/src/hydrogen.h |
| +++ b/src/hydrogen.h |
| @@ -1781,6 +1781,8 @@ class HOptimizedGraphBuilder V8_FINAL |
| HValue* context() { return environment()->context(); } |
| + HOsrBuilder* osr() { return osr_; } |
|
Michael Starzinger
2013/09/27 13:26:22
nit: Can be made const.
mvstanton
2013/09/27 13:31:43
Done.
|
| + |
| void Bailout(BailoutReason reason); |
| HBasicBlock* CreateJoin(HBasicBlock* first, |
| @@ -1791,6 +1793,12 @@ class HOptimizedGraphBuilder V8_FINAL |
| void VisitDeclarations(ZoneList<Declaration*>* declarations); |
| + // Build a loop entry |
| + HBasicBlock* BuildLoopEntry(); |
|
Michael Starzinger
2013/09/27 13:26:22
nit: Let's move these two declarations near Create
mvstanton
2013/09/27 13:31:43
Done.
|
| + |
| + // Builds a loop entry respectful of OSR requirements |
| + HBasicBlock* BuildLoopEntry(IterationStatement* statement); |
| + |
| void* operator new(size_t size, Zone* zone) { |
| return zone->New(static_cast<int>(size)); |
| } |