diff dmd/module.c @ 957:31bbc7f3b817

Backed out changeset [369996c08420]. The argument and order dependent numbering of static ctors/dtors generally doesn't matter because other modules shouldn't reference their symbols. The next changeset will fix a LDC bug that caused such references within ModuleInfo.
author Christian Kamm <kamm incasoftware de>
date Sun, 15 Feb 2009 14:50:33 +0100
parents 369996c08420
children a8cb25d478c4
line wrap: on
line diff
--- a/dmd/module.c	Sun Feb 15 11:46:28 2009 +0100
+++ b/dmd/module.c	Sun Feb 15 14:50:33 2009 +0100
@@ -130,7 +130,6 @@
     llvmForceLogging = false;
     this->doDocComment = doDocComment;
     this->doHdrGen = doHdrGen;
-    uniqueId = 0;
 }
 
 File* Module::buildFilePath(char* forcename, char* path, char* ext)
@@ -1008,8 +1007,3 @@
     }
     return dst;
 }
-
-Identifier* Module::generateId(Identifier* id)
-{
-    return Identifier::generateId(id->string, uniqueId++);
-}