From 3700f90c19f51deae00f85b80d31e1f7fbda1f99 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 3 Aug 2006 00:18:59 +0000 Subject: [PATCH] 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 --- lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1