mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 04:33:40 +00:00
minor code style cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177576 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7b1bea3ccb
commit
1ac186e009
@ -211,7 +211,7 @@ Function::~Function() {
|
|||||||
clearGC();
|
clearGC();
|
||||||
|
|
||||||
// Remove the intrinsicID from the Cache.
|
// Remove the intrinsicID from the Cache.
|
||||||
if(getValueName() && isIntrinsic())
|
if (getValueName() && isIntrinsic())
|
||||||
getContext().pImpl->IntrinsicIDCache.erase(this);
|
getContext().pImpl->IntrinsicIDCache.erase(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -352,7 +352,7 @@ unsigned Function::getIntrinsicID() const {
|
|||||||
|
|
||||||
LLVMContextImpl::IntrinsicIDCacheTy &IntrinsicIDCache =
|
LLVMContextImpl::IntrinsicIDCacheTy &IntrinsicIDCache =
|
||||||
getContext().pImpl->IntrinsicIDCache;
|
getContext().pImpl->IntrinsicIDCache;
|
||||||
if(!IntrinsicIDCache.count(this)) {
|
if (!IntrinsicIDCache.count(this)) {
|
||||||
unsigned Id = lookupIntrinsicID();
|
unsigned Id = lookupIntrinsicID();
|
||||||
IntrinsicIDCache[this]=Id;
|
IntrinsicIDCache[this]=Id;
|
||||||
return Id;
|
return Id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user