mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +00:00
Put comma in correct place for call to StructType::get
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59241 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -152,10 +152,12 @@ static void EmitTypeGenerate(std::ostream &OS,
|
|||||||
OS << "StructType::get(";
|
OS << "StructType::get(";
|
||||||
|
|
||||||
for (std::vector<Record*>::const_iterator
|
for (std::vector<Record*>::const_iterator
|
||||||
I = ArgTypes.begin(), E = ArgTypes.end(); I != E; ++I)
|
I = ArgTypes.begin(), E = ArgTypes.end(); I != E; ++I) {
|
||||||
EmitTypeGenerate(OS, *I, ArgNo);
|
EmitTypeGenerate(OS, *I, ArgNo);
|
||||||
|
OS << ", ";
|
||||||
|
}
|
||||||
|
|
||||||
OS << ", NULL)";
|
OS << " NULL)";
|
||||||
}
|
}
|
||||||
|
|
||||||
static void EmitTypeGenerate(std::ostream &OS, const Record *ArgType,
|
static void EmitTypeGenerate(std::ostream &OS, const Record *ArgType,
|
||||||
|
Reference in New Issue
Block a user