aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/value-range.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/value-range.h b/gcc/value-range.h
index c875e71..94b48e5 100644
--- a/gcc/value-range.h
+++ b/gcc/value-range.h
@@ -81,6 +81,7 @@ public:
bool operator!= (const irange &r) const { return !(*this == r); }
// Misc methods.
+ bool fits_p (const irange &r) { return m_max_ranges >= r.num_pairs (); }
void dump (FILE * = stderr) const;
// Deprecated legacy public methods.