OLD | NEW |
| (Empty) |
1 // Copyright 2015 the V8 project authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef V8_PREPROCESS_LIVE_RANGES_H_ | |
6 #define V8_PREPROCESS_LIVE_RANGES_H_ | |
7 | |
8 #include "src/compiler/register-allocator.h" | |
9 | |
10 namespace v8 { | |
11 namespace internal { | |
12 namespace compiler { | |
13 | |
14 | |
15 class PreprocessLiveRanges final { | |
16 public: | |
17 PreprocessLiveRanges(RegisterAllocationData* data, Zone* zone) | |
18 : data_(data), zone_(zone) {} | |
19 void PreprocessRanges(); | |
20 | |
21 private: | |
22 void SplitRangesAroundDeferredBlocks(); | |
23 | |
24 RegisterAllocationData* data() { return data_; } | |
25 Zone* zone() { return zone_; } | |
26 | |
27 RegisterAllocationData* data_; | |
28 Zone* zone_; | |
29 }; | |
30 | |
31 | |
32 } // namespace compiler | |
33 } // namespace internal | |
34 } // namespace v8 | |
35 #endif // V8_PREPROCESS_LIVE_RANGES_H_ | |
OLD | NEW |