summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCall.h
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
commitfff09f335dbecde1232e090066b4b7bf9a9a30fe (patch)
tree870dc39fcc3937ec9a72623a6c402909c321eb25 /clang/lib/CodeGen/CGCall.h
parentfc5d067ea092a9e960a091f5f55b93ec41e7ad2a (diff)
downloadbcm5719-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.h')
-rw-r--r--clang/lib/CodeGen/CGCall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGCall.h b/clang/lib/CodeGen/CGCall.h
index 562dfa91132..daf6f000450 100644
--- a/clang/lib/CodeGen/CGCall.h
+++ b/clang/lib/CodeGen/CGCall.h
@@ -84,6 +84,7 @@ namespace CodeGen {
const ABIArgInfo &getReturnInfo() const { return Args[0].info; }
void Profile(llvm::FoldingSetNodeID &ID) {
+ getReturnType().Profile(ID);
for (arg_iterator it = arg_begin(), ie = arg_end(); it != ie; ++it)
it->type.Profile(ID);
}
OpenPOWER on IntegriCloud