Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: src/compiler/preprocess-live-ranges.h

Issue 1256313003: [turbofan] Preprocessing live ranges before register allocation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/compiler/preprocess-live-ranges.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/preprocess-live-ranges.h
diff --git a/src/compiler/preprocess-live-ranges.h b/src/compiler/preprocess-live-ranges.h
new file mode 100644
index 0000000000000000000000000000000000000000..aa852fc7ca40606959596efd900ab67fbad234c0
--- /dev/null
+++ b/src/compiler/preprocess-live-ranges.h
@@ -0,0 +1,35 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef V8_PREPROCESS_LIVE_RANGES_H_
+#define V8_PREPROCESS_LIVE_RANGES_H_
+
+#include "src/compiler/register-allocator.h"
+
+namespace v8 {
+namespace internal {
+namespace compiler {
+
+
+class PreprocessLiveRanges final {
+ public:
+ PreprocessLiveRanges(RegisterAllocationData* data, Zone* zone)
+ : data_(data), zone_(zone) {}
+ void PreprocessRanges();
+
+ private:
+ void SplitRangesAroundDeferredBlocks();
+
+ RegisterAllocationData* data() { return data_; }
+ Zone* zone() { return zone_; }
+
+ RegisterAllocationData* data_;
+ Zone* zone_;
+};
+
+
+} // namespace compiler
+} // namespace internal
+} // namespace v8
+#endif // V8_PREPROCESS_LIVE_RANGES_H_
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/compiler/preprocess-live-ranges.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698