diff dmd/TypeClass.d @ 176:fa9a71a9f5a8

Moved all the mutable globals to Global
author korDen
date Sun, 10 Oct 2010 05:22:45 +0400
parents d8565fbd755c
children e3afd1303184
line wrap: on
line diff
--- a/dmd/TypeClass.d	Sun Oct 10 03:48:06 2010 +0400
+++ b/dmd/TypeClass.d	Sun Oct 10 05:22:45 2010 +0400
@@ -243,7 +243,7 @@
 				/* The pointer to the vtbl[]
 				 * *cast(invariant(void*)**)e
 				 */
-				e = e.castTo(sc, tvoidptr.invariantOf().pointerTo().pointerTo());
+				e = e.castTo(sc, global.tvoidptr.invariantOf().pointerTo().pointerTo());
 				e = new PtrExp(e.loc, e);
 				e = e.semantic(sc);
 				return e;
@@ -253,7 +253,7 @@
 			{   /* The handle to the monitor (call it a void*)
 				 * *(cast(void**)e + 1)
 				 */
-				e = e.castTo(sc, tvoidptr.pointerTo());
+				e = e.castTo(sc, global.tvoidptr.pointerTo());
 				e = new AddExp(e.loc, e, new IntegerExp(1));
 				e = new PtrExp(e.loc, e);
 				e = e.semantic(sc);