[FIX] Fix warning in LazyCallGraphTest caused by D70927

This commit is contained in:
Johannes Doerfert 2020-02-08 18:58:16 -06:00
parent e8a436c5ea
commit c057d1d3af
1 changed files with 4 additions and 4 deletions

View File

@ -484,10 +484,10 @@ TEST(LazyCallGraphTest, BasicGraphMutationOutlining) {
CallInst::Create(NewFn, "", &*IP);
CG.addNewFunctionIntoSCC(*NewFn, *CG.lookupSCC(B));
EXPECT_EQ(CG.lookupSCC(A)->size(), 1U);
EXPECT_EQ(CG.lookupSCC(B)->size(), 2U);
EXPECT_EQ(CG.lookupSCC(C)->size(), 1U);
EXPECT_EQ(CG.lookupSCC(*CG.lookup(*NewFn))->size(), 2U);
EXPECT_EQ(CG.lookupSCC(A)->size(), 1);
EXPECT_EQ(CG.lookupSCC(B)->size(), 2);
EXPECT_EQ(CG.lookupSCC(C)->size(), 1);
EXPECT_EQ(CG.lookupSCC(*CG.lookup(*NewFn))->size(), 2);
EXPECT_EQ(CG.lookupSCC(*CG.lookup(*NewFn))->size(), CG.lookupSCC(B)->size());
}