Home
last modified time | relevance | path

Searched refs:AsConstant (Results 1 – 6 of 6) sorted by relevance

/external/v8/src/
Dtypes.cc105 if (this->IsConstant()) return this->AsConstant()->Value()->Number(); in Min()
123 if (this->IsConstant()) return this->AsConstant()->Value()->Number(); in Max()
172 if (type->IsConstant()) return type->AsConstant()->Lub(); in Lub()
484 && *this->AsConstant()->Value() == *that->AsConstant()->Value(); in SimplyEquals()
578 Contains(that->AsRange(), this->AsConstant())); in SemanticIs()
594 i::Object* object = *this->AsConstant()->Value(); in NowIs()
656 return Contains(this->AsRange(), that->AsConstant()); in SemanticMaybe()
896 if (rhs->IsConstant() && Contains(lhs->AsRange(), rhs->AsConstant())) { in IntersectAux()
1171 return type->AsConstant()->Value(); in current()
1213 return ConstantType::New(type->AsConstant()->Value(), region); in Convert()
[all …]
Dtypes.h506 ConstantType* AsConstant() { return ConstantType::cast(this); } in AsConstant() function
/external/v8/src/compiler/
Djs-typed-lowering.cc975 receiver_type->AsConstant()->Value()->IsJSFunction()) { in ReduceJSLoadNamed()
979 Handle<JSFunction>::cast(receiver_type->AsConstant()->Value()); in ReduceJSLoadNamed()
1137 !r.right_type()->AsConstant()->Value()->IsJSFunction()) { in ReduceJSInstanceOf()
1142 Handle<JSFunction>::cast(r.right_type()->AsConstant()->Value()); in ReduceJSInstanceOf()
1344 Handle<Context>::cast(context_type->AsConstant()->Value()) in ReduceJSConvertReceiver()
1398 Handle<Context>::cast(context_type->AsConstant()->Value()) in ReduceJSConvertReceiver()
1454 target_type->AsConstant()->Value()->IsJSFunction()) { in ReduceJSCreate()
1456 Handle<JSFunction>::cast(target_type->AsConstant()->Value()); in ReduceJSCreate()
2093 target_type->AsConstant()->Value()->IsJSFunction()) { in ReduceJSCallConstruct()
2095 Handle<JSFunction>::cast(target_type->AsConstant()->Value()); in ReduceJSCallConstruct()
[all …]
Dtyper.cc1169 Object::TypeOf(t->isolate(), type->AsConstant()->Value()), t->zone()); in JSTypeOfTyper()
1271 receiver->AsConstant()->Value()->IsJSFunction()) { in TypeJSLoadNamed()
1273 Handle<JSFunction>::cast(receiver->AsConstant()->Value()); in TypeJSLoadNamed()
1493 if (fun->IsConstant() && fun->AsConstant()->Value()->IsJSFunction()) { in JSCallFunctionTyper()
1495 Handle<JSFunction>::cast(fun->AsConstant()->Value()); in JSCallFunctionTyper()
1849 object_type->AsConstant()->Value()->IsHeapObject()) { in GetStableMapFromObjectType()
1851 Handle<HeapObject>::cast(object_type->AsConstant()->Value())->map()); in GetStableMapFromObjectType()
Dchange-lowering.cc441 input_type->AsConstant()->Value()->IsHeapObject()) { in ComputeWriteBarrierKind()
443 Handle<HeapObject>::cast(input_type->AsConstant()->Value()); in ComputeWriteBarrierKind()
/external/v8/test/cctest/
Dtest-types.cc355 CHECK(*value == *type->AsConstant()->Value()); in Constant()
965 if (type->IsConstant() && IsInteger(*type->AsConstant()->Value())) { in Is2()
966 CHECK(type->Is(T.Range(type->AsConstant()->Value()->Number(), in Is2()
967 type->AsConstant()->Value()->Number()))); in Is2()
977 double x = type1->AsConstant()->Value()->Number(); in Is2()