Home
last modified time | relevance | path

Searched refs:Oddball (Results 1 – 25 of 41) sorted by relevance

12

/external/v8/src/heap/
Dsetup-heap-internal.cc226 ALLOCATE_PARTIAL_MAP(ODDBALL_TYPE, Oddball::kSize, undefined); in CreateInitialMaps()
227 ALLOCATE_PARTIAL_MAP(ODDBALL_TYPE, Oddball::kSize, null); in CreateInitialMaps()
228 ALLOCATE_PARTIAL_MAP(ODDBALL_TYPE, Oddball::kSize, the_hole); in CreateInitialMaps()
266 set_null_value(Oddball::cast(obj)); in CreateInitialMaps()
267 Oddball::cast(obj)->set_kind(Oddball::kNull); in CreateInitialMaps()
273 set_undefined_value(Oddball::cast(obj)); in CreateInitialMaps()
274 Oddball::cast(obj)->set_kind(Oddball::kUndefined); in CreateInitialMaps()
280 set_the_hole_value(Oddball::cast(obj)); in CreateInitialMaps()
281 Oddball::cast(obj)->set_kind(Oddball::kTheHole); in CreateInitialMaps()
366 ALLOCATE_PRIMITIVE_MAP(ODDBALL_TYPE, Oddball::kSize, boolean, in CreateInitialMaps()
[all …]
Dobjects-visiting.h51 V(Oddball) \
Dfactory.h99 Handle<Oddball> NewOddball(Handle<Map> map, const char* to_string,
105 Handle<Oddball> NewSelfReferenceMarker(PretenureFlag pretenure = TENURED);
Dfactory.cc90 DCHECK(Oddball::cast(*self_ref)->kind() == Oddball::kSelfReferenceMarker); in InitializeCode()
263 Handle<Oddball> Factory::NewOddball(Handle<Map> map, const char* to_string, in NewOddball()
267 Handle<Oddball> oddball(Oddball::cast(New(map, pretenure)), isolate()); in NewOddball()
268 Oddball::Initialize(isolate(), oddball, to_string, to_number, type_of, kind); in NewOddball()
272 Handle<Oddball> Factory::NewSelfReferenceMarker(PretenureFlag pretenure) { in NewSelfReferenceMarker()
275 Oddball::kSelfReferenceMarker, pretenure); in NewSelfReferenceMarker()
Dheap-inl.h536 Oddball* Heap::ToBoolean(bool condition) { in ToBoolean()
/external/v8/src/
Droots.h24 V(Oddball, uninitialized_value, UninitializedValue) \
25 V(Oddball, undefined_value, UndefinedValue) \
26 V(Oddball, the_hole_value, TheHoleValue) \
27 V(Oddball, null_value, NullValue) \
28 V(Oddball, true_value, TrueValue) \
29 V(Oddball, false_value, FalseValue) \
57 V(Oddball, arguments_marker, ArgumentsMarker) \
58 V(Oddball, exception, Exception) \
59 V(Oddball, termination_exception, TerminationException) \
60 V(Oddball, optimized_out, OptimizedOut) \
[all …]
Dvalue-serializer.h35 class Oddball; variable
117 void WriteOddball(Oddball* oddball);
Dobjects-inl.h386 ((Oddball::cast(this)->kind() & Oddball::kNotBooleanMask) == 0); in IsBoolean()
511 CAST_ACCESSOR(Oddball) in CAST_ACCESSOR()
1274 double Oddball::to_number_raw() const { in to_number_raw()
1278 void Oddball::set_to_number_raw(double value) { in set_to_number_raw()
1282 void Oddball::set_to_number_raw_as_bits(uint64_t bits) { in set_to_number_raw_as_bits()
1286 ACCESSORS(Oddball, to_string, String, kToStringOffset) in ACCESSORS() argument
1287 ACCESSORS(Oddball, to_number, Object, kToNumberOffset) in ACCESSORS()
1288 ACCESSORS(Oddball, type_of, String, kTypeOfOffset) in ACCESSORS()
1290 byte Oddball::kind() const { return Smi::ToInt(READ_FIELD(this, kKindOffset)); } in ACCESSORS()
1292 void Oddball::set_kind(byte value) { in set_kind()
[all …]
Djson-stringifier.cc426 switch (Oddball::cast(*object)->kind()) { in Serialize_()
427 case Oddball::kFalse: in Serialize_()
431 case Oddball::kTrue: in Serialize_()
435 case Oddball::kNull: in Serialize_()
Dvalue-serializer.cc358 WriteOddball(Oddball::cast(*object)); in WriteObject()
399 void ValueSerializer::WriteOddball(Oddball* oddball) { in WriteOddball()
402 case Oddball::kUndefined: in WriteOddball()
405 case Oddball::kFalse: in WriteOddball()
408 case Oddball::kTrue: in WriteOddball()
411 case Oddball::kNull: in WriteOddball()
757 Oddball* the_hole = ReadOnlyRoots(isolate_).the_hole_value(); in WriteJSMap()
788 Oddball* the_hole = ReadOnlyRoots(isolate_).the_hole_value(); in WriteJSSet()
Dobjects.h863 V(Oddball) \
1001 V(Oddball, ODDBALL_TYPE) \
3846 class Oddball: public HeapObject {
3867 Isolate* isolate, Handle<Oddball> input);
3869 DECL_CAST(Oddball)
3872 DECL_VERIFIER(Oddball)
3875 static void Initialize(Isolate* isolate, Handle<Oddball> oddball,
3912 DISALLOW_IMPLICIT_CONSTRUCTORS(Oddball);
Dobjects-debug.cc218 Oddball::cast(this)->OddballVerify(isolate); in HeapObjectVerify()
1043 void Oddball::OddballVerify(Isolate* isolate) { in OddballVerify()
1083 CHECK_EQ(kind(), Oddball::kSelfReferenceMarker); in OddballVerify()
Dcode-stub-assembler.cc206 TNode<Oddball> CodeStubAssembler::SelectBooleanConstant( in SelectBooleanConstant()
208 return SelectConstant<Oddball>(condition, TrueConstant(), FalseConstant()); in SelectBooleanConstant()
4808 var_value.Bind(LoadObjectField(value, Oddball::kToNumberOffset)); in TaggedToWord32OrBigIntImpl()
6757 var_result = LoadObjectField<String>(CAST(value), Oddball::kToStringOffset); in ToName()
6826 var_result.Bind(LoadObjectField(input, Oddball::kToNumberOffset)); in NonNumberToNumberOrNumeric()
7023 var_numeric->Bind(LoadObjectField(value, Oddball::kToNumberOffset)); in TaggedToNumeric()
7154 result.Bind(LoadObjectField(CAST(input), Oddball::kToStringOffset)); in ToString()
7513 var_unique->Bind(LoadObjectField(key, Oddball::kToStringOffset)); in TryToName()
8695 TNode<Oddball> the_hole = TheHoleConstant(); in TryLookupElement()
9420 STATIC_ASSERT(HeapNumber::kValueOffset == Oddball::kToNumberRawOffset); in PrepareValueForWriteToTypedArray()
[all …]
/external/v8/src/builtins/
Dconstants-table-builder.cc69 DCHECK(Oddball::cast(*self_reference)->kind() == in PatchSelfReference()
70 Oddball::kSelfReferenceMarker); in PatchSelfReference()
Dbase.tq30 type Oddball extends HeapObject generates 'TNode<Oddball>';
35 type Boolean extends Oddball generates 'TNode<Oddball>';
145 extern macro TheHoleConstant(): Oddball;
146 extern macro NullConstant(): Oddball;
147 extern macro UndefinedConstant(): Oddball;
153 const Hole: Oddball = TheHoleConstant();
154 const Null: Oddball = NullConstant();
155 const Undefined: Oddball = UndefinedConstant();
212 extern runtime StringEqual(Context, String, String): Oddball;
Dbuiltins-boolean-gen.cc22 Node* result = LoadObjectField(value, Oddball::kToStringOffset); in TF_BUILTIN()
Darray.tq192 let fromPresent: Oddball = HasProperty(context, o, from);
230 let fromPresent: Oddball = HasProperty(context, o, from);
273 let fromPresent: Oddball = HasProperty(context, o, from);
/external/v8/src/interpreter/
Dinterpreter-intrinsics-generator.cc138 TNode<Oddball> result = __ Select<Oddball>( in IsInstanceType()
150 TNode<Oddball> result = __ Select<Oddball>( in IsJSReceiver()
/external/v8/src/wasm/
Dwasm-objects-inl.h190 ACCESSORS(WasmInstanceObject, undefined_value, Oddball, kUndefinedValueOffset) in PRIMITIVE_ACCESSORS()
191 ACCESSORS(WasmInstanceObject, null_value, Oddball, kNullValueOffset) in PRIMITIVE_ACCESSORS()
Dwasm-objects.h390 DECL_ACCESSORS(undefined_value, Oddball)
391 DECL_ACCESSORS(null_value, Oddball)
/external/v8/src/runtime/
Druntime-promise.cc186 CONVERT_ARG_HANDLE_CHECKED(Oddball, debug_event, 2); in RUNTIME_FUNCTION()
/external/v8/tools/torque/vim-torque/syntax/
Dtorque.vim51 syn keyword torqueType Oddball HeapNumber Number BigInt Numeric Boolean JSProxy
/external/v8/src/compiler/
Dtypes.h159 V(Oddball, kBooleanOrNullOrUndefined | kHole) \
Deffect-control-linearizer.cc1254 STATIC_ASSERT(HeapNumber::kValueOffset == Oddball::kToNumberRawOffset); in LowerChangeTaggedToInt32()
1274 STATIC_ASSERT(HeapNumber::kValueOffset == Oddball::kToNumberRawOffset); in LowerChangeTaggedToUint32()
1298 STATIC_ASSERT(HeapNumber::kValueOffset == Oddball::kToNumberRawOffset); in LowerChangeTaggedToTaggedSigned()
1321 STATIC_ASSERT(HeapNumber::kValueOffset == Oddball::kToNumberRawOffset); in LowerTruncateTaggedToFloat64()
1947 STATIC_ASSERT(HeapNumber::kValueOffset == Oddball::kToNumberRawOffset); in BuildCheckedHeapNumberOrOddballToFloat64()
2018 STATIC_ASSERT(HeapNumber::kValueOffset == Oddball::kToNumberRawOffset); in LowerTruncateTaggedToWord32()
2637 STATIC_ASSERT(HeapNumber::kValueOffset == Oddball::kToNumberRawOffset); in LowerNewDoubleElements()
/external/v8/src/objects/
Dmap.h46 V(Oddball) \

12