[llvm-commits] [llvm] r133709 - /llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp

Dylan Noblesmith nobled at dreamwidth.org
Thu Jun 23 05:11:37 PDT 2011


Author: nobled
Date: Thu Jun 23 07:11:37 2011
New Revision: 133709

URL: http://llvm.org/viewvc/llvm-project?rev=133709&view=rev
Log:
CppBackend: fixup for api change

This broke after r133364.


Modified:
    llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp

Modified: llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp?rev=133709&r1=133708&r2=133709&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp (original)
+++ llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp Thu Jun 23 07:11:37 2011
@@ -586,7 +586,6 @@
       nl(Out);
     }
     Out << "StructType* " << typeName << " = StructType::get("
-        << "mod->getContext(), "
         << typeName << "_fields, /*isPacked=*/"
         << (ST->isPacked() ? "true" : "false") << ");";
     nl(Out);





More information about the llvm-commits mailing list