summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGCall.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp
index f28aa2f6492..a13b2325717 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());
OpenPOWER on IntegriCloud