Index: src/types.h |
diff --git a/src/types.h b/src/types.h |
index 67a8550d9146d2e0d880b76976d41ab2252567f2..f4cc1f992bd5da4d0eeef0a963cf36ebba8d2b86 100644 |
--- a/src/types.h |
+++ b/src/types.h |
@@ -603,12 +603,12 @@ class TypeImpl : public Config::Base { |
double max; |
Limits(double min, double max) : min(min), max(max) {} |
explicit Limits(RangeType* range) : min(range->Min()), max(range->Max()) {} |
- static Limits Empty(Region* region) { return Limits(1, 0); } |
+ bool IsEmpty(); |
+ static Limits Empty() { return Limits(1, 0); } |
+ static Limits Intersect(Limits lhs, Limits rhs); |
+ static Limits Union(Limits lhs, Limits rhs); |
}; |
- static bool IsEmpty(Limits lim); |
- static Limits Intersect(Limits lhs, Limits rhs); |
- static Limits Union(Limits lhs, Limits rhs); |
static bool Overlap(RangeType* lhs, RangeType* rhs); |
static bool Contains(RangeType* lhs, RangeType* rhs); |
static bool Contains(RangeType* range, ConstantType* constant); |