mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
Make the pass registration static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38508 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
36c5155d0f
commit
16a72bb47d
@ -680,8 +680,8 @@ namespace {
|
||||
// createGVNPREPass - The public interface to this file...
|
||||
FunctionPass *llvm::createGVNPREPass() { return new GVNPRE(); }
|
||||
|
||||
RegisterPass<GVNPRE> X("gvnpre",
|
||||
"Global Value Numbering/Partial Redundancy Elimination");
|
||||
static RegisterPass<GVNPRE> X("gvnpre",
|
||||
"Global Value Numbering/Partial Redundancy Elimination");
|
||||
|
||||
|
||||
STATISTIC(NumInsertedVals, "Number of values inserted");
|
||||
|
Loading…
x
Reference in New Issue
Block a user