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

Unified Diff: runtime/vm/flow_graph_range_analysis.h

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 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 | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/flow_graph_range_analysis.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_range_analysis.h
diff --git a/runtime/vm/flow_graph_range_analysis.h b/runtime/vm/flow_graph_range_analysis.h
index 6690e18268e23830d5a110e8947c9943883d564c..09778a072e9f8150289fe6b4e5f7606d6d11d346 100644
--- a/runtime/vm/flow_graph_range_analysis.h
+++ b/runtime/vm/flow_graph_range_analysis.h
@@ -102,7 +102,6 @@ class RangeBoundary : public ValueObject {
return FromConstant(kMaxInt64);
}
-
// Given two boundaries a and b, select one of them as c so that
//
// inf {[a, ...) ^ [b, ...)} >= inf {c}
@@ -286,7 +285,6 @@ class RangeBoundary : public ValueObject {
int64_t offset_;
};
-
class Range : public ZoneAllocated {
public:
Range() : min_(), max_() {}
@@ -363,7 +361,6 @@ class Range : public ZoneAllocated {
return range->max().UpperBound().Clamp(size);
}
-
// [0, +inf]
bool IsPositive() const;
@@ -458,7 +455,6 @@ class Range : public ZoneAllocated {
RangeBoundary max_;
};
-
class RangeUtils : public AllStatic {
public:
static bool Fits(Range* range, RangeBoundary::RangeSize size) {
@@ -484,7 +480,6 @@ class RangeUtils : public AllStatic {
}
};
-
// Range analysis for integer values.
class RangeAnalysis : public ValueObject {
public:
@@ -548,7 +543,6 @@ class RangeAnalysis : public ValueObject {
Instruction* dom,
Definition* other);
-
// Infer ranges for integer (smi or mint) definitions.
void InferRanges();
@@ -608,7 +602,6 @@ class RangeAnalysis : public ValueObject {
DISALLOW_COPY_AND_ASSIGN(RangeAnalysis);
};
-
// Replaces Mint IL instructions with Uint32 IL instructions
// when possible. Uses output of RangeAnalysis.
class IntegerInstructionSelector : public ValueObject {
@@ -637,7 +630,6 @@ class IntegerInstructionSelector : public ValueObject {
Zone* zone_;
};
-
} // namespace dart
#endif // RUNTIME_VM_FLOW_GRAPH_RANGE_ANALYSIS_H_
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/flow_graph_range_analysis.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698