Index: runtime/vm/flow_graph.h |
=================================================================== |
--- runtime/vm/flow_graph.h (revision 17245) |
+++ runtime/vm/flow_graph.h (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
@@ -24,6 +24,11 @@ |
explicit BlockIterator(const GrowableArray<BlockEntryInstr*>& block_order) |
: block_order_(block_order), current_(0) { } |
+ BlockIterator(const BlockIterator& other) |
+ : ValueObject(), |
+ block_order_(other.block_order_), |
+ current_(other.current_) { } |
+ |
void Advance() { |
ASSERT(!Done()); |
current_++; |