Work around a GCC 3.3.5 bug noticed by a user.

llvm-svn: 29490
This commit is contained in:
Chris Lattner 2006-08-03 00:18:59 +00:00
parent 6efe304ec8
commit 524c1a21f2
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ namespace {
cl::opt<RegisterScheduler::FunctionPassCtor, false,
RegisterPassParser<RegisterScheduler> >
ISHeuristic("sched",
cl::init(createDefaultScheduler),
cl::init(&createDefaultScheduler),
cl::desc("Instruction schedulers available:"));
static RegisterScheduler