Mercurial > projects > ldc
comparison runtime/internal/lifetime.d @ 663:6aaa3d3c1183
First part of rename to LDC.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 06 Oct 2008 22:46:55 +0200 |
parents | e6bcc4d9e5ff |
children | 30b42a283c8e |
comparison
equal
deleted
inserted
replaced
662:88e23f8c2354 | 663:6aaa3d3c1183 |
---|---|
125 printf("init[3] = %p\n", (cast(uint**) ci.init.ptr)[3]); | 125 printf("init[3] = %p\n", (cast(uint**) ci.init.ptr)[3]); |
126 printf("init[4] = %p\n", (cast(uint**) ci.init.ptr)[4]); | 126 printf("init[4] = %p\n", (cast(uint**) ci.init.ptr)[4]); |
127 } | 127 } |
128 | 128 |
129 // initialize it | 129 // initialize it |
130 // llvmdc does this inline | 130 // ldc does this inline |
131 //(cast(byte*) p)[0 .. ci.init.length] = ci.init[]; | 131 //(cast(byte*) p)[0 .. ci.init.length] = ci.init[]; |
132 | 132 |
133 debug(PRINTF) printf("initialization done\n"); | 133 debug(PRINTF) printf("initialization done\n"); |
134 return cast(Object) p; | 134 return cast(Object) p; |
135 } | 135 } |