Remove unused enum value
authorChris Lattner <sabre@nondot.org>
Fri, 17 Dec 2004 22:41:46 +0000 (22:41 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 17 Dec 2004 22:41:46 +0000 (22:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19024 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrBuilder.h

index c77eba76b106af99fd1d4d7f6ff4da79f2251716..9f6ae1b7a84e8202f368e87eb02bb7604998128f 100644 (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