aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
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
commitb8edf61fa9f558ccd68b4b5ac970e3d403d870ea (patch)
treeeeda0f226ddb4dc795da3ca280b712fa6bd42eec /lib/CodeGen
parent23f9ef062a361d77a51a563c0f03e36db6c4b6ba (diff)
Fix IA64 compatibility
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14866 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/Passes.cpp2
-rw-r--r--lib/CodeGen/VirtRegMap.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/Passes.cpp b/lib/CodeGen/Passes.cpp
index 2fb6cb465c..b390e037f6 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 e22d72c8fc..3d543296b4 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));
}