emscripten/tests/optimizer/emitDCEGraph2.js

16 строки
657 B
JavaScript

// dyncalls
var dynCall_v = Module["dynCall_v"] = function() { return Module["asm"]["dynCall_v"].apply(null, arguments) };
var dynCall_vi = Module["dynCall_vi"] = function() { return Module["asm"]["dynCall_vi"].apply(null, arguments) };
var dynCall_vii = Module["dynCall_vii"] = function() { return Module["asm"]["dynCall_vii"].apply(null, arguments) };
var dynCall_viii = Module["dynCall_viii"] = function() { return Module["asm"]["dynCall_viii"].apply(null, arguments) };
// a dynamic dynCall
function dynCall(sig) {
Module['dynCall_' + sig]();
}
Module['dynCall'] = dynCall; // exported, so all dyncalls must be rooted!
var asmLibraryArg = {
};