diff options
author | Chris Lattner <sabre@nondot.org> | 2013-03-20 21:04:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2013-03-20 21:04:53 +0000 |
commit | f83a664a4074ef5b15a209d6c9fa17253bff7681 (patch) | |
tree | 34594b2e172f6c9165563f5d5fbe8ef34ba3f7eb /llvm/lib/IR | |
parent | 43e553de45bb37d6a17345609c504fdd86221b51 (diff) | |
download | bcm5719-llvm-f83a664a4074ef5b15a209d6c9fa17253bff7681.tar.gz bcm5719-llvm-f83a664a4074ef5b15a209d6c9fa17253bff7681.zip |
minor code style cleanup.
llvm-svn: 177576
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r-- | llvm/lib/IR/Function.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/Function.cpp b/llvm/lib/IR/Function.cpp index 5559a6c56e6..1e72b90a13c 100644 --- a/llvm/lib/IR/Function.cpp +++ b/llvm/lib/IR/Function.cpp @@ -211,7 +211,7 @@ Function::~Function() { clearGC(); // Remove the intrinsicID from the Cache. - if(getValueName() && isIntrinsic()) + if (getValueName() && isIntrinsic()) getContext().pImpl->IntrinsicIDCache.erase(this); } @@ -352,7 +352,7 @@ unsigned Function::getIntrinsicID() const { LLVMContextImpl::IntrinsicIDCacheTy &IntrinsicIDCache = getContext().pImpl->IntrinsicIDCache; - if(!IntrinsicIDCache.count(this)) { + if (!IntrinsicIDCache.count(this)) { unsigned Id = lookupIntrinsicID(); IntrinsicIDCache[this]=Id; return Id; |