| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index 6312a52376f50713ac584460634dbf4a63161d28..c97765958f2e8b2d726093400884262eaf17ad87 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -1417,6 +1417,11 @@ class HGraphBuilder {
|
| LoopBuilder(HGraphBuilder* builder,
|
| HValue* context,
|
| Direction direction);
|
| + LoopBuilder(HGraphBuilder* builder,
|
| + HValue* context,
|
| + Direction direction,
|
| + HValue* increment_amount);
|
| +
|
| ~LoopBuilder() {
|
| ASSERT(finished_);
|
| }
|
| @@ -1425,6 +1430,9 @@ class HGraphBuilder {
|
| HValue* initial,
|
| HValue* terminating,
|
| Token::Value token);
|
| +
|
| + void Break();
|
| +
|
| void EndBody();
|
|
|
| private:
|
| @@ -1432,11 +1440,13 @@ class HGraphBuilder {
|
|
|
| HGraphBuilder* builder_;
|
| HValue* context_;
|
| + HValue* increment_amount_;
|
| HInstruction* increment_;
|
| HPhi* phi_;
|
| HBasicBlock* header_block_;
|
| HBasicBlock* body_block_;
|
| HBasicBlock* exit_block_;
|
| + HBasicBlock* exit_trampoline_block_;
|
| Direction direction_;
|
| bool finished_;
|
| };
|
|
|