Removed obsolete nested context styles.

NChybrid was the only one that didn't instantly trigger a "not
implemented" assertion on any code using nested function for a long
time, and removing the cruft greatly improves code readability
(maintainability is a moot point anyway given its current state).
This commit is contained in:
David Nadlinger
2012-09-04 01:58:19 +02:00
parent ee4285f934
commit d4eafe53e0
4 changed files with 272 additions and 455 deletions

View File

@@ -13,9 +13,6 @@
/// Creates the context value for a nested function.
void DtoCreateNestedContext(FuncDeclaration* fd);
/// Allocate space for variable accessed from nested function.
void DtoNestedInit(VarDeclaration* vd);
/// Resolves the nested context for classes and structs with arbitrary nesting.
#if DMDV2
void DtoResolveNestedContext(Loc loc, AggregateDeclaration *decl, LLValue *value);