diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2020-01-14 14:06:12 +0100 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2020-01-14 14:06:37 +0100 |
| commit | df186507e1d07c3ddba091a076ba7a33dbdc5867 (patch) | |
| tree | 1a036220e7fe46703e2bc0840172068ddeffadc7 /mlir/lib/ExecutionEngine | |
| parent | bff33bd5c83b947cccb4d6cf6ebca9dc021f716b (diff) | |
| download | bcm5719-llvm-df186507e1d07c3ddba091a076ba7a33dbdc5867.tar.gz bcm5719-llvm-df186507e1d07c3ddba091a076ba7a33dbdc5867.zip | |
Make helper functions static or move them into anonymous namespaces. NFC.
Diffstat (limited to 'mlir/lib/ExecutionEngine')
| -rw-r--r-- | mlir/lib/ExecutionEngine/ExecutionEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/ExecutionEngine/ExecutionEngine.cpp b/mlir/lib/ExecutionEngine/ExecutionEngine.cpp index 1537018076a..651c90a87d7 100644 --- a/mlir/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/mlir/lib/ExecutionEngine/ExecutionEngine.cpp @@ -122,7 +122,7 @@ static std::string makePackedFunctionName(StringRef name) { // For each function in the LLVM module, define an interface function that wraps // all the arguments of the original function and all its results into an i8** // pointer to provide a unified invocation interface. -void packFunctionArguments(Module *module) { +static void packFunctionArguments(Module *module) { auto &ctx = module->getContext(); llvm::IRBuilder<> builder(ctx); DenseSet<llvm::Function *> interfaceFunctions; |

