diff options
| author | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-31 13:43:21 +0000 |
|---|---|---|
| committer | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-31 13:43:21 +0000 |
| commit | f970edf9b7ae78956fba07bc6abbac491127d74a (patch) | |
| tree | 7002bf146327bae5bb04ab173e025ada8141d924 /llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp | |
| parent | 666d664595219ef12601e98db4c98763a0c977ee (diff) | |
| download | bcm5719-llvm-f970edf9b7ae78956fba07bc6abbac491127d74a.tar.gz bcm5719-llvm-f970edf9b7ae78956fba07bc6abbac491127d74a.zip | |
Callback was not executed on OS X when it was a function.
llvm-svn: 51814
Diffstat (limited to 'llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp')
| -rw-r--r-- | llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp b/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp index 260da0ac0f3..15803f244f8 100644 --- a/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp +++ b/llvm/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 <typename F> 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"); |

