diff options
-rw-r--r-- | lib/Analysis/InlineCost.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Analysis/InlineCost.cpp b/lib/Analysis/InlineCost.cpp index 4cbe0b0..3b0d2c9 100644 --- a/lib/Analysis/InlineCost.cpp +++ b/lib/Analysis/InlineCost.cpp @@ -121,10 +121,8 @@ void CodeMetrics::analyzeBasicBlock(const BasicBlock *BB) { // probably won't do this in callers. if (Function *F = CS.getCalledFunction()) if (F->isDeclaration() && - (F->getName() == "setjmp" || F->getName() == "_setjmp")) { + (F->getName() == "setjmp" || F->getName() == "_setjmp")) NeverInline = true; - return; - } // Calls often compile into many machine instructions. Bump up their // cost to reflect this. |