Lines Matching defs:function

733     Handle<JSFunction> function(generator_object->function(), isolate_);
734 if (!IsVisibleInStackTrace(function)) return;
736 if (IsStrictFrame(function)) flags |= CallSiteInfo::kIsStrict;
739 Handle<BytecodeArray> code(function->shared().GetBytecodeArray(isolate_),
750 function->shared()
754 AppendFrame(receiver, function, code, offset, flags, parameters);
771 // We store the offset of the promise into the element function's
782 if (!IsVisibleInStackTrace(summary.function())) return;
785 Handle<JSFunction> function = summary.function();
786 if (IsStrictFrame(function)) flags |= CallSiteInfo::kIsStrict;
789 AppendFrame(summary.receiver(), function, summary.abstract_code(),
823 // The stack trace API should not expose receivers and function
825 // function.
826 bool IsStrictFrame(Handle<JSFunction> function) {
829 is_strict(function->shared().language_mode());
836 bool IsVisibleInStackTrace(Handle<JSFunction> function) {
837 return ShouldIncludeFrame(function) && IsNotHidden(function);
843 // user-specified function.
844 bool ShouldIncludeFrame(Handle<JSFunction> function) {
853 if (skip_next_frame_ && (*function == *caller_)) {
862 bool IsNotHidden(Handle<JSFunction> function) {
866 function->shared().IsApiFunction()) {
874 !function->shared().IsUserJavaScript()) {
875 return function->shared().native() || function->shared().IsApiFunction();
880 void AppendFrame(Handle<Object> receiver_or_instance, Handle<Object> function,
889 receiver_or_instance, function, code, offset, flags, parameters);
924 JSFunction const function = JSFunction::cast(object);
925 return function.code() == isolate->builtins()->code(builtin);
940 // Check if the {reaction} has one of the known async function or
949 // the JSGeneratorObject for the async function.
976 Handle<JSFunction> function(JSFunction::cast(reaction->fulfill_handler()),
978 Handle<Context> context(function->context(), isolate);
981 builder->AppendPromiseCombinatorFrame(function, combinator);
995 Handle<JSFunction> function(JSFunction::cast(reaction->fulfill_handler()),
997 Handle<Context> context(function->context(), isolate);
1000 builder->AppendPromiseCombinatorFrame(function, combinator);
1013 Handle<JSFunction> function(JSFunction::cast(reaction->reject_handler()),
1015 Handle<Context> context(function->context(), isolate);
1018 builder->AppendPromiseCombinatorFrame(function, combinator);
1030 Handle<JSFunction> function(JSFunction::cast(reaction->fulfill_handler()),
1032 Handle<Context> context(function->context(), isolate);
1063 // Check if the {reaction} has one of the known async function or
1076 // the JSGeneratorObject for the async function.
1296 Handle<SharedFunctionInfo> shared = handle(frame->function().shared(), this);
1300 Object maybe_script = frame->function().shared().script();
1872 // TODO(v8:12676): Fix gcmole failures in this function.
1875 // Create the {SetThreadInWasmFlagScope} first in this function so that its
2000 // function was validated lazily.
2352 // Compute the location from the function and the relocation info of the
2366 shared = handle(summary.AsJavaScript().function()->shared(), this);
2697 // in an async function, then it has a user-defined reject handler.
2750 // namely in the code in an async function before the first
2751 // await, the function which has this exception event has not yet
2773 // assume that async function calls are awaited.
2876 // 1st candidate: most-recently-entered author function's context
2897 // Given that there is no other author function is running, there must be
2898 // no cross-context function running, then the incumbent realm must match
3854 // function.
4747 // This can happen if the property has a getter function that throws
4760 // This can happen if the property has a getter function that throws
4802 // This can happen if the property has a getter function that throws
5022 // We are about to suspend execution of the current async function,