diff 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
line wrap: on
line diff
--- a/dmd/backend/iasm.d	Sun Oct 10 01:55:35 2010 +0400
+++ b/dmd/backend/iasm.d	Sun Oct 10 03:47:23 2010 +0400
@@ -106,7 +106,7 @@
 	const(char)* asm_opstr(OP* pop);
 }
 
-static ubyte asm_TKlbra_seen = false;
+static __gshared ubyte asm_TKlbra_seen = false;
 
 struct REG
 {
@@ -1889,7 +1889,7 @@
 
     code* c;
     uint op;
-    static ubyte[7] opsize = [ 1,2,4,8,4,8,10 ];
+    enum ubyte[7] opsize = [ 1,2,4,8,4,8,10 ];
 
     op = pop.usNumops & IT.ITSIZE;
     usSize = opsize[op];