#include "src/builtins/builtins-object-gen.h"
#include <optional>
#include "src/builtins/builtins-constructor-gen.h"
#include "src/builtins/builtins-inl.h"
#include "src/builtins/builtins-utils-gen.h"
#include "src/codegen/code-stub-assembler-inl.h"
#include "src/common/globals.h"
#include "src/heap/factory-inl.h"
#include "src/ic/accessor-assembler.h"
#include "src/ic/keyed-store-generic.h"
#include "src/objects/js-generator.h"
#include "src/objects/js-objects.h"
#include "src/objects/property-descriptor-object.h"
#include "src/objects/property-details.h"
#include "src/objects/shared-function-info.h"
#include "src/objects/transitions.h"
namespace v8 {
namespace internal {
#include "src/codegen/define-code-stub-assembler-macros.inc"
class ObjectEntriesValuesBuiltinsAssembler : public ObjectBuiltinsAssembler { … };
void ObjectBuiltinsAssembler::ReturnToStringFormat(TNode<Context> context,
TNode<String> string) { … }
TNode<JSObject> ObjectBuiltinsAssembler::ConstructAccessorDescriptor(
TNode<Context> context, TNode<Object> getter, TNode<Object> setter,
TNode<BoolT> enumerable, TNode<BoolT> configurable) { … }
TNode<JSObject> ObjectBuiltinsAssembler::ConstructDataDescriptor(
TNode<Context> context, TNode<Object> value, TNode<BoolT> writable,
TNode<BoolT> enumerable, TNode<BoolT> configurable) { … }
TNode<BoolT> ObjectEntriesValuesBuiltinsAssembler::IsPropertyEnumerable(
TNode<Uint32T> details) { … }
TNode<BoolT> ObjectEntriesValuesBuiltinsAssembler::IsPropertyKindAccessor(
TNode<Uint32T> kind) { … }
TNode<BoolT> ObjectEntriesValuesBuiltinsAssembler::IsPropertyKindData(
TNode<Uint32T> kind) { … }
void ObjectEntriesValuesBuiltinsAssembler::GetOwnValuesOrEntries(
TNode<Context> context, TNode<Object> maybe_object,
CollectType collect_type) { … }
TNode<JSArray> ObjectEntriesValuesBuiltinsAssembler::FastGetOwnValuesOrEntries(
TNode<Context> context, TNode<JSObject> object,
Label* if_call_runtime_with_fast_path, Label* if_no_properties,
CollectType collect_type) { … }
TNode<JSArray>
ObjectEntriesValuesBuiltinsAssembler::FinalizeValuesOrEntriesJSArray(
TNode<Context> context, TNode<FixedArray> result, TNode<IntPtrT> size,
TNode<Map> array_map, Label* if_empty) { … }
TF_BUILTIN(ObjectPrototypeHasOwnProperty, ObjectBuiltinsAssembler) { … }
TF_BUILTIN(ObjectAssign, ObjectBuiltinsAssembler) { … }
TF_BUILTIN(ObjectKeys, ObjectBuiltinsAssembler) { … }
TF_BUILTIN(ObjectHasOwn, ObjectBuiltinsAssembler) { … }
TF_BUILTIN(ObjectGetOwnPropertyNames, ObjectBuiltinsAssembler) { … }
TF_BUILTIN(ObjectValues, ObjectEntriesValuesBuiltinsAssembler) { … }
TF_BUILTIN(ObjectEntries, ObjectEntriesValuesBuiltinsAssembler) { … }
TF_BUILTIN(ObjectPrototypeIsPrototypeOf, ObjectBuiltinsAssembler) { … }
TF_BUILTIN(ObjectToString, ObjectBuiltinsAssembler) { … }
TF_BUILTIN(ObjectCreate, ObjectBuiltinsAssembler) { … }
TF_BUILTIN(ObjectIs, ObjectBuiltinsAssembler) { … }
TF_BUILTIN(CreateIterResultObject, ObjectBuiltinsAssembler) { … }
TF_BUILTIN(HasProperty, ObjectBuiltinsAssembler) { … }
TF_BUILTIN(InstanceOf, ObjectBuiltinsAssembler) { … }
TF_BUILTIN(InstanceOf_WithFeedback, ObjectBuiltinsAssembler) { … }
TF_BUILTIN(InstanceOf_Baseline, ObjectBuiltinsAssembler) { … }
TF_BUILTIN(OrdinaryHasInstance, ObjectBuiltinsAssembler) { … }
TF_BUILTIN(CreateGeneratorObject, ObjectBuiltinsAssembler) { … }
TF_BUILTIN(OrdinaryGetOwnPropertyDescriptor, ObjectBuiltinsAssembler) { … }
TF_BUILTIN(ObjectGetOwnPropertyDescriptor, ObjectBuiltinsAssembler) { … }
void ObjectBuiltinsAssembler::AddToDictionaryIf(
TNode<BoolT> condition, TNode<Context> context, TNode<Object> object,
TNode<HeapObject> name_dictionary, Handle<Name> name, TNode<Object> value,
Label* bailout) { … }
TNode<JSObject> ObjectBuiltinsAssembler::FromPropertyDescriptor(
TNode<Context> context, TNode<PropertyDescriptorObject> desc) { … }
TNode<HeapObject> ObjectBuiltinsAssembler::FromPropertyDescriptor(
TNode<Context> context, TNode<Object> desc) { … }
TNode<JSObject> ObjectBuiltinsAssembler::FromPropertyDetails(
TNode<Context> context, TNode<Object> raw_value, TNode<Word32T> details,
Label* if_bailout) { … }
TNode<HeapObject> ObjectBuiltinsAssembler::GetAccessorOrUndefined(
TNode<HeapObject> accessor, Label* if_bailout) { … }
#include "src/codegen/undef-code-stub-assembler-macros.inc"
}
}