Mercurial > projects > ddmd
comparison dmd/AsmStatement.d @ 187:b0d41ff5e0df
Added expandability scheme outlined in http://www.dsource.org/forums/viewtopic.php?t=5659&sid=6f2150ff5b0bffcd47512a6a7608d218
author | Abscissa |
---|---|
date | Tue, 07 Jun 2011 23:37:34 -0400 |
parents | e3afd1303184 |
children |
comparison
equal
deleted
inserted
replaced
186:1a0c1126bc46 | 187:b0d41ff5e0df |
---|---|
36 import core.stdc.string : memset; | 36 import core.stdc.string : memset; |
37 import core.stdc.stdlib : exit, EXIT_FAILURE; | 37 import core.stdc.stdlib : exit, EXIT_FAILURE; |
38 | 38 |
39 import std.stdio; | 39 import std.stdio; |
40 | 40 |
41 import dmd.DDMDExtensions; | |
42 | |
41 class AsmStatement : Statement | 43 class AsmStatement : Statement |
42 { | 44 { |
45 mixin insertMemberExtension!(typeof(this)); | |
46 | |
43 Token* tokens; | 47 Token* tokens; |
44 code* asmcode; | 48 code* asmcode; |
45 uint asmalign; // alignment of this statement | 49 uint asmalign; // alignment of this statement |
46 bool refparam; // true if function parameter is referenced | 50 bool refparam; // true if function parameter is referenced |
47 bool naked; // true if function is to be naked | 51 bool naked; // true if function is to be naked |