We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a153a32 commit 8e010acCopy full SHA for 8e010ac
llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
@@ -575,8 +575,9 @@ Function *WebAssemblyLowerEmscriptenEHSjLj::getInvokeWrapper(CallBase *CI) {
575
FunctionType *CalleeFTy = CI->getFunctionType();
576
577
std::string Sig = getSignature(CalleeFTy);
578
- if (InvokeWrappers.contains(Sig))
579
- return InvokeWrappers[Sig];
+ auto It = InvokeWrappers.find(Sig);
+ if (It != InvokeWrappers.end())
580
+ return It->second;
581
582
// Put the pointer to the callee as first argument
583
ArgTys.push_back(PointerType::getUnqual(CalleeFTy));
0 commit comments