From 465ebbf470e878cac6cf7a9629c413add97f9bb9 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 31 Jul 2023 12:59:38 -0700 Subject: PossibleContents: Support more intersection types (#5847) --- src/ir/possible-contents.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ir/possible-contents.h') 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(&value); } bool isLiteral() const { return std::get_if(&value); } -- cgit v1.2.3