mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-14 03:43:13 +01:00
Handle explicit AddrExp for naked asm memory references.
This commit is contained in:
@@ -1827,6 +1827,12 @@ namespace AsmParserx8664
|
||||
break;
|
||||
|
||||
case Arg_Memory:
|
||||
// Peel off one layer of explicitly taking the address, if present.
|
||||
if ( e->op == TOKaddress )
|
||||
{
|
||||
e = static_cast<AddrExp*>(e)->e1;
|
||||
}
|
||||
|
||||
if ( e->op == TOKvar )
|
||||
{
|
||||
VarExp* v = ( VarExp* ) e;
|
||||
|
||||
Reference in New Issue
Block a user