summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-03 00:16:56 +0000
committerChris Lattner <sabre@nondot.org>2006-08-03 00:16:56 +0000
commit6efe304ec80e5169d7c9255f73c3158b0971991b (patch)
tree6f12241017d7228d1b7f21ec62f58cf99591efdd
parentf6465d8926d19770123aeaabcb145d44119400a3 (diff)
downloadbcm5719-llvm-6efe304ec80e5169d7c9255f73c3158b0971991b.tar.gz
bcm5719-llvm-6efe304ec80e5169d7c9255f73c3158b0971991b.zip
Work around a bug in gcc 3.3.5, reported by a user
llvm-svn: 29489
-rw-r--r--llvm/lib/CodeGen/Passes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/Passes.cpp b/llvm/lib/CodeGen/Passes.cpp
index 4344612f3a6..8cf1a587ac6 100644
--- a/llvm/lib/CodeGen/Passes.cpp
+++ b/llvm/lib/CodeGen/Passes.cpp
@@ -35,7 +35,7 @@ namespace {
cl::opt<RegisterRegAlloc::FunctionPassCtor, false,
RegisterPassParser<RegisterRegAlloc> >
RegAlloc("regalloc",
- cl::init(createLinearScanRegisterAllocator),
+ cl::init(&createLinearScanRegisterAllocator),
cl::desc("Register allocator to use: (default = linearscan)"));
}
OpenPOWER on IntegriCloud