From: Jeff Cohen Date: Sat, 21 Apr 2007 16:29:37 +0000 (+0000) Subject: Make enum-valued bitfield large enough to avoid interpretation as negative values... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=8f192e0ee03f2cf120f6b7301a52017e4ea45d5b;p=oota-llvm.git Make enum-valued bitfield large enough to avoid interpretation as negative values in VC++. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36304 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/MachineRelocation.h b/include/llvm/CodeGen/MachineRelocation.h index 65a1f10fe31..364b8b17e2a 100644 --- a/include/llvm/CodeGen/MachineRelocation.h +++ b/include/llvm/CodeGen/MachineRelocation.h @@ -63,7 +63,7 @@ class MachineRelocation { } Target; unsigned TargetReloType : 6; // The target relocation ID. - AddressType AddrType : 3; // The field of Target to use. + AddressType AddrType : 4; // The field of Target to use. bool DoesntNeedFnStub : 1; // True if we don't need a fn stub. bool GOTRelative : 1; // Should this relocation be relative to the GOT?