mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Rename pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16801 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -161,9 +161,8 @@ int llvm::GenerateBytecode(Module *M, bool Strip, bool Internalize,
|
||||
addPass(Passes, createInternalizePass());
|
||||
}
|
||||
|
||||
// Now that we internalized some globals, see if we can mark any globals as
|
||||
// being constant!
|
||||
addPass(Passes, createGlobalConstifierPass());
|
||||
// Now that we internalized some globals, see if we can hack on them!
|
||||
addPass(Passes, createGlobalOptimizerPass());
|
||||
|
||||
// Linking modules together can lead to duplicated global constants, only
|
||||
// keep one copy of each constant...
|
||||
|
Reference in New Issue
Block a user