Mercurial > projects > ldc
diff gen/llvmhelpers.cpp @ 704:43165a082535
Fixed issue with accessing a WithStatement context from inside a nested function. see mini/with2.d
Renamed some LLVM uses of ::create statics to ::Create , lower case ones will be deprecated soon.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Tue, 14 Oct 2008 13:21:14 +0200 |
parents | b411c41a9716 |
children | b972fb129d37 |
line wrap: on
line diff
--- a/gen/llvmhelpers.cpp Mon Oct 13 23:19:32 2008 +0200 +++ b/gen/llvmhelpers.cpp Tue Oct 14 13:21:14 2008 +0200 @@ -1137,7 +1137,7 @@ Logger::println("has nestedref set"); assert(vd->ir.irLocal); - // alloca as usual is no value already + // alloca as usual if no value already if (!vd->ir.irLocal->value) { vd->ir.irLocal->value = DtoAlloca(DtoType(vd->type), vd->toChars());