From 611c1b0f47ba836d7a714fdc9a1631c9de586c1e Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Sat, 31 May 2008 13:43:21 +0000 Subject: [PATCH] Callback was not executed on OS X when it was a function. llvm-svn: 51814 --- utils/TableGen/LLVMCConfigurationEmitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp index 260da0ac0f3..15803f244f8 100644 --- a/utils/TableGen/LLVMCConfigurationEmitter.cpp +++ b/utils/TableGen/LLVMCConfigurationEmitter.cpp @@ -910,7 +910,7 @@ void EmitCaseTest(const DagInit& d, const char* IndentLevel, // void F(Init* Statement, const char* IndentLevel, std::ostream& O). template void EmitCaseConstructHandler(const DagInit* d, const char* IndentLevel, - const F& Callback, bool EmitElseIf, + F Callback, bool EmitElseIf, const GlobalOptionDescriptions& OptDescs, std::ostream& O) { assert(d->getOperator()->getAsString() == "case");