Home | History | Annotate | Download | only in src

Lines Matching refs:Function

237 // 'object', whereas JS_FUNCTION_TYPE has typeof 'function'.
619 // the two forms of function. This organization enables using the same
670 // Note that the types for which typeof is "function" are not continuous.
873 // function template.
959 // function is implemented according to ES5, section 9.12 and can be used
960 // to implement the Harmony "egal" function.
1193 // parameter. This function does not access the map pointer in the
1214 // Return the write barrier mode for this. Callers of this function
1216 // object as a sign that they are not going to use this function
1428 // function that was used to instantiate the object).
1662 // Returns true if this is an instance of an api function and has
1891 // Add a constant function property to a fast-case object.
1896 // function, all orphaned.
1899 JSFunction* function,
2146 // This function can cause GC and can return a failure result with
3286 // [0]: factory function
3354 // 2. One stack slot for the function name if it is stack allocated.
3361 // 3. One context slot for the function name if it is context allocated.
3366 // Is this scope the scope of a named function expression?
3417 // function context slot index if the function name is present (named
3418 // function expressions, only), otherwise returns a value < 0. The name
3434 // 2. The number of parameters. This only applies to function scopes. For
3435 // non-function scopes this is 0.
3470 // This part stores the names of the parameters for function scopes. One
3472 // ParameterCount() slots in the array. For other scopes than function
3491 // If the scope belongs to a named function expression this part contains
3492 // information about the function variable. It always occupies two array
3493 // slots: a. The name of the function variable.
3501 // Location of the function variable for named function expressions.
3503 NONE, // No function name present.
3504 STACK, // Function
3562 // array, this function returns the number of elements a byte array should
4117 FUNCTION,
4227 // [optimizable]: For FUNCTION kind, tells if it is optimizable.
4231 // [has_deoptimization_support]: For FUNCTION kind, tells if it has
4236 // [has_debug_break_slots]: For FUNCTION kind, tells if it has
4241 // [compiled_with_optimizing]: For FUNCTION kind, tells if it has
4246 // [has_self_optimization_header]: For FUNCTION kind, tells if it has
4251 // [allow_osr_at_loop_nesting_level]: For FUNCTION kind, tells for
4252 // how long the function has been marked for OSR and therefore which
4258 // [profiler_ticks]: For FUNCTION kind, tells for how many profiler ticks
4273 // [stack_check_table_start]: For kind FUNCTION, the offset in the
4301 // [has_function_cache]: For kind STUB tells whether there is a function
4310 // is FUNCTION.
4553 // for instances created from this function. If the prototype
4555 // property will not be used to create instances of the function.
4560 // Tells whether function has special prototype property. If not, prototype
4562 // and construction from this function will not be allowed.
4608 // Tells whether the instance has a call-as-function handler.
4690 // [constructor]: points back to the function responsible for this map.
4742 // NULL when this function is used from the compiler.
5040 // function from which eval was called.
5044 // function from which eval was called where eval was called.
5090 // optionally followed by ".prototype", a name of a builtin function
5097 // the list and MathFloor should be the first math function.
5101 V(Function.prototype, apply, FunctionApply) \
5137 // shared by multiple instances of the function.
5140 // [name]: Function name.
5143 // [code]: Function code.
5149 // [construct stub]: Code stub for constructing instances of this function.
5154 // Returns if this function has been compiled to native code yet.
5157 // [length]: The function length - usually the number of declared parameters.
5166 // Set the formal parameter count so the function code will be
5170 // [expected_nof_properties]: Expected number of properties for the function.
5217 // - A different constructor function sharing the same SharedFunctionInfo is
5219 // context, or the first function could have been disposed.
5232 // [initial_map]: initial map of the first function called as a constructor.
5261 // False if there are definitely no live objects created from this function.
5269 // [function data]: This field holds some additional data for function.
5271 // or Smi identifying a builtin function.
5282 // [script info]: Script from which the function originates.
5285 // [num_literals]: Number of literals used by this function.
5290 // position, whether or not the function is a function expression,
5291 // and whether or not the function is a toplevel function. The two
5292 // least significants bit indicates whether the function is an
5301 // assignment of this function. Used to facilitate debugging and
5307 // The function's name if it is non-empty, otherwise the inferred name.
5310 // Position of the 'function' token in the script source.
5314 // Position of this function in the script source.
5318 // End position of this function in the script source.
5322 // Is this function a function expression in the source code.
5325 // Is this function a top-level function (scripts, evals).
5341 // Inline cache age is used to infer whether the function survived a context
5354 // Indicate that this function only consists of assignments of the form
5358 // Indicates if this function can be lazy compiled.
5359 // This is used to determine if we can safely flush code from a function
5360 // when doing GC if we expect that the function will no longer be used.
5363 // Indicates how many full GCs this function has survived with assigned
5372 // shared function info. If a function is repeatedly optimized or if
5373 // we cannot optimize the function we disable optimization to avoid
5377 // Indicates the language mode of the function's code as defined by the
5386 // Indicates whether the language mode of this function is CLASSIC_MODE.
5389 // Indicates whether the language mode of this function is EXTENDED_MODE.
5392 // False if the function definitely does not allocate an arguments object.
5395 // True if the function has any duplicated parameter names.
5398 // Indicates whether the function is a native function.
5404 // Indicates that the function was created by the Function function.
5410 // Indicates whether the function is a bound function created using
5411 // the bind function.
5414 // Indicates that the function is anonymous (the name field can be set
5418 // Is this a function or top-level/eval code.
5421 // Indicates that the function cannot be optimized.
5424 // Indicates that the function cannot be inlined.
5427 // Indicates whether or not the code in the shared function support
5435 // shared function info.
5461 // [source code]: Source code for the function.
5468 // Source size of this function.
5661 // Constants for optimizing codegen for strict mode function and
5705 // [shared]: The information about the function that
5711 // [context]: The context for this function.
5716 // [code]: The generated code object for this function. Executed
5717 // when the function is invoked, e.g. foo() or new foo(). See
5726 // Tells whether this function is builtin.
5729 // Tells whether or not the function needs arguments adaption.
5732 // Tells whether or not this function has been optimized.
5735 // Tells whether or not this function can be optimized.
5738 // Mark this function for lazy recompilation. The function will be
5742 // Helpers to compile this function. Returns true on success, false on
5744 static bool CompileLazy(Handle<JSFunction> function,
5746 static bool CompileOptimized(Handle<JSFunction> function,
5750 // Tells whether or not the function is already marked for lazy
5754 // Check whether or not this function is inlineable.
5758 // the materialized literals or the bindings of a bound function.
5760 // If the function contains object, regexp or array literals, the
5762 // function to be used when creating these literals. This is
5769 // the function that was bound, bound this-value and any bound
5787 // function has an initial map the prototype is set on the initial
5798 // [[Construct]] from this function will not be allowed.
5802 // Accessor for this function's initial map's [[class]]
5804 // method sets the class_name field of this function's initial map
5805 // to a given value. It creates an initial map if this function does
5813 // Returns if this function has been compiled to native code yet.
5820 // Prints the name of the function using PrintF.
5847 // Retrieve the global context from a function's literal array.
5867 // Layout of the bound-function binding array.
5946 // TODO(kmillikin): This function can be eliminated once the stub cache is
6017 // (function and code object).
6855 // this function returns a failure. If flattening succeeds, this
6856 // function returns the sequential string that is now the first
6866 // Convenience function. Has exactly the same behavior as
7062 // Helper function for flattening strings.
7929 // is set to a smi. This matches the set function on FixedArray.
7935 // Initialize the array with the given capacity. The function may
8062 // * a pointer to a JavaScript function or proxy: a real accessor
8238 // If the bit is set, object instances created by this function
8359 // The DebugInfo class holds additional information for a function being
8363 // The shared function info for the source being debugged.
8368 // currently active for the function.
8390 // Get the number of break points for this function.
8425 // function. The DebugInfo object holds a BreakPointInfo object for each code
8525 // Visits a code entry in a JS function.