diff options
| author | Stuart Hastings <stuart@apple.com> | 2009-07-15 17:27:11 +0000 |
|---|---|---|
| committer | Stuart Hastings <stuart@apple.com> | 2009-07-15 17:27:11 +0000 |
| commit | 338191cd67a0a3e324c8b1475c975fed5ffa9e94 (patch) | |
| tree | eef241f50ca61beb5959953f38fdd29594a20597 /llvm/lib/Target/MSIL | |
| parent | c5928d2fad2313bf8e582fec74b2b9a385f350e7 (diff) | |
| download | bcm5719-llvm-338191cd67a0a3e324c8b1475c975fed5ffa9e94.tar.gz bcm5719-llvm-338191cd67a0a3e324c8b1475c975fed5ffa9e94.zip | |
Revert 75762, 75763, 75766..75769, 75772..75775, 75778, 75780, 75782 to repair broken LLVM-GCC build.
Will revert 75770 in the llvm-gcc trunk.
llvm-svn: 75799
Diffstat (limited to 'llvm/lib/Target/MSIL')
| -rw-r--r-- | llvm/lib/Target/MSIL/MSILWriter.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Target/MSIL/MSILWriter.cpp b/llvm/lib/Target/MSIL/MSILWriter.cpp index bedf40385d5..2ae1d4fba28 100644 --- a/llvm/lib/Target/MSIL/MSILWriter.cpp +++ b/llvm/lib/Target/MSIL/MSILWriter.cpp @@ -31,8 +31,8 @@ namespace { struct VISIBILITY_HIDDEN MSILTarget : public TargetMachine { const TargetData DataLayout; // Calculates type size & alignment - MSILTarget(const Target &T, const Module &M, const std::string &FS) - : TargetMachine(T), DataLayout(&M) {} + MSILTarget(const Module &M, const std::string &FS) + : DataLayout(&M) {} virtual bool WantsWholeFile() const { return true; } virtual bool addPassesToEmitWholeFile(PassManager &PM, @@ -55,8 +55,7 @@ namespace { extern "C" int MSILTargetMachineModule; int MSILTargetMachineModule = 0; -extern Target TheMSILTarget; -static RegisterTarget<MSILTarget> X(TheMSILTarget, "msil", "MSIL backend"); +static RegisterTarget<MSILTarget> X("msil", "MSIL backend"); // Force static initialization. extern "C" void LLVMInitializeMSILTarget() { } |

