1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Bugfix: this allows multiclasses to have default arguments.

llvm-svn: 30798
This commit is contained in:
Chris Lattner 2006-10-07 07:14:48 +00:00
parent 2177d324c5
commit b5b2e0340e

View File

@ -90,7 +90,8 @@ static void setValue(const std::string &ValName,
std::vector<unsigned> *BitList, Init *V) {
if (!V) return;
RecordVal *RV = CurRec->getValue(ValName);
Record *TheRec = getActiveRec();
RecordVal *RV = TheRec->getValue(ValName);
if (RV == 0) {
err() << "Value '" << ValName << "' unknown!\n";
exit(1);