Fix IA64 compatibility
[oota-llvm.git] / lib / CodeGen / Passes.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));
 }