diff options
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.y.cvs')
-rw-r--r-- | lib/AsmParser/llvmAsmParser.y.cvs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/AsmParser/llvmAsmParser.y.cvs b/lib/AsmParser/llvmAsmParser.y.cvs index 8427bcc..8bd2f43 100644 --- a/lib/AsmParser/llvmAsmParser.y.cvs +++ b/lib/AsmParser/llvmAsmParser.y.cvs @@ -1302,7 +1302,6 @@ Types Attrs.push_back($5); for (TypeWithAttrsList::iterator I=$3->begin(), E=$3->end(); I != E; ++I) { const Type *Ty = I->Ty->get(); - delete I->Ty; I->Ty = 0; Params.push_back(Ty); if (Ty != Type::VoidTy) Attrs.push_back(I->Attrs); @@ -1322,7 +1321,6 @@ Types Attrs.push_back($5); for (TypeWithAttrsList::iterator I=$3->begin(), E=$3->end(); I != E; ++I) { const Type* Ty = I->Ty->get(); - delete I->Ty; I->Ty = 0; Params.push_back(Ty); if (Ty != Type::VoidTy) Attrs.push_back(I->Attrs); |