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

Unified Diff: src/hydrogen-range-analysis.h

Issue 1405363003: Move Hydrogen and Lithium to src/crankshaft/ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased Created 5 years, 2 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/hydrogen-osr.cc ('k') | src/hydrogen-range-analysis.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-range-analysis.h
diff --git a/src/hydrogen-range-analysis.h b/src/hydrogen-range-analysis.h
deleted file mode 100644
index f553302d5f3dec6d779d0a0d72c4815afbe3c54f..0000000000000000000000000000000000000000
--- a/src/hydrogen-range-analysis.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2013 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_HYDROGEN_RANGE_ANALYSIS_H_
-#define V8_HYDROGEN_RANGE_ANALYSIS_H_
-
-#include "src/hydrogen.h"
-
-namespace v8 {
-namespace internal {
-
-
-class HRangeAnalysisPhase : public HPhase {
- public:
- explicit HRangeAnalysisPhase(HGraph* graph)
- : HPhase("H_Range analysis", graph), changed_ranges_(16, zone()),
- in_worklist_(graph->GetMaximumValueID(), zone()),
- worklist_(32, zone()) {}
-
- void Run();
-
- private:
- void TraceRange(const char* msg, ...);
- void InferControlFlowRange(HCompareNumericAndBranch* test,
- HBasicBlock* dest);
- void UpdateControlFlowRange(Token::Value op, HValue* value, HValue* other);
- void InferRange(HValue* value);
- void RollBackTo(int index);
- void AddRange(HValue* value, Range* range);
- void AddToWorklist(HValue* value) {
- if (in_worklist_.Contains(value->id())) return;
- in_worklist_.Add(value->id());
- worklist_.Add(value, zone());
- }
- void PropagateMinusZeroChecks(HValue* value);
- void PoisonRanges();
-
- ZoneList<HValue*> changed_ranges_;
-
- BitVector in_worklist_;
- ZoneList<HValue*> worklist_;
-
- DISALLOW_COPY_AND_ASSIGN(HRangeAnalysisPhase);
-};
-
-
-} // namespace internal
-} // namespace v8
-
-#endif // V8_HYDROGEN_RANGE_ANALYSIS_H_
« no previous file with comments | « src/hydrogen-osr.cc ('k') | src/hydrogen-range-analysis.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698