mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-28 01:23:14 +01:00
Fixed inserting an AA entry with 'this' as key.
Fixed debug info for aggregate parameters. Only seems to work on byval arguments.
This commit is contained in:
@@ -22,6 +22,10 @@ static LLValue* to_pkey(Loc& loc, DValue* key)
|
||||
if (key->isIm()) {
|
||||
pkey = key->getRVal();
|
||||
}
|
||||
else if (key->isThis()) {
|
||||
pkey = key->getRVal();
|
||||
needmem = true;
|
||||
}
|
||||
else if (DVarValue* var = key->isVar()) {
|
||||
if (var->lval) {
|
||||
pkey = key->getLVal();
|
||||
|
||||
Reference in New Issue
Block a user