diff options
author | Chris Lattner <sabre@nondot.org> | 2010-12-13 00:20:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-12-13 00:20:52 +0000 |
commit | 9704907aacc18d6b2ccee7af2a01bd4f64b1af71 (patch) | |
tree | 38922b7f5b777cfa0e1e094a488ff29872bff715 | |
parent | bd61444cb957893401e1369b58db5f593e015954 (diff) | |
download | bcm5719-llvm-9704907aacc18d6b2ccee7af2a01bd4f64b1af71.tar.gz bcm5719-llvm-9704907aacc18d6b2ccee7af2a01bd4f64b1af71.zip |
clean up RecordKeeper::getAllDerivedDefinitions, patch by Garrison Venn!
llvm-svn: 121658
-rw-r--r-- | llvm/utils/TableGen/Record.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/Record.cpp b/llvm/utils/TableGen/Record.cpp index 83db66d14e3..f7a249fd9e3 100644 --- a/llvm/utils/TableGen/Record.cpp +++ b/llvm/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<Record*> 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"; |