Home | History | Annotate | Download | only in src

Lines Matching full:function_mode

273   static bool IsFunctionModeWithPrototype(FunctionMode function_mode) {
274 return (function_mode == FUNCTION_WITH_WRITEABLE_PROTOTYPE ||
275 function_mode == FUNCTION_WITH_READONLY_PROTOTYPE);
278 Handle<Map> CreateSloppyFunctionMap(FunctionMode function_mode);
281 FunctionMode function_mode);
284 Handle<Map> CreateStrictFunctionMap(FunctionMode function_mode,
291 FunctionMode function_mode);
433 FunctionMode function_mode) {
434 int size = IsFunctionModeWithPrototype(function_mode) ? 5 : 4;
470 if (IsFunctionModeWithPrototype(function_mode)) {
471 if (function_mode == FUNCTION_WITH_WRITEABLE_PROTOTYPE) {
483 Handle<Map> Genesis::CreateSloppyFunctionMap(FunctionMode function_mode) {
485 SetFunctionInstanceDescriptor(map, function_mode);
486 if (IsFunctionModeWithPrototype(function_mode)) map->set_is_constructor();
598 FunctionMode function_mode) {
599 int size = IsFunctionModeWithPrototype(function_mode) ? 3 : 2;
609 DCHECK(function_mode == FUNCTION_WITH_WRITEABLE_PROTOTYPE ||
610 function_mode == FUNCTION_WITH_READONLY_PROTOTYPE ||
611 function_mode == FUNCTION_WITHOUT_PROTOTYPE);
626 if (IsFunctionModeWithPrototype(function_mode)) {
629 function_mode == FUNCTION_WITH_WRITEABLE_PROTOTYPE ? rw_attribs
715 FunctionMode function_mode, Handle<JSFunction> empty_function) {
717 SetStrictFunctionInstanceDescriptor(map, function_mode);
718 if (IsFunctionModeWithPrototype(function_mode)) map->set_is_constructor();