Fix a big bad bug I checked in yesterday :(

llvm-svn: 5807
This commit is contained in:
Chris Lattner 2003-04-18 04:11:56 +00:00
parent f171f30deb
commit 8453f87c9c

View File

@ -306,7 +306,7 @@ bool BytecodeParser::ParseFunction(const uchar *&Buf, const uchar *EndBuf) {
if (!hasInternalMarkerOnly) {
unsigned LinkageType;
if (read_vbr(Buf, EndBuf, LinkageType)) return true;
if (LinkageType & 0x3) return true;
if (LinkageType & ~0x3) return true;
Linkage = (GlobalValue::LinkageTypes)LinkageType;
} else {
// We used to only support two linkage models: internal and external