diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-02-05 00:00:23 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-05 00:00:23 +0000 |
commit | fff09f335dbecde1232e090066b4b7bf9a9a30fe (patch) | |
tree | 870dc39fcc3937ec9a72623a6c402909c321eb25 /clang/lib/CodeGen/CGCall.cpp | |
parent | fc5d067ea092a9e960a091f5f55b93ec41e7ad2a (diff) | |
download | bcm5719-llvm-fff09f335dbecde1232e090066b4b7bf9a9a30fe.tar.gz bcm5719-llvm-fff09f335dbecde1232e090066b4b7bf9a9a30fe.zip |
Unbreak CGFunctionInfo::Profile method and reenable caching of ABI
information.
llvm-svn: 63799
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGCall.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index a3dd877ce58..61c6653236d 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/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()); |