Lines Matching refs:empty

188   // Creates the empty function.  Used for creating a context from scratch.
194 void CreateSloppyModeFunctionMaps(Handle<JSFunction> empty);
195 void CreateStrictModeFunctionMaps(Handle<JSFunction> empty);
196 void CreateObjectFunction(Handle<JSFunction> empty);
197 void CreateIteratorMaps(Handle<JSFunction> empty);
198 void CreateAsyncIteratorMaps(Handle<JSFunction> empty);
199 void CreateAsyncFunctionMaps(Handle<JSFunction> empty);
203 void AddRestrictedFunctionProperties(Handle<JSFunction> empty);
377 // Check if it's a creation of an empty or Proxy function during
699 // Allocate the empty function as the prototype for function according to
720 void Genesis::CreateSloppyModeFunctionMaps(Handle<JSFunction> empty) {
727 map = factory->CreateSloppyFunctionMap(FUNCTION_WITHOUT_PROTOTYPE, empty);
734 factory->CreateSloppyFunctionMap(FUNCTION_WITH_READONLY_PROTOTYPE, empty);
741 empty);
745 FUNCTION_WITH_NAME_AND_WRITEABLE_PROTOTYPE, empty);
758 // %ThrowTypeError% must have a name property with an empty string value. Per
784 void Genesis::CreateStrictModeFunctionMaps(Handle<JSFunction> empty) {
791 map = factory->CreateStrictFunctionMap(FUNCTION_WITHOUT_PROTOTYPE, empty);
794 map = factory->CreateStrictFunctionMap(METHOD_WITH_NAME, empty);
801 empty);
805 FUNCTION_WITH_NAME_AND_WRITEABLE_PROTOTYPE, empty);
812 factory->CreateStrictFunctionMap(FUNCTION_WITH_READONLY_PROTOTYPE, empty);
818 map = factory->CreateClassFunctionMap(empty);
823 AddRestrictedFunctionProperties(empty);
860 // Complete setting up empty function.
909 void Genesis::CreateIteratorMaps(Handle<JSFunction> empty) {
930 JSObject::ForceSetPrototype(isolate(), generator_function_prototype, empty);
1009 void Genesis::CreateAsyncIteratorMaps(Handle<JSFunction> empty) {
1055 empty);
1112 void Genesis::CreateAsyncFunctionMaps(Handle<JSFunction> empty) {
1116 JSObject::ForceSetPrototype(isolate(), async_function_prototype, empty);
1221 void Genesis::AddRestrictedFunctionProperties(Handle<JSFunction> empty) {
1228 Handle<Map> map(empty->map(), isolate());
1256 // closure and extension object later (we need the empty function
2749 // to the embedder data array so we don't need an empty embedder data array.
4422 Handle<JSObject> empty = factory->NewJSObject(isolate_->object_function());
4423 JSFunction::SetPrototype(cons, empty);