summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-16 00:06:01 +0000
committerChris Lattner <sabre@nondot.org>2004-07-16 00:06:01 +0000
commit34afafc1900cfee5f97b7089b4bd3af46aa6a3d0 (patch)
treed1ddd4e4bc50d0b1541dc5271da90345316aad80 /llvm/lib
parentcc36c670e8b97ee5c72c04cf778c9a16785e6d44 (diff)
downloadbcm5719-llvm-34afafc1900cfee5f97b7089b4bd3af46aa6a3d0.tar.gz
bcm5719-llvm-34afafc1900cfee5f97b7089b4bd3af46aa6a3d0.zip
Fix IA64 compatibility
llvm-svn: 14866
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/Passes.cpp2
-rw-r--r--llvm/lib/CodeGen/VirtRegMap.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/Passes.cpp b/llvm/lib/CodeGen/Passes.cpp
index 2fb6cb465c2..b390e037f6d 100644
--- a/llvm/lib/CodeGen/Passes.cpp
+++ b/llvm/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/llvm/lib/CodeGen/VirtRegMap.cpp b/llvm/lib/CodeGen/VirtRegMap.cpp
index e22d72c8fc4..3d543296b40 100644
--- a/llvm/lib/CodeGen/VirtRegMap.cpp
+++ b/llvm/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));
}
OpenPOWER on IntegriCloud