Lines Matching defs:function
17 #include "src/objects/shared-function-info.h"
455 // Check if we already compiled a wrapper for the function but did not store
491 // The function in the target instance was imported. Use its imports
530 Handle<WasmJSFunction> function) {
545 isolate, instance, table_index, entry_index, function);
1082 // The function in the target instance was imported. Use its imports table,
1088 // The function in the target instance was not imported.
1185 // Initialize the imported function arrays.
1396 const WasmFunction& function = module->functions[function_index];
1398 GetExportWrapperIndex(module, function.sig_index, function.imported);
1400 GetExportWrapperIndex(module, function.sig, function.imported));
1409 // The wrapper may not exist yet if no function in the exports section has
1414 isolate, function.sig, instance->module(), function.imported),
1420 static_cast<int>(function.sig->parameter_count()), wrapper));
1650 // TODO(9495): Update this if function type variance is introduced.
1664 // TODO(9495): Update this if function type variance is introduced.
1896 // able to call this function.
1976 // We can use the function name only for asm.js. For WebAssembly, the
1977 // function name is specified as the function_index.toString().
2179 // This function is only called for functions wrapped by a
2188 // TODO(9495): Update this if function type variance is introduced.
2273 "function-typed object must be null (if nullable) or a Wasm "
2274 "function object";
2326 WasmExportedFunction function =
2328 const WasmModule* exporting_module = function.instance().module();
2330 exporting_module->functions[function.function_index()]
2335 "assigned exported function has to be a subtype of the "
2344 // only in a module), we do not need full function subtyping.
2358 // (definable only in a module), we do not need full function
2372 "function-typed object must be null (if nullable) or a Wasm "
2373 "function object";