Remove unused enum value

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19024 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-12-17 22:41:46 +00:00
parent a2dfbf96a9
commit 6b4f501470

View File

@ -34,7 +34,6 @@ namespace llvm {
/// also include the offset of a global value.
struct X86AddressMode {
enum {
UnknownBase,
RegBase,
FrameIndexBase,
} BaseType;
@ -49,7 +48,8 @@ struct X86AddressMode {
unsigned Disp;
GlobalValue *GV;
X86AddressMode() : BaseType(UnknownBase), GV(NULL) {}
X86AddressMode() : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0),
GV(NULL) {}
};
/// addDirectMem - This function is used to add a direct memory reference to the