From: Chris Lattner Date: Mon, 13 Dec 2010 00:20:52 +0000 (+0000) Subject: clean up RecordKeeper::getAllDerivedDefinitions, patch by Garrison Venn! X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9d6250f52ba4ba0a34d44aa2cc9d3fa14c15a006;p=oota-llvm.git clean up RecordKeeper::getAllDerivedDefinitions, patch by Garrison Venn! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121658 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/Record.cpp b/utils/TableGen/Record.cpp index 83db66d14e3..f7a249fd9e3 100644 --- a/utils/TableGen/Record.cpp +++ b/utils/TableGen/Record.cpp @@ -1497,7 +1497,7 @@ raw_ostream &llvm::operator<<(raw_ostream &OS, const RecordKeeper &RK) { /// name does not exist, an error is printed and true is returned. std::vector RecordKeeper::getAllDerivedDefinitions(const std::string &ClassName) const { - Record *Class = Records.getClass(ClassName); + Record *Class = getClass(ClassName); if (!Class) throw "ERROR: Couldn't find the `" + ClassName + "' class!\n";