Removed the workaround code

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2224 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jwang36 2007-01-12 02:02:11 +00:00
parent d7f709c16a
commit affa5a128c
1 changed files with 2 additions and 6 deletions

View File

@ -226,15 +226,11 @@ public class AutogenLibOrder {
if (libInstanceConsumedBy.get(libInstanceList[i]).size() > 0 && libInstanceList[i].hasConstructor()) {
EdkLog.log(EdkLog.EDK_ERROR, libInstanceList[i].getName()
+ " with constructor has a circular dependency!");
// throw new AutoGenException("Circular dependency in library instances is found!");
throw new AutoGenException("Circular dependency in library instances is found!");
}
if (!orderList.contains(libInstanceList[i])) {
if (libInstanceList[i].getName().equals("UefiBootServicesTableLib")) {
orderList.addFirst(libInstanceList[i]);
} else {
orderList.add(libInstanceList[i]);
}
orderList.add(libInstanceList[i]);
}
}
return orderList;