← Back to index
|
Original Bugzilla link
Bug 5740 – Unable to use "this" pointer in inline assembly
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2011-03-15T07:31:00Z
Last change time
2017-07-07T12:54:25Z
Keywords
iasm
Assigned to
nobody
Creator
govellius
Comments
Comment #0
by govellius — 2011-03-15T07:31:49Z
class Test { void test(int n) { asm { mov RAX, this; } } } test.d(4): 2 operands found for mov instead of the expected 1
Comment #1
by bugzilla — 2011-03-29T16:16:57Z
Fix:
https://github.com/Govelius/dmd/commit/cac02ab57252ec2a062aa1a34734f4bdfc3904c3
Comment #2
by bugzilla — 2011-03-29T16:40:59Z
https://github.com/D-Programming-Language/dmd/commit/4beaaf940ba68fa6d4783fdec4d773c2dce5ead4
https://github.com/D-Programming-Language/dmd/commit/a80efa437acdc3abbac580fea667c5ddde262825