mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 16:29:20 +00:00
Fix warning reported by MSVC++ builder.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113106 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b0e17779ba
commit
e110abb313
@ -55,7 +55,7 @@ namespace {
|
||||
if (I->hasLocalLinkage())
|
||||
I->setVisibility(GlobalValue::HiddenVisibility);
|
||||
I->setLinkage(GlobalValue::ExternalLinkage);
|
||||
if (deleteStuff == Named.count(I))
|
||||
if (deleteStuff == (bool)Named.count(I))
|
||||
I->setInitializer(0);
|
||||
}
|
||||
|
||||
@ -65,7 +65,7 @@ namespace {
|
||||
if (I->hasLocalLinkage())
|
||||
I->setVisibility(GlobalValue::HiddenVisibility);
|
||||
I->setLinkage(GlobalValue::ExternalLinkage);
|
||||
if (deleteStuff == Named.count(I))
|
||||
if (deleteStuff == (bool)Named.count(I))
|
||||
I->deleteBody();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user