mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Reference in New Issue
Block a user