diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-04-22 23:00:51 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-04-22 23:00:51 +0000 |
commit | 7d248397a738c31bbe6e22bfe93a17cc560efdf7 (patch) | |
tree | 4c38f9a57c73b52434b780f9f12b63b5f1628b26 /include/llvm/Transforms | |
parent | 79906c9825d4ff18e3f1fff54eef8162257b72a9 (diff) |
Clarify the logic: the flag is renamed to `deleteFn' to signify it will delete
the function instead of isolating it. This also means the condition is reversed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13112 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r-- | include/llvm/Transforms/IPO.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index 7db83025153..2f7ac0cd2c7 100644 --- a/include/llvm/Transforms/IPO.h +++ b/include/llvm/Transforms/IPO.h @@ -66,11 +66,11 @@ Pass *createGlobalDCEPass(); //===----------------------------------------------------------------------===// -/// createFunctionExtractionPass - If isolateFn is true, this pass deletes as -/// much of the module as possible, except for the function specified. -/// Otherwise, it deletes the given function, leaving everything else intact. +/// createFunctionExtractionPass - If deleteFn is true, this pass deletes as +/// the specified function. Otherwise, it deletes as much of the module as +/// possible, except for the function specified. /// -Pass *createFunctionExtractionPass(Function *F, bool isolateFn = true); +Pass *createFunctionExtractionPass(Function *F, bool deleteFn = false); //===----------------------------------------------------------------------===// |