summaryrefslogtreecommitdiffstats
path: root/llvm/tools/gccas/gccas.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-16 18:23:49 +0000
committerChris Lattner <sabre@nondot.org>2006-06-16 18:23:49 +0000
commit16cf81306ec37bf8a8a2038394ddb003c7b3c1c6 (patch)
treeaaa5eebb12bbd51523ff44fbfd29032023746652 /llvm/tools/gccas/gccas.cpp
parentf3b5b92e5865913119da457fd0d11db1cfd87532 (diff)
downloadbcm5719-llvm-16cf81306ec37bf8a8a2038394ddb003c7b3c1c6.tar.gz
bcm5719-llvm-16cf81306ec37bf8a8a2038394ddb003c7b3c1c6.zip
Don't pass target name into TargetData anymore, it is never used or needed.
llvm-svn: 28831
Diffstat (limited to 'llvm/tools/gccas/gccas.cpp')
-rw-r--r--llvm/tools/gccas/gccas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/gccas/gccas.cpp b/llvm/tools/gccas/gccas.cpp
index 2a45779a4f6..0b7d05a8d15 100644
--- a/llvm/tools/gccas/gccas.cpp
+++ b/llvm/tools/gccas/gccas.cpp
@@ -192,7 +192,7 @@ int main(int argc, char **argv) {
PassManager Passes;
// Add an appropriate TargetData instance for this module...
- Passes.add(new TargetData("gccas", M.get()));
+ Passes.add(new TargetData(M.get()));
// Add all of the transformation passes to the pass manager to do the cleanup
// and optimization of the GCC output.
OpenPOWER on IntegriCloud