From 8653b37ab97ce69e8ff81e28f702ae94e20f6dec Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 3 Aug 2006 00:16:56 +0000 Subject: [PATCH] Work around a bug in gcc 3.3.5, reported by a user git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29489 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/Passes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/Passes.cpp b/lib/CodeGen/Passes.cpp index 4344612f3a6..8cf1a587ac6 100644 --- a/lib/CodeGen/Passes.cpp +++ b/lib/CodeGen/Passes.cpp @@ -35,7 +35,7 @@ namespace { cl::opt > RegAlloc("regalloc", - cl::init(createLinearScanRegisterAllocator), + cl::init(&createLinearScanRegisterAllocator), cl::desc("Register allocator to use: (default = linearscan)")); }