From fff09f335dbecde1232e090066b4b7bf9a9a30fe Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 5 Feb 2009 00:00:23 +0000 Subject: Unbreak CGFunctionInfo::Profile method and reenable caching of ABI information. llvm-svn: 63799 --- clang/lib/CodeGen/CGCall.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'clang/lib/CodeGen/CGCall.cpp') diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index a3dd877ce58..61c6653236d 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -101,9 +101,7 @@ const CGFunctionInfo &CodeGenTypes::getFunctionInfo(QualType ResTy, // Construct the function info. FI = new CGFunctionInfo(ResTy, ArgTys); - - // FIXME: This is leaking like a sieve; please fix me. - // FunctionInfos.InsertNode(FI, InsertPos); + FunctionInfos.InsertNode(FI, InsertPos); // Compute ABI information. getABIInfo().computeInfo(*FI, getContext()); -- cgit v1.2.3