5740 – Unable to use "this" pointer in inline assembly

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 5740 - Unable to use "this" pointer in inline assembly
Summary: Unable to use "this" pointer in inline assembly
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Linux
: P2 normal
Assignee: No Owner
URL:
Keywords: iasm
Depends on:
Blocks:
Reported: 2011年03月15日 07:31 UTC by Shahid
Modified: 2017年07月07日 12:54 UTC (History)
1 user (show)

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Shahid 2011年03月15日 07:31:49 UTC
class Test
{	void test(int n)
	{ asm {
		mov RAX, this;
		}
	}
}
test.d(4): 2 operands found for mov instead of the expected 1


AltStyle によって変換されたページ (->オリジナル) /