mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
Fix a big bad bug I checked in yesterday :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5807 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
17d145d26f
commit
869de25380
@ -306,7 +306,7 @@ bool BytecodeParser::ParseFunction(const uchar *&Buf, const uchar *EndBuf) {
|
|||||||
if (!hasInternalMarkerOnly) {
|
if (!hasInternalMarkerOnly) {
|
||||||
unsigned LinkageType;
|
unsigned LinkageType;
|
||||||
if (read_vbr(Buf, EndBuf, LinkageType)) return true;
|
if (read_vbr(Buf, EndBuf, LinkageType)) return true;
|
||||||
if (LinkageType & 0x3) return true;
|
if (LinkageType & ~0x3) return true;
|
||||||
Linkage = (GlobalValue::LinkageTypes)LinkageType;
|
Linkage = (GlobalValue::LinkageTypes)LinkageType;
|
||||||
} else {
|
} else {
|
||||||
// We used to only support two linkage models: internal and external
|
// We used to only support two linkage models: internal and external
|
||||||
|
Loading…
x
Reference in New Issue
Block a user