[Issue 5302] Inline assembler: Indexing struct fields not possible inside member function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 20 08:48:46 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=5302
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> ---
The attachment:
module iasm_test;
struct S
{
uint i;
}
class A
{
uint func(S* s)
{
asm
{
mov EDX, s;
mov EAX, S.i[EDX];
}
}
}
--
More information about the Digitalmars-d-bugs
mailing list