[cfe-commits] r108665 - /cfe/trunk/tools/driver/cc1as_main.cpp
Daniel Dunbar
daniel at zuster.org
Sun Jul 18 17:33:53 PDT 2010
Author: ddunbar
Date: Sun Jul 18 19:33:53 2010
New Revision: 108665
URL: http://llvm.org/viewvc/llvm-project?rev=108665&view=rev
Log:
Update for LLVM API change.
Modified:
cfe/trunk/tools/driver/cc1as_main.cpp
Modified: cfe/trunk/tools/driver/cc1as_main.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/cc1as_main.cpp?rev=108665&r1=108664&r2=108665&view=diff
==============================================================================
--- cfe/trunk/tools/driver/cc1as_main.cpp (original)
+++ cfe/trunk/tools/driver/cc1as_main.cpp Sun Jul 18 19:33:53 2010
@@ -278,7 +278,7 @@
OwningPtr<MCAsmParser> Parser(createMCAsmParser(*TheTarget, SrcMgr, Ctx,
*Str.get(), *MAI));
- OwningPtr<TargetAsmParser> TAP(TheTarget->createAsmParser(*Parser));
+ OwningPtr<TargetAsmParser> TAP(TheTarget->createAsmParser(*Parser, *TM));
if (!TAP) {
Diags.Report(diag::err_target_unknown_triple) << Opts.Triple;
return false;
More information about the cfe-commits
mailing list