diff gen/llvmhelpers.h @ 490:f8c979770af3

Fixed a critical bug in the runtime, where _d_allocmemoryT would mark the memory block as having pointers (for scanning) opposite of what it should. So pointers would not be seen and freed. Should fix a bunch of regressions with AAs.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sun, 10 Aug 2008 17:28:01 +0200
parents a34078905d01
children 837af2a63564
line wrap: on
line diff
--- a/gen/llvmhelpers.h	Sun Aug 10 13:42:08 2008 +0200
+++ b/gen/llvmhelpers.h	Sun Aug 10 17:28:01 2008 +0200
@@ -42,15 +42,9 @@
 
 // gets the context value for a call to a nested function or newing a class, with arbitrary nesting
 LLValue* DtoNestedContext(Loc loc, Dsymbol* sym);
-
 // gets the dvalue of a nested variable with arbitrary nesting
 DValue* DtoNestedVariable(Loc loc, Type* astype, VarDeclaration* vd);
 
-// old nested stuff
-// LLValue* DtoNestedContext(Loc loc, FuncDeclaration* func);
-// LLValue* DtoNestedContext(Loc loc, ClassDeclaration* cd);
-// DValue* DtoNestedVariable(Loc loc, Type* astype, VarDeclaration* vd);
-
 // basic operations
 void DtoAssign(Loc& loc, DValue* lhs, DValue* rhs);