mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159890 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -155,18 +155,18 @@ Record *CodeGenTarget::getAsmParser() const {
|
||||
/// this target.
|
||||
///
|
||||
Record *CodeGenTarget::getAsmParserVariant(unsigned i) const {
|
||||
std::vector<Record*> LI =
|
||||
std::vector<Record*> LI =
|
||||
TargetRec->getValueAsListOfDefs("AssemblyParserVariants");
|
||||
if (i >= LI.size())
|
||||
throw "Target does not have an AsmParserVariant #" + utostr(i) + "!";
|
||||
return LI[i];
|
||||
}
|
||||
|
||||
/// getAsmParserVariantCount - Return the AssmblyParserVariant definition
|
||||
/// getAsmParserVariantCount - Return the AssmblyParserVariant definition
|
||||
/// available for this target.
|
||||
///
|
||||
unsigned CodeGenTarget::getAsmParserVariantCount() const {
|
||||
std::vector<Record*> LI =
|
||||
std::vector<Record*> LI =
|
||||
TargetRec->getValueAsListOfDefs("AssemblyParserVariants");
|
||||
return LI.size();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user