From f96d126faa1fcdd99c7f197b7ed9df7126927fc2 Mon Sep 17 00:00:00 2001 From: Chen Li Date: Mon, 11 Jan 2016 19:20:53 +0000 Subject: [PATCH] Code refactoring for commit r257278. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257366 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/SimplifyCFG.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp index 14a76d7802e..3125a2c359b 100644 --- a/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/lib/Transforms/Utils/SimplifyCFG.cpp @@ -3247,8 +3247,8 @@ bool SimplifyCFGOpt::SimplifyResume(ResumeInst *RI, IRBuilder<> &Builder) { RI->getValue() == RI->getParent()->getFirstNonPHI()) // The resume must unwind the exception that caused control to branch here. return SimplifySingleResume(RI); - else - return false; + + return false; } // Simplify resume that is shared by several landing pads (phi of landing pad). -- 2.34.1