aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/MSIL
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-03 17:40:25 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-03 17:40:25 +0000
commitd1a919e1396ce4bc424f4f24bb69d79a2afd7ea0 (patch)
tree1da92c1fff188dfd8ffb675a7f895a5fbdc8c27f /lib/Target/MSIL
parent2caf1b212e2db36c52f3a7c3e391ea2800802c60 (diff)
downloadexternal_llvm-d1a919e1396ce4bc424f4f24bb69d79a2afd7ea0.zip
external_llvm-d1a919e1396ce4bc424f4f24bb69d79a2afd7ea0.tar.gz
external_llvm-d1a919e1396ce4bc424f4f24bb69d79a2afd7ea0.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77975 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSIL')
-rw-r--r--lib/Target/MSIL/MSILWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/MSIL/MSILWriter.cpp b/lib/Target/MSIL/MSILWriter.cpp
index fa47a8f..873f9b7 100644
--- a/lib/Target/MSIL/MSILWriter.cpp
+++ b/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; }
};
}