Work around a GCC 3.3.5 bug noticed by a user.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29490 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-08-03 00:18:59 +00:00
parent 8653b37ab9
commit 3700f90c19

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