diff options
author | Alon Zakai <azakai@google.com> | 2023-07-31 12:59:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-31 12:59:38 -0700 |
commit | 465ebbf470e878cac6cf7a9629c413add97f9bb9 (patch) | |
tree | d27544a3d9cb8d5e59c469790414c23a57c09a49 /src/ir/possible-contents.h | |
parent | 1ac8770aee26a221c86a7fe92194a06f5c094070 (diff) | |
download | binaryen-465ebbf470e878cac6cf7a9629c413add97f9bb9.tar.gz binaryen-465ebbf470e878cac6cf7a9629c413add97f9bb9.tar.bz2 binaryen-465ebbf470e878cac6cf7a9629c413add97f9bb9.zip |
PossibleContents: Support more intersection types (#5847)
Diffstat (limited to 'src/ir/possible-contents.h')
-rw-r--r-- | src/ir/possible-contents.h | 5 |
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); } |