Home
last modified time | relevance | path

Searched refs:function_mode (Results 1 – 2 of 2) sorted by relevance

/third_party/node/deps/v8/src/heap/
Dfactory.h770 static bool IsFunctionModeWithPrototype(FunctionMode function_mode) { in IsFunctionModeWithPrototype() argument
771 return (function_mode & kWithPrototypeBits) != 0; in IsFunctionModeWithPrototype()
774 static bool IsFunctionModeWithWritablePrototype(FunctionMode function_mode) { in IsFunctionModeWithWritablePrototype() argument
775 return (function_mode & kWithWritablePrototypeBit) != 0; in IsFunctionModeWithWritablePrototype()
778 static bool IsFunctionModeWithName(FunctionMode function_mode) { in IsFunctionModeWithName() argument
779 return (function_mode & kWithNameBit) != 0; in IsFunctionModeWithName()
783 FunctionMode function_mode, MaybeHandle<JSFunction> maybe_empty_function);
785 Handle<Map> CreateStrictFunctionMap(FunctionMode function_mode,
Dfactory.cc3679 FunctionMode function_mode, MaybeHandle<JSFunction> maybe_empty_function) { in CreateSloppyFunctionMap() argument
3680 bool has_prototype = IsFunctionModeWithPrototype(function_mode); in CreateSloppyFunctionMap()
3685 if (IsFunctionModeWithName(function_mode)) ++inobject_properties_count; in CreateSloppyFunctionMap()
3725 if (IsFunctionModeWithName(function_mode)) { in CreateSloppyFunctionMap()
3748 if (IsFunctionModeWithPrototype(function_mode)) { in CreateSloppyFunctionMap()
3751 IsFunctionModeWithWritablePrototype(function_mode) ? rw_attribs in CreateSloppyFunctionMap()
3765 FunctionMode function_mode, Handle<JSFunction> empty_function) { in CreateStrictFunctionMap() argument
3766 bool has_prototype = IsFunctionModeWithPrototype(function_mode); in CreateStrictFunctionMap()
3771 int descriptors_count = IsFunctionModeWithPrototype(function_mode) ? 2 : 1; in CreateStrictFunctionMap()
3772 if (IsFunctionModeWithName(function_mode)) { in CreateStrictFunctionMap()
[all …]