mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
[FIX] Fix warning in LazyCallGraphTest caused by D70927
This commit is contained in:
parent
1e5209e528
commit
9686ad56e1
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user