mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +00:00
Add argument to DAE to allow operation on non-internal functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6895 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -70,9 +70,12 @@ Pass *createInternalizePass();
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// createDeadArgEliminationPass - This pass removes arguments from functions
|
||||
// which are not used by the body of the function.
|
||||
// which are not used by the body of the function. If
|
||||
// DeleteFromExternalFunctions is true, the pass will modify functions that have
|
||||
// external linkage, which is not usually safe (this is used by bugpoint to
|
||||
// reduce testcases).
|
||||
//
|
||||
Pass *createDeadArgEliminationPass();
|
||||
Pass *createDeadArgEliminationPass(bool DeleteFromExternalFunctions=false);
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Reference in New Issue
Block a user