Mercurial > projects > ddmd
comparison dmd/backend/iasm.d @ 174:af724d3510d7
lot os toCBuffer methods implemented
moved shared Type.* stuff into Global
author | korDen |
---|---|
date | Sun, 10 Oct 2010 03:47:23 +0400 |
parents | af7e5ebef6ad |
children | 94b6033c07f3 |
comparison
equal
deleted
inserted
replaced
173:d237b38b5858 | 174:af724d3510d7 |
---|---|
104 { | 104 { |
105 void init_optab(); | 105 void init_optab(); |
106 const(char)* asm_opstr(OP* pop); | 106 const(char)* asm_opstr(OP* pop); |
107 } | 107 } |
108 | 108 |
109 static ubyte asm_TKlbra_seen = false; | 109 static __gshared ubyte asm_TKlbra_seen = false; |
110 | 110 |
111 struct REG | 111 struct REG |
112 { | 112 { |
113 string regstr; | 113 string regstr; |
114 ubyte val; | 114 ubyte val; |
1887 | 1887 |
1888 DT dt; | 1888 DT dt; |
1889 | 1889 |
1890 code* c; | 1890 code* c; |
1891 uint op; | 1891 uint op; |
1892 static ubyte[7] opsize = [ 1,2,4,8,4,8,10 ]; | 1892 enum ubyte[7] opsize = [ 1,2,4,8,4,8,10 ]; |
1893 | 1893 |
1894 op = pop.usNumops & IT.ITSIZE; | 1894 op = pop.usNumops & IT.ITSIZE; |
1895 usSize = opsize[op]; | 1895 usSize = opsize[op]; |
1896 | 1896 |
1897 usBytes = 0; | 1897 usBytes = 0; |