summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenTarget.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-07-07 03:59:51 +0000
committerAndrew Trick <atrick@apple.com>2012-07-07 03:59:51 +0000
commit91118a615520767ad71373e3322e000258dc6a99 (patch)
tree15d6ccb4b69cace1c2e184468a88c95de19a370b /llvm/utils/TableGen/CodeGenTarget.cpp
parent030e2f8f1acfe8a6aff1d4e6d2a34f1ca4593f5e (diff)
downloadbcm5719-llvm-91118a615520767ad71373e3322e000258dc6a99.tar.gz
bcm5719-llvm-91118a615520767ad71373e3322e000258dc6a99.zip
whitespace
llvm-svn: 159890
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.cpp')
-rw-r--r--llvm/utils/TableGen/CodeGenTarget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp
index dfa9526cc91..4bc4c54f8bc 100644
--- a/llvm/utils/TableGen/CodeGenTarget.cpp
+++ b/llvm/utils/TableGen/CodeGenTarget.cpp
@@ -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();
}
OpenPOWER on IntegriCloud