summaryrefslogtreecommitdiff
path: root/src/ir/possible-contents.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/possible-contents.h')
-rw-r--r--src/ir/possible-contents.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ir/possible-contents.h b/src/ir/possible-contents.h
index b4326688e..018cf197c 100644
--- a/src/ir/possible-contents.h
+++ b/src/ir/possible-contents.h
@@ -176,9 +176,8 @@ public:
}
// Removes anything not in |other| from this object, so that it ends up with
- // only their intersection. Currently this only handles an intersection with a
- // full cone.
- void intersectWithFullCone(const PossibleContents& other);
+ // only their intersection.
+ void intersect(const PossibleContents& other);
bool isNone() const { return std::get_if<None>(&value); }
bool isLiteral() const { return std::get_if<Literal>(&value); }