Fix IA64 compatibility
authorChris Lattner <sabre@nondot.org>
Fri, 16 Jul 2004 00:06:01 +0000 (00:06 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 16 Jul 2004 00:06:01 +0000 (00:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14866 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/Passes.cpp
lib/CodeGen/VirtRegMap.cpp

index 2fb6cb465c25764921b8ef89aadf7626ffa8f8e1..b390e037f6d4ce48d00f46975692fe5390c76e1c 100644 (file)
@@ -27,7 +27,7 @@ namespace {
            cl::values(clEnumVal(simple,      "  simple register allocator"),
                       clEnumVal(local,       "  local register allocator"),
                       clEnumVal(linearscan,  "  linear scan register allocator (experimental)"),
-                      0),
+                      clEnumValEnd),
            cl::init(local));
 }
 
index e22d72c8fc427efd5f52a280e33e8bf236b3438b..3d543296b40d3d019098b00ee62a1ccde1c8763b 100644 (file)
@@ -44,7 +44,7 @@ namespace {
                cl::Prefix,
                cl::values(clEnumVal(simple, "  simple spiller"),
                           clEnumVal(local,  "  local spiller"),
-                          0),
+                          clEnumValEnd),
                cl::init(local));
 }