diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2007-04-21 16:29:37 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2007-04-21 16:29:37 +0000 |
commit | 8f192e0ee03f2cf120f6b7301a52017e4ea45d5b (patch) | |
tree | deb4138988e333b0b19f00e9add9671bae4ed969 | |
parent | 8c28c467f6af0cff632f3f2251f2a42c548db437 (diff) | |
download | external_llvm-8f192e0ee03f2cf120f6b7301a52017e4ea45d5b.zip external_llvm-8f192e0ee03f2cf120f6b7301a52017e4ea45d5b.tar.gz external_llvm-8f192e0ee03f2cf120f6b7301a52017e4ea45d5b.tar.bz2 |
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
-rw-r--r-- | include/llvm/CodeGen/MachineRelocation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineRelocation.h b/include/llvm/CodeGen/MachineRelocation.h index 65a1f10..364b8b1 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? |