search for: createalphacodeemitterpass

Displaying 4 results from an estimated 4 matches for "createalphacodeemitterpass".

2005 Oct 24
2
[LLVMdev] [patch] Fix problems with build LLVM using gcc 4.1.0 (gcc CVS mainline)
...Alpha/AlphaCodeEmitter.cpp.new Mon Oct 24 07:08:42 2005 @@ -23,7 +23,8 @@ #include "llvm/Function.h" #include "llvm/Support/Debug.h" #include "llvm/ADT/Statistic.h" -using namespace llvm; + +namespace llvm { namespace { Statistic<> @@ -72,7 +73,7 @@ /// createAlphaCodeEmitterPass - Return a pass that emits the collected Alpha code /// to the specified MCE object. -FunctionPass *llvm::createAlphaCodeEmitterPass(MachineCodeEmitter &MCE) { +FunctionPass *createAlphaCodeEmitterPass(MachineCodeEmitter &MCE) { return new AlphaCodeEmitter(MCE); } @@ -234,6 +235,7 @@...
2005 Oct 24
0
[LLVMdev] [patch] Fix problems with build LLVM using gcc 4.1.0 (gcc CVS mainline)
...== RCS file: /home/vadve/shared/PublicCVS/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp,v retrieving revision 1.6 diff -u -r1.6 AlphaCodeEmitter.cpp --- AlphaCodeEmitter.cpp 4 Aug 2005 15:32:36 -0000 1.6 +++ AlphaCodeEmitter.cpp 24 Oct 2005 04:57:10 -0000 @@ -72,9 +72,11 @@ /// createAlphaCodeEmitterPass - Return a pass that emits the collected Alpha code /// to the specified MCE object. -FunctionPass *llvm::createAlphaCodeEmitterPass(MachineCodeEmitter &MCE) { +namespace llvm { +FunctionPass *createAlphaCodeEmitterPass(MachineCodeEmitter &MCE) { return new AlphaCodeEmitter(MCE); }...
2005 Oct 24
2
[LLVMdev] [patch] Fix problems with build LLVM using gcc 4.1.0(gcc CVS mainline)
...unnamed>::PPCCodeEmitter' After adding "namespace llvm {" in AlphaCodeEmitter.cpp gcc 4.1.0 terminate build with error: /home/wanderer/pkg/build/llvm/src/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp:76: error: explicit qualification in declaration of 'llvm::FunctionPass* llvm::createAlphaCodeEmitterPass(llvm::MachineCodeEmitter&)' As result I remove llvm:: from line: FunctionPass *llvm::createAlphaCodeEmitterPass(MachineCodeEmitter &MCE) { Vladimir
2005 Oct 24
0
[LLVMdev] [patch] Fix problems with build LLVM using gcc 4.1.0(gcc CVS mainline)
...39; > > After adding "namespace llvm {" in AlphaCodeEmitter.cpp > gcc 4.1.0 terminate build with error: > /home/wanderer/pkg/build/llvm/src/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp:76: > error: explicit qualification in declaration of 'llvm::FunctionPass* > llvm::createAlphaCodeEmitterPass(llvm::MachineCodeEmitter&)' > > As result I remove llvm:: from line: > FunctionPass *llvm::createAlphaCodeEmitterPass(MachineCodeEmitter &MCE) { > > Vladimir > > -Chris -- http://nondot.org/sabre/ http://llvm.org/