aboutsummaryrefslogtreecommitdiff
path: root/tools/opt/opt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r--tools/opt/opt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 9fddd94438..096506ff39 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -134,7 +134,7 @@ int main(int argc, char **argv) {
PassManager Passes;
// Add an appropriate TargetData instance for this module...
- Passes.add(new TargetData("opt", M.get()));
+ Passes.add(new TargetData(M.get()));
// Create a new optimization pass for each one specified on the command line
for (unsigned i = 0; i < OptimizationList.size(); ++i) {