mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Fix warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9236 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9efd7f4f1b
commit
b91d9712e1
@ -447,6 +447,7 @@ void BytecodeParser::ParseModuleGlobalInfo(const unsigned char *&Buf,
|
||||
LinkageID = (VarType >> 2) & 3;
|
||||
}
|
||||
switch (LinkageID) {
|
||||
default: assert(0 && "Unknown linkage type!");
|
||||
case 0: Linkage = GlobalValue::ExternalLinkage; break;
|
||||
case 1: Linkage = GlobalValue::WeakLinkage; break;
|
||||
case 2: Linkage = GlobalValue::AppendingLinkage; break;
|
||||
|
Loading…
Reference in New Issue
Block a user