some jit code cleaup and clang-format

This commit is contained in:
Ivan 2018-07-03 21:17:21 +03:00
parent 80528f80ef
commit 98ed035af7
5 changed files with 22 additions and 22 deletions

View file

@ -140,9 +140,7 @@ llvm::JITSymbol JITContext::findSymbol(const std::string &name) {
return compileLayer.findSymbol(name, false);
}
void JITContext::clearSymMap() {
symMap.clear();
}
void JITContext::clearSymMap() { symMap.clear(); }
void JITContext::addSymbol(std::string &&name, void *value) {
symMap.emplace(std::make_pair(std::move(name), value));