diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-03 17:40:25 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-03 17:40:25 +0000 |
commit | 1b7868ec544ad55097d68b31f809e948f6b74ac4 (patch) | |
tree | fbee47681adc7d90dc108f0f8a7a3baa5ac1dc8b /llvm/lib/Target/MSIL/MSILWriter.cpp | |
parent | 9503900c606d3af65dda6cad7c53760e1cc79298 (diff) | |
download | bcm5719-llvm-1b7868ec544ad55097d68b31f809e948f6b74ac4.tar.gz bcm5719-llvm-1b7868ec544ad55097d68b31f809e948f6b74ac4.zip |
Change C, CBE, MSIL to not provide target data via getTargetData().
- The theory is these should never actually be called, since these boil down to
passes which can access the target data via the standard mechanism.
llvm-svn: 77975
Diffstat (limited to 'llvm/lib/Target/MSIL/MSILWriter.cpp')
-rw-r--r-- | llvm/lib/Target/MSIL/MSILWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/MSIL/MSILWriter.cpp b/llvm/lib/Target/MSIL/MSILWriter.cpp index fa47a8f1135..873f9b7125b 100644 --- a/llvm/lib/Target/MSIL/MSILWriter.cpp +++ b/llvm/lib/Target/MSIL/MSILWriter.cpp @@ -42,7 +42,7 @@ namespace llvm { CodeGenFileType FileType, CodeGenOpt::Level OptLevel); - virtual const TargetData *getTargetData() const { return &DataLayout; } + virtual const TargetData *getTargetData() const { return 0; } }; } |