From dc2004fe640171bc45977a2e9a08d9a9ca69c05e Mon Sep 17 00:00:00 2001 From: Ivan Date: Mon, 16 Oct 2017 19:03:19 +0300 Subject: [PATCH] fix typo --- gen/runtimecompile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen/runtimecompile.cpp b/gen/runtimecompile.cpp index 8f8816f752..8b1764d53b 100644 --- a/gen/runtimecompile.cpp +++ b/gen/runtimecompile.cpp @@ -141,7 +141,7 @@ GlobalValsMap createGlobalValsFilter(IRState *irs) { return ret; } -void fixRtMudule(llvm::Module &newModule, +void fixRtModule(llvm::Module &newModule, const decltype(IRState::runtimeCompiledFunctions) &funcs) { std::unordered_map thunk2func; std::unordered_set externalFuncs; @@ -680,7 +680,7 @@ void generateBitcodeForRuntimeCompile(IRState *irs) { if (opts::runtimeCompileTlsWorkaround) { replaceDynamicThreadLocals(irs->module, *newModule, filter); } - fixRtMudule(*newModule, irs->runtimeCompiledFunctions); + fixRtModule(*newModule, irs->runtimeCompiledFunctions); // hideExternalSymbols(*newModule, filter); setupModuleBitcodeData(*newModule, irs, filter);