diff options
-rw-r--r-- | tools/llvm-dis/llvm-dis.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/llvm-dis/llvm-dis.cpp b/tools/llvm-dis/llvm-dis.cpp index 8fa16c8f78..0ae95c8bab 100644 --- a/tools/llvm-dis/llvm-dis.cpp +++ b/tools/llvm-dis/llvm-dis.cpp @@ -37,9 +37,6 @@ OutputFilename("o", cl::desc("Override output filename"), static cl::opt<bool> Force("f", cl::desc("Overwrite output files")); -static cl::opt<bool> -CWriteMode("c", cl::desc("Obsolete option, do not use"), cl::ReallyHidden); - int main(int argc, char **argv) { try { cl::ParseCommandLineOptions(argc, argv, " llvm .bc -> .ll disassembler\n"); @@ -48,12 +45,6 @@ int main(int argc, char **argv) { std::ostream *Out = &std::cout; // Default to printing to stdout... std::string ErrorMessage; - if (CWriteMode) { - std::cerr << "ERROR: llvm-dis no longer contains the C backend. " - << "Use 'llc -march=c' instead!\n"; - exit(1); - } - std::auto_ptr<Module> M(ParseBytecodeFile(InputFilename, &ErrorMessage)); if (M.get() == 0) { std::cerr << argv[0] << ": "; |