HomePhabricator

Fix assert that doesn't check anything.

Authored by rtrieu on Jan 23 2020, 4:03 PM.

Description

Fix assert that doesn't check anything.

Move the assert that checks for the end iterator inside the loop which
actually moves over the elements. This allows it to check that the
iteration stays within the range.

Details

Committed
rtrieuJan 23 2020, 7:02 PM
Parents
rGc467faf23c7a: [WinEH] Ignore lifetime.end PHI nodes in empty cleanuppads
Branches
Unknown
Tags
Unknown