1. Remove condition on delete.

2. Protect and outline createTargetAsmInfo.

3. Misc. kruft.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30169 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2006-09-07 23:39:26 +00:00
parent f93f68347f
commit fde1b3bb2f
14 changed files with 61 additions and 41 deletions

View File

@ -96,7 +96,7 @@ namespace {
//
TargetMachine::~TargetMachine() {
if (AsmInfo) delete AsmInfo;
delete AsmInfo;
}
/// getRelocationModel - Returns the code generation relocation model. The