diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-13 23:01:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-13 23:01:14 +0000 |
commit | 055b3ff7bd2e1b9cf7dfda3181e67416bfd5c445 (patch) | |
tree | 27d699c39f6502c505e12f9a851964e94b48ea89 /tools/llvm-dis/llvm-dis.cpp | |
parent | 208d638fa4fbf31ba83445861ad13c2e8c72e5f4 (diff) |
Change how we create the cwriter, and add a buttload of libraries that it now
needs. This will be fixed shortly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11407 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-dis/llvm-dis.cpp')
-rw-r--r-- | tools/llvm-dis/llvm-dis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-dis/llvm-dis.cpp b/tools/llvm-dis/llvm-dis.cpp index d035b7f91a..225787baa7 100644 --- a/tools/llvm-dis/llvm-dis.cpp +++ b/tools/llvm-dis/llvm-dis.cpp @@ -122,7 +122,7 @@ int main(int argc, char **argv) { Passes.add(new PrintModulePass(Out)); break; case c: // Convert LLVM to C - Passes.add(createWriteToCPass(*Out)); + AddPassesToWriteC(Passes, *Out); break; } |