You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Normalize any 'p' characters to either 'j' (wasm64) or 'i' (wasm32)
840
+
if(sig.includes('p')){
841
+
letnormalizedSig='';
842
+
for(letsigChrofsig){
843
+
if(sigChr=='p'){
844
+
sigChr=MEMORY64 ? 'j' : 'i';
845
+
}
846
+
normalizedSig+=sigChr;
847
+
}
848
+
sig=normalizedSig;
849
+
}
850
+
851
+
825
852
if(funcPtr===undefined){
826
853
printErr(`warning: ${currentlyParsedFilename}: \
827
854
Legacy use of {{{ makeDynCall("${sig}") }}}(funcPtr, arg1, arg2, ...). \
@@ -837,9 +864,9 @@ Please update to new syntax.`);
837
864
return`(function(${args}) { /* a dynamic function call to signature ${sig}, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ })`;
0 commit comments