From fb5fdf1f149ecfbc3258ab4af495abbd20e39645 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 4 Feb 2009 21:36:22 +0000 Subject: [PATCH] Temporarily disable caching of ABI results; this is going horribly wrong in some cases. llvm-svn: 63780 --- clang/lib/CodeGen/CGCall.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index f28aa2f6492f..a13b23257175 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -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());