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:
@@ -33,6 +33,8 @@
|
||||
#include <algorithm>
|
||||
#include <set>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
// InstVal class - This class represents the different lattice values that an
|
||||
// instruction may occupy. It is a simple class with value semantics.
|
||||
//
|
||||
@@ -253,7 +255,6 @@ private:
|
||||
|
||||
|
||||
// createSCCPPass - This is the public interface to this file...
|
||||
//
|
||||
Pass *createSCCPPass() {
|
||||
return new SCCP();
|
||||
}
|
||||
@@ -585,3 +586,5 @@ void SCCP::visitGetElementPtrInst(GetElementPtrInst &I) {
|
||||
|
||||
markConstant(&I, ConstantExpr::getGetElementPtr(Ptr, Operands));
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
Reference in New Issue
Block a user