From: Chris Lattner Date: Thu, 3 Aug 2006 00:18:59 +0000 (+0000) Subject: Work around a GCC 3.3.5 bug noticed by a user. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3700f90c19f51deae00f85b80d31e1f7fbda1f99;p=oota-llvm.git 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 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index c68251c230a..1af367a7e7f 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -77,7 +77,7 @@ namespace { cl::opt > ISHeuristic("sched", - cl::init(createDefaultScheduler), + cl::init(&createDefaultScheduler), cl::desc("Instruction schedulers available:")); static RegisterScheduler