diff options
| author | Bill Wendling <isanbard@gmail.com> | 2007-02-08 01:30:50 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2007-02-08 01:30:50 +0000 |
| commit | 860ce1b82eb71c84bf91d62b372a18e6a15575f9 (patch) | |
| tree | 8944c4e4fb0a7d4af613a52bfce42e34169f1d8d /llvm | |
| parent | 0690d442ab9ddb78e3d72ba6ec252e48fbd659eb (diff) | |
| download | bcm5719-llvm-860ce1b82eb71c84bf91d62b372a18e6a15575f9.tar.gz bcm5719-llvm-860ce1b82eb71c84bf91d62b372a18e6a15575f9.zip | |
Moved from include/llvm/CodeGen to lib/CodeGen.
llvm-svn: 34027
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/CodeGen/ELFWriter.h (renamed from llvm/include/llvm/CodeGen/ELFWriter.h) | 7 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/MachOWriter.h (renamed from llvm/include/llvm/CodeGen/MachOWriter.h) | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/llvm/include/llvm/CodeGen/ELFWriter.h b/llvm/lib/CodeGen/ELFWriter.h index 7eb5ca3fea8..e64a9c946b6 100644 --- a/llvm/include/llvm/CodeGen/ELFWriter.h +++ b/llvm/lib/CodeGen/ELFWriter.h @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_CODEGEN_ELFWRITER_H -#define LLVM_CODEGEN_ELFWRITER_H +#ifndef ELFWRITER_H +#define ELFWRITER_H #include "llvm/CodeGen/MachineFunctionPass.h" #include <list> @@ -34,13 +34,12 @@ namespace llvm { return *(MachineCodeEmitter*)MCE; } + ELFWriter(std::ostream &O, TargetMachine &TM); ~ELFWriter(); typedef std::vector<unsigned char> DataBuffer; protected: - ELFWriter(std::ostream &O, TargetMachine &TM); - /// Output stream to send the resultant object file to. /// std::ostream &O; diff --git a/llvm/include/llvm/CodeGen/MachOWriter.h b/llvm/lib/CodeGen/MachOWriter.h index bff94b4b2f4..a26945874af 100644 --- a/llvm/include/llvm/CodeGen/MachOWriter.h +++ b/llvm/lib/CodeGen/MachOWriter.h @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_CODEGEN_MACHOWRITER_H -#define LLVM_CODEGEN_MACHOWRITER_H +#ifndef MACHOWRITER_H +#define MACHOWRITER_H #include "llvm/Constants.h" #include "llvm/DerivedTypes.h" @@ -87,6 +87,8 @@ namespace llvm { MachineCodeEmitter &getMachineCodeEmitter() const { return *(MachineCodeEmitter*)MCE; } + + MachOWriter(std::ostream &O, TargetMachine &TM); virtual ~MachOWriter(); virtual const char *getPassName() const { @@ -95,8 +97,6 @@ namespace llvm { typedef std::vector<unsigned char> DataBuffer; protected: - MachOWriter(std::ostream &O, TargetMachine &TM); - /// Output stream to send the resultant object file to. /// std::ostream &O; |

