Work around a bug in gcc 3.3.5, reported by a user

llvm-svn: 29489
This commit is contained in:
Chris Lattner 2006-08-03 00:16:56 +00:00
parent a100384417
commit 992020cd59

View File

@ -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)"));
}