mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
Bugfix: this allows multiclasses to have default arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30798 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -90,7 +90,8 @@ static void setValue(const std::string &ValName,
|
|||||||
std::vector<unsigned> *BitList, Init *V) {
|
std::vector<unsigned> *BitList, Init *V) {
|
||||||
if (!V) return;
|
if (!V) return;
|
||||||
|
|
||||||
RecordVal *RV = CurRec->getValue(ValName);
|
Record *TheRec = getActiveRec();
|
||||||
|
RecordVal *RV = TheRec->getValue(ValName);
|
||||||
if (RV == 0) {
|
if (RV == 0) {
|
||||||
err() << "Value '" << ValName << "' unknown!\n";
|
err() << "Value '" << ValName << "' unknown!\n";
|
||||||
exit(1);
|
exit(1);
|
||||||
|
Reference in New Issue
Block a user