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:
parent
2177d324c5
commit
b5b2e0340e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user