Searched refs:function_mode (Results 1 – 2 of 2) sorted by relevance
770 static bool IsFunctionModeWithPrototype(FunctionMode function_mode) { in IsFunctionModeWithPrototype() argument771 return (function_mode & kWithPrototypeBits) != 0; in IsFunctionModeWithPrototype()774 static bool IsFunctionModeWithWritablePrototype(FunctionMode function_mode) { in IsFunctionModeWithWritablePrototype() argument775 return (function_mode & kWithWritablePrototypeBit) != 0; in IsFunctionModeWithWritablePrototype()778 static bool IsFunctionModeWithName(FunctionMode function_mode) { in IsFunctionModeWithName() argument779 return (function_mode & kWithNameBit) != 0; in IsFunctionModeWithName()783 FunctionMode function_mode, MaybeHandle<JSFunction> maybe_empty_function);785 Handle<Map> CreateStrictFunctionMap(FunctionMode function_mode,
3679 FunctionMode function_mode, MaybeHandle<JSFunction> maybe_empty_function) { in CreateSloppyFunctionMap() argument3680 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() argument3766 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 …]