]> granicus.if.org Git - clang/commitdiff
Temporarily disable caching of ABI results; this is going horribly
authorDaniel Dunbar <daniel@zuster.org>
Wed, 4 Feb 2009 21:36:22 +0000 (21:36 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 4 Feb 2009 21:36:22 +0000 (21:36 +0000)
wrong in some cases.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63780 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGCall.cpp

index f28aa2f6492f8167621718bad04cc1e7d8c6d83a..a13b232571751d7af1fe813bd65f904618417e9e 100644 (file)
@@ -100,7 +100,9 @@ const CGFunctionInfo &CodeGenTypes::getFunctionInfo(QualType ResTy,
 
   // Construct the function info.
   FI = new CGFunctionInfo(ResTy, ArgTys);
-  FunctionInfos.InsertNode(FI, InsertPos);
+
+  // FIXME: This is leaking like a sieve; please fix me.
+  //  FunctionInfos.InsertNode(FI, InsertPos);
 
   // Compute ABI information.
   getABIInfo().computeInfo(*FI, getContext());