summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-04 21:36:22 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-04 21:36:22 +0000
commitfb5fdf1f149ecfbc3258ab4af495abbd20e39645 (patch)
tree01116116f172aff73e6d693cea02cc6b57eb75f2 /clang/lib/CodeGen
parent18f8ff62a3adb44da0f52133e259439a882d5618 (diff)
downloadbcm5719-llvm-fb5fdf1f149ecfbc3258ab4af495abbd20e39645.tar.gz
bcm5719-llvm-fb5fdf1f149ecfbc3258ab4af495abbd20e39645.zip
Temporarily disable caching of ABI results; this is going horribly
wrong in some cases. llvm-svn: 63780
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