mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Put all LLVM code into the llvm namespace, as per bug 109.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
#include "Support/Statistic.h"
|
||||
#include <set>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
namespace {
|
||||
Statistic<> DIEEliminated("die", "Number of insts removed");
|
||||
Statistic<> DCEEliminated("dce", "Number of insts removed");
|
||||
@@ -57,7 +59,6 @@ Pass *createDeadInstEliminationPass() {
|
||||
}
|
||||
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// DeadCodeElimination pass implementation
|
||||
//
|
||||
@@ -124,3 +125,5 @@ bool DCE::runOnFunction(Function &F) {
|
||||
Pass *createDeadCodeEliminationPass() {
|
||||
return new DCE();
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
Reference in New Issue
Block a user