summaryrefslogtreecommitdiff
path: root/lib/Target/CppBackend
diff options
context:
space:
mode:
authorDylan Noblesmith <nobled@dreamwidth.org>2011-06-23 12:11:37 +0000
committerDylan Noblesmith <nobled@dreamwidth.org>2011-06-23 12:11:37 +0000
commit4dd26ddf8e8bd1d19c246734ce0df4d63a604d51 (patch)
tree52a55202242ab0622e545f385833417b5e47e927 /lib/Target/CppBackend
parent95c3e48f9557adb6064d580684bb14cacec2f826 (diff)
downloadllvm-4dd26ddf8e8bd1d19c246734ce0df4d63a604d51.tar.gz
llvm-4dd26ddf8e8bd1d19c246734ce0df4d63a604d51.tar.bz2
llvm-4dd26ddf8e8bd1d19c246734ce0df4d63a604d51.tar.xz
CppBackend: fixup for api change
This broke after r133364. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CppBackend')
-rw-r--r--lib/Target/CppBackend/CPPBackend.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp
index 0d15514d8c..ae03725e4c 100644
--- a/lib/Target/CppBackend/CPPBackend.cpp
+++ b/lib/Target/CppBackend/CPPBackend.cpp
@@ -586,7 +586,6 @@ bool CppWriter::printTypeInternal(const Type* Ty) {
nl(Out);
}
Out << "StructType* " << typeName << " = StructType::get("
- << "mod->getContext(), "
<< typeName << "_fields, /*isPacked=*/"
<< (ST->isPacked() ? "true" : "false") << ");";
nl(Out);