mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
minor code style cleanup.
llvm-svn: 177576
This commit is contained in:
parent
c82c27dd5a
commit
b012286d85
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user