Commit a2918ebd authored by Marja Hölttä's avatar Marja Hölttä Committed by Commit Bot

[js weak refs] Fix WeakRef related types in BitSetType::Lub

BUG=v8:8179

Change-Id: Ie39465ee1b356a33c810bc1fc7e35f985347fb5c
Reviewed-on: https://chromium-review.googlesource.com/c/1278389Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
Commit-Queue: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/master@{#56596}
parent f3bc98a6
......@@ -240,6 +240,9 @@ Type::bitset BitsetType::Lub(const MapRefLike& map) {
case JS_MAP_VALUE_ITERATOR_TYPE:
case JS_STRING_ITERATOR_TYPE:
case JS_ASYNC_FROM_SYNC_ITERATOR_TYPE:
case JS_WEAK_CELL_TYPE:
case JS_WEAK_FACTORY_TYPE:
case JS_WEAK_FACTORY_CLEANUP_ITERATOR_TYPE:
case JS_WEAK_MAP_TYPE:
case JS_WEAK_SET_TYPE:
case JS_PROMISE_TYPE:
......@@ -353,9 +356,6 @@ Type::bitset BitsetType::Lub(const MapRefLike& map) {
case PROMISE_FULFILL_REACTION_JOB_TASK_TYPE:
case PROMISE_REJECT_REACTION_JOB_TASK_TYPE:
case PROMISE_RESOLVE_THENABLE_JOB_TASK_TYPE:
case JS_WEAK_CELL_TYPE:
case JS_WEAK_FACTORY_TYPE:
case JS_WEAK_FACTORY_CLEANUP_ITERATOR_TYPE:
UNREACHABLE();
}
UNREACHABLE();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment