diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-02-27 21:44:08 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-02-27 21:44:08 +0000 |
commit | 53c9b3f68c74c6ea4d739bb268e5fc5b495adff3 (patch) | |
tree | 6d62458335e7058f8ce46221d440c00249f6cca0 /utils/TableGen/Record.cpp | |
parent | 5ef9226f30d0615558cdfc6a2b76c7a914a8e32f (diff) | |
download | external_llvm-53c9b3f68c74c6ea4d739bb268e5fc5b495adff3.zip external_llvm-53c9b3f68c74c6ea4d739bb268e5fc5b495adff3.tar.gz external_llvm-53c9b3f68c74c6ea4d739bb268e5fc5b495adff3.tar.bz2 |
Backing out
CodeGenTarget.cpp updated: 1.82 -> 1.83
Record.cpp updated: 1.55 -> 1.56
Record.h updated: 1.59 -> 1.60
TableGen.cpp updated: 1.47 -> 1.48
It's missing CallingConvEmitter.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34693 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/Record.cpp')
-rw-r--r-- | utils/TableGen/Record.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/utils/TableGen/Record.cpp b/utils/TableGen/Record.cpp index bbcdbe7..94e0cb4 100644 --- a/utils/TableGen/Record.cpp +++ b/utils/TableGen/Record.cpp @@ -337,13 +337,6 @@ Init *ListInit::convertInitListSlice(const std::vector<unsigned> &Elements) { return new ListInit(Vals); } -Record *ListInit::getElementAsRecord(unsigned i) const { - assert(i < Values.size() && "List element index out of range!"); - DefInit *DI = dynamic_cast<DefInit*>(Values[i]); - if (DI == 0) throw "Expected record in list!"; - return DI->getDef(); -} - Init *ListInit::resolveReferences(Record &R, const RecordVal *RV) { std::vector<Init*> Resolved; Resolved.reserve(getSize()); |