From: Chris Lattner Date: Thu, 2 Mar 2006 00:21:41 +0000 (+0000) Subject: Fix a compilation error with GCC 4.1. Thanks to Vladimir Merzliakov for X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a1b2a9b7e23609ac415a8b33423b156b8a801ae6;p=oota-llvm.git Fix a compilation error with GCC 4.1. Thanks to Vladimir Merzliakov for pointing this out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26467 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/DwarfWriter.h b/include/llvm/CodeGen/DwarfWriter.h index edfbeea0180..6c4aac758c4 100644 --- a/include/llvm/CodeGen/DwarfWriter.h +++ b/include/llvm/CodeGen/DwarfWriter.h @@ -302,7 +302,7 @@ private: /// NewType - Create a new type DIE. /// - DIE *DwarfWriter::NewType(DIE *Context, TypeDesc *TyDesc); + DIE *NewType(DIE *Context, TypeDesc *TyDesc); /// NewCompileUnit - Create new compile unit and it's die. ///