diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-08-03 00:18:59 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-08-03 00:18:59 +0000 |
| commit | 524c1a21f225b7686fb0afdd076b359c5eba3236 (patch) | |
| tree | ff8d3a5636823f67009679252491587a20bc3c41 /llvm/lib/CodeGen | |
| parent | 6efe304ec80e5169d7c9255f73c3158b0971991b (diff) | |
| download | bcm5719-llvm-524c1a21f225b7686fb0afdd076b359c5eba3236.tar.gz bcm5719-llvm-524c1a21f225b7686fb0afdd076b359c5eba3236.zip | |
Work around a GCC 3.3.5 bug noticed by a user.
llvm-svn: 29490
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index c68251c230a..1af367a7e7f 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -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 |

