aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGCall.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-05 00:00:23 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-05 00:00:23 +0000
commit35e67d4387bbe3e7e17ee6b17eaa42eebb0eb9f1 (patch)
treefec9a698e2f79d78dc0ba88e40dd10fee55c6287 /lib/CodeGen/CGCall.cpp
parentcf118d41f7930a18dce97416ef7834a62642f587 (diff)
Unbreak CGFunctionInfo::Profile method and reenable caching of ABI
information. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63799 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCall.cpp')
-rw-r--r--lib/CodeGen/CGCall.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp
index a3dd877ce5..61c6653236 100644
--- a/lib/CodeGen/CGCall.cpp
+++ b/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());