mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Callback was not executed on OS X when it was a function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51814 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e56d946a38
commit
310d2eb202
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user