From 8f192e0ee03f2cf120f6b7301a52017e4ea45d5b Mon Sep 17 00:00:00 2001 From: Jeff Cohen Date: Sat, 21 Apr 2007 16:29:37 +0000 Subject: [PATCH] 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 --- include/llvm/CodeGen/MachineRelocation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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? -- 2.34.1