summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/IntrinsicEmitter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-06-18 22:48:56 +0000
committerChris Lattner <sabre@nondot.org>2011-06-18 22:48:56 +0000
commitf3f545ea8a6e444b23bbf7d70de0c7f8ef1a1807 (patch)
treedbab6d67b71391e041af6e3aa7df5631a3d370cd /llvm/utils/TableGen/IntrinsicEmitter.cpp
parentb97d926bce0fcdbafccd02abbdfac0f21ef788cf (diff)
downloadbcm5719-llvm-f3f545ea8a6e444b23bbf7d70de0c7f8ef1a1807.tar.gz
bcm5719-llvm-f3f545ea8a6e444b23bbf7d70de0c7f8ef1a1807.zip
fix the varargs version of StructType::get to not require an LLVMContext, making usage
much cleaner. llvm-svn: 133364
Diffstat (limited to 'llvm/utils/TableGen/IntrinsicEmitter.cpp')
-rw-r--r--llvm/utils/TableGen/IntrinsicEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/IntrinsicEmitter.cpp b/llvm/utils/TableGen/IntrinsicEmitter.cpp
index 39eb3bd79b1..7a53138c701 100644
--- a/llvm/utils/TableGen/IntrinsicEmitter.cpp
+++ b/llvm/utils/TableGen/IntrinsicEmitter.cpp
@@ -214,7 +214,7 @@ static void EmitTypeGenerate(raw_ostream &OS,
if (ArgTypes.size() == 1)
return EmitTypeGenerate(OS, ArgTypes.front(), ArgNo);
- OS << "StructType::get(Context, ";
+ OS << "StructType::get(";
for (std::vector<Record*>::const_iterator
I = ArgTypes.begin(), E = ArgTypes.end(); I != E; ++I) {
OpenPOWER on IntegriCloud