From ac706684c985a6a931945223a4ce195edacd75a2 Mon Sep 17 00:00:00 2001 From: Juneyoung Lee Date: Tue, 12 Nov 2019 11:23:19 +0900 Subject: [PATCH] [IR] Resolve an error at freeze's unit tests --- unittests/IR/VerifierTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/IR/VerifierTest.cpp b/unittests/IR/VerifierTest.cpp index 4747cea037e..46721e4ec8b 100644 --- a/unittests/IR/VerifierTest.cpp +++ b/unittests/IR/VerifierTest.cpp @@ -90,7 +90,7 @@ TEST(VerifierTest, Freeze) { EXPECT_FALSE(verifyFunction(*F)); - FI_ptr->eraseFromParent(); + FI->eraseFromParent(); } TEST(VerifierTest, InvalidRetAttribute) {