C++: add edge-based predicates to IRGuards

These predicates currently take a pair of `IRBlock`s - as it stands, at
most one edge can exist from one `IRBlock` to a given other `IRBlock`.
We may need to revisit that assumption and create an `IREdge` IPA type
at some future date
This commit is contained in:
Robert Marsh
2019-02-04 15:29:27 -08:00
parent b85b7744ef
commit 3c638b5966
3 changed files with 28 additions and 7 deletions

View File

@@ -151,4 +151,3 @@ void test5(int x) {
void test6(int x, int y) {
return x && y;
}