diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2019-02-11 15:16:21 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2019-02-11 15:16:21 +0000 |
commit | 711950c1161e3abbf722e6399aff9b42c1f99750 (patch) | |
tree | 8917e53b17c5013ce4651c9ed941cd6bbec0409c /llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp | |
parent | eac19858e92fe977384db9a9bbc4c0968a7ec51f (diff) | |
download | bcm5719-llvm-711950c1161e3abbf722e6399aff9b42c1f99750.tar.gz bcm5719-llvm-711950c1161e3abbf722e6399aff9b42c1f99750.zip |
Move some classes into anonymous namespaces. NFC.
llvm-svn: 353710
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp index d059ef69915..b7fc65401fc 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp @@ -223,7 +223,7 @@ static Function *createWrapper(Function *F, FunctionType *Ty) { // Test whether a main function with type FuncTy should be rewritten to have // type MainTy. -bool shouldFixMainFunction(FunctionType *FuncTy, FunctionType *MainTy) { +static bool shouldFixMainFunction(FunctionType *FuncTy, FunctionType *MainTy) { // Only fix the main function if it's the standard zero-arg form. That way, // the standard cases will work as expected, and users will see signature // mismatches from the linker for non-standard cases. |