OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_DATAFLOW_H_ | 5 #ifndef V8_DATAFLOW_H_ |
6 #define V8_DATAFLOW_H_ | 6 #define V8_DATAFLOW_H_ |
7 | 7 |
8 #include "src/v8.h" | |
9 | |
10 #include "src/allocation.h" | 8 #include "src/allocation.h" |
11 #include "src/ast.h" | 9 #include "src/zone.h" |
12 #include "src/compiler.h" | |
13 | 10 |
14 namespace v8 { | 11 namespace v8 { |
15 namespace internal { | 12 namespace internal { |
16 | 13 |
17 class BitVector : public ZoneObject { | 14 class BitVector : public ZoneObject { |
18 public: | 15 public: |
19 // Iterator for the elements of this BitVector. | 16 // Iterator for the elements of this BitVector. |
20 class Iterator BASE_EMBEDDED { | 17 class Iterator BASE_EMBEDDED { |
21 public: | 18 public: |
22 explicit Iterator(BitVector* target) | 19 explicit Iterator(BitVector* target) |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 bits_ = new_bits; | 242 bits_ = new_bits; |
246 } | 243 } |
247 | 244 |
248 BitVector* bits_; | 245 BitVector* bits_; |
249 }; | 246 }; |
250 | 247 |
251 } // namespace internal | 248 } // namespace internal |
252 } // namespace v8 | 249 } // namespace v8 |
253 | 250 |
254 #endif // V8_DATAFLOW_H_ | 251 #endif // V8_DATAFLOW_H_ |
OLD | NEW |