Lines Matching refs:function
17 #include "torque-generated/src/objects/js-function-tq.inc"
19 // An abstract superclass for classes representing JavaScript function values.
20 // It doesn't carry any functionality but allows function classes to be
32 Handle<JSFunctionOrBoundFunctionOrWrappedFunction> function,
39 // JSBoundFunction describes a bound function exotic object.
45 Handle<JSBoundFunction> function);
47 Handle<JSBoundFunction> function);
53 // The bound function's string representation implemented according
55 static Handle<String> ToString(Handle<JSBoundFunction> function);
60 // JSWrappedFunction describes a wrapped function exotic object.
66 Handle<JSWrappedFunction> function);
68 Handle<JSWrappedFunction> function);
78 // The wrapped function's string representation implemented according
80 static Handle<String> ToString(Handle<JSWrappedFunction> function);
92 // [shared]: The information about the function that can be shared by
100 // [context]: The context for this function.
108 static Handle<String> GetName(Isolate* isolate, Handle<JSFunction> function);
110 // [code]: The generated code object for this function. Executed
111 // when the function is invoked, e.g. foo() or new foo(). See
127 // Returns the address of the function code's instruction start.
130 // Get the abstract code associated with the function, which will either be
135 // The predicates for querying code kinds related to this function have
142 // - Active: the single code kind that would be executed if this function
144 // code kind if the function is not compiled. Also, asm/wasm functions are
152 // True, iff any generated code kind is attached/available to this function.
170 // Tells whether function's code object checks its tiering state (some code
178 // Mark this function for lazy recompilation. The function will be recompiled
186 // Sets the interrupt budget based on whether the function has a feedback
210 // the function has feedback vectors allocated. feedback vectors may not be
215 Isolate* isolate, Handle<JSFunction> function,
218 Handle<JSFunction> function,
222 // used to create closures from this function. We allocate closure feedback
228 Handle<JSFunction> function, bool reset_budget_for_feedback_allocation);
230 // Initializes the feedback cell of |function|. In lite mode, this would be
232 // cells for create closure calls from this function. In the regular mode,
234 static void InitializeFeedbackCell(Handle<JSFunction> function,
241 // Resets function to clear compiled data after bytecode has been flushed.
244 base::Optional<std::function<void(HeapObject object, ObjectSlot slot,
262 static void SetInitialMap(Isolate* isolate, Handle<JSFunction> function,
264 static void SetInitialMap(Isolate* isolate, Handle<JSFunction> function,
269 Handle<JSFunction> function);
284 // function has an initial map the prototype is set on the initial
293 static void SetPrototype(Handle<JSFunction> function, Handle<Object> value);
295 // Returns if this function has been compiled to native code yet.
309 Isolate* isolate, Handle<JSFunction> function);
321 static Handle<String> GetName(Handle<JSFunction> function);
326 // function name's length exceeds String::kMaxLength.
327 static V8_WARN_UNUSED_RESULT bool SetName(Handle<JSFunction> function,
331 // The function's name if it is configured, otherwise shared function info
333 static Handle<String> GetDebugName(Handle<JSFunction> function);
335 // The function's string representation implemented according to
337 static Handle<String> ToString(Handle<JSFunction> function);
357 // adding a NOT_COMPILED kind and changing this function to simply return the
363 // shared function info.