Make enum-valued bitfield large enough to avoid interpretation as negative values...
authorJeff Cohen <jeffc@jolt-lang.org>
Sat, 21 Apr 2007 16:29:37 +0000 (16:29 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Sat, 21 Apr 2007 16:29:37 +0000 (16:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36304 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineRelocation.h

index 65a1f10fe3185f0e5fd8ea1634c06c48ca609607..364b8b17e2a201e5e2e2c201f720f0421f53a1e8 100644 (file)
@@ -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?