From: Chris Lattner Date: Fri, 16 Jul 2004 00:06:01 +0000 (+0000) Subject: Fix IA64 compatibility X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=b8edf61fa9f558ccd68b4b5ac970e3d403d870ea;p=oota-llvm.git Fix IA64 compatibility git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14866 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/Passes.cpp b/lib/CodeGen/Passes.cpp index 2fb6cb465c2..b390e037f6d 100644 --- a/lib/CodeGen/Passes.cpp +++ b/lib/CodeGen/Passes.cpp @@ -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)); } diff --git a/lib/CodeGen/VirtRegMap.cpp b/lib/CodeGen/VirtRegMap.cpp index e22d72c8fc4..3d543296b40 100644 --- a/lib/CodeGen/VirtRegMap.cpp +++ b/lib/CodeGen/VirtRegMap.cpp @@ -44,7 +44,7 @@ namespace { cl::Prefix, cl::values(clEnumVal(simple, " simple spiller"), clEnumVal(local, " local spiller"), - 0), + clEnumValEnd), cl::init(local)); }