| Index: src/compiler/graph-builder.h
|
| diff --git a/src/compiler/graph-builder.h b/src/compiler/graph-builder.h
|
| index a8ef5020b3c5c85905d7faa94acada9dcf686729..d6010510b9ef39f7234bda22fea7af8ecbccdd0c 100644
|
| --- a/src/compiler/graph-builder.h
|
| +++ b/src/compiler/graph-builder.h
|
| @@ -14,6 +14,9 @@
|
|
|
| namespace v8 {
|
| namespace internal {
|
| +
|
| +class BitVector;
|
| +
|
| namespace compiler {
|
|
|
| class Node;
|
| @@ -203,8 +206,8 @@ class StructuredGraphBuilder::Environment : public ZoneObject {
|
| }
|
|
|
| // Copies this environment at a loop header control-flow point.
|
| - Environment* CopyForLoop() {
|
| - PrepareForLoop();
|
| + Environment* CopyForLoop(BitVector* assigned) {
|
| + PrepareForLoop(assigned);
|
| return builder()->CopyEnvironment(this);
|
| }
|
|
|
| @@ -218,7 +221,7 @@ class StructuredGraphBuilder::Environment : public ZoneObject {
|
| NodeVector* values() { return &values_; }
|
|
|
| // Prepare environment to be used as loop header.
|
| - void PrepareForLoop();
|
| + void PrepareForLoop(BitVector* assigned);
|
|
|
| private:
|
| StructuredGraphBuilder* builder_;
|
|
|