Lines Matching defs:function
10 #include "include/v8-function.h"
28 #include "src/objects/js-function.h"
32 #include "src/objects/shared-function-info.h"
37 #include "src/wasm/function-compiler.h"
241 thrower->TypeError("Argument 0 must be a function");
582 // Create and assign the return value of this function.
735 // constructor function wasn't {WebAssembly.Module} directly, but some
844 // constructor function wasn't {WebAssembly.Instance} directly, but some
870 // Create and assign the return value of this function.
1200 // constructor function wasn't {WebAssembly.Table} directly, but some
1294 // constructor function wasn't {WebAssembly.Memory} directly, but some
1462 // constructor function wasn't {WebAssembly.Global} directly, but some
1522 "exported function");
1649 // constructor function wasn't {WebAssembly.Suspender} directly, but some
1793 thrower.TypeError("Argument 0 must be a function type");
1800 // Load the 'parameters' property of the function type.
1807 thrower.TypeError("Argument 0 must be a function type with 'parameters'");
1821 // Load the 'results' property of the function type.
1828 thrower.TypeError("Argument 0 must be a function type with 'results'");
1842 // Decode the function type and construct a signature.
1869 thrower.TypeError("Argument 1 must be a function");
1883 "The signature of Argument 1 (a WebAssembly function) does "
1895 "The signature of Argument 1 (a WebAssembly function) does "
1923 // If this export is wrapped by a Suspender, the function returns a
2044 thrower.RangeError("invalid index %u into function table", index);
2075 thrower.RangeError("invalid index %u into function table", index);
2522 "exported function");
2576 i::Handle<i::JSFunction> function = maybe_function.ToHandleChecked();
2577 i::SharedFunctionInfo sfi = function->shared();
2579 thrower.TypeError("Argument 0 must be a wasm function");
2641 // TODO(titzer): we use the API to create the function template because the
2670 Handle<JSFunction> function =
2672 DCHECK(function->shared().HasSharedName());
2673 return function;
2682 Handle<JSFunction> function =
2684 function->shared().set_length(length);
2685 JSObject::AddProperty(isolate, object, name, function, attributes);
2686 return function;
2705 Handle<JSFunction> function =
2710 Utils::ToLocal(function),
2735 // Assigns a dummy instance template to the given constructor function. Used to