/external/v8/src/ |
D | objects-debug.cc | 20 if (IsSmi()) { in ObjectVerify() 33 CHECK(p->IsSmi()); in VerifyPointer() 39 CHECK(IsSmi()); in SmiVerify() 299 if (r.IsSmi()) DCHECK(value->IsSmi()); in JSObjectVerify() 425 CHECK(next_link()->IsUndefined() || next_link()->IsSmi() || in TransitionArrayVerify() 462 CHECK(value()->IsUndefined() || value()->IsSmi() || value()->IsHeapNumber()); in JSDateVerify() 463 CHECK(year()->IsUndefined() || year()->IsSmi() || year()->IsNaN()); in JSDateVerify() 464 CHECK(month()->IsUndefined() || month()->IsSmi() || month()->IsNaN()); in JSDateVerify() 465 CHECK(day()->IsUndefined() || day()->IsSmi() || day()->IsNaN()); in JSDateVerify() 466 CHECK(weekday()->IsUndefined() || weekday()->IsSmi() || weekday()->IsNaN()); in JSDateVerify() [all …]
|
D | string-builder.h | 36 if (element->IsSmi()) { in StringBuilderConcatHelper() 48 DCHECK(obj->IsSmi()); in StringBuilderConcatHelper() 74 if (elt->IsSmi()) { in StringBuilderConcatLength() 90 if (!next_smi->IsSmi()) return -1; in StringBuilderConcatLength() 157 DCHECK(!value->IsSmi()); in Add() 165 DCHECK(value->IsSmi()); in Add() 257 DCHECK(element->IsSmi() || element->IsString()); in AddElement()
|
D | layout-descriptor-inl.h | 51 CHECK((!IsSmi() && (*layout_word_index < length())) || in GetIndexes() 52 (IsSmi() && (*layout_word_index < 1))); in GetIndexes() 127 bool LayoutDescriptor::IsSlowLayout() { return !IsSmi(); } in IsSlowLayout() 136 if (object->IsSmi()) { in cast_gc_safe()
|
D | property-details.h | 176 bool IsSmi() const { return kind_ == kSmi; } in IsSmi() function 177 bool IsSmiOrTagged() const { return IsSmi() || IsTagged(); } in IsSmiOrTagged() 179 bool IsSmiOrInteger32() const { return IsSmi() || IsInteger32(); } in IsSmiOrInteger32() 186 IsSmi() || IsInteger32() || IsDouble(); in IsSpecialization()
|
D | objects-printer.cc | 27 if (IsSmi()) { in Print() 718 if (!year()->IsSmi()) { in JSDatePrint() 725 weekdays[weekday()->IsSmi() ? Smi::cast(weekday())->value() + 1 : 0], in JSDatePrint() 726 year()->IsSmi() ? Smi::cast(year())->value() : -1, in JSDatePrint() 727 month()->IsSmi() ? Smi::cast(month())->value() : -1, in JSDatePrint() 728 day()->IsSmi() ? Smi::cast(day())->value() : -1, in JSDatePrint() 729 hour()->IsSmi() ? Smi::cast(hour())->value() : -1, in JSDatePrint() 730 min()->IsSmi() ? Smi::cast(min())->value() : -1, in JSDatePrint() 731 sec()->IsSmi() ? Smi::cast(sec())->value() : -1); in JSDatePrint() 1091 if (transition_info()->IsSmi()) { in AllocationSitePrint() [all …]
|
D | json-stringifier.h | 251 if (key->IsSmi()) key = factory()->NumberToString(key); in ApplyToJsonFunction() 306 if (object->IsSmi()) { in Serialize_() 371 if (key->IsSmi()) key = factory()->NumberToString(key); in SerializeGeneric() 392 if (value->IsSmi()) return SerializeSmi(Smi::cast(*value)); in SerializeJSValue() 583 if (key->IsSmi()) { in SerializeJSObject()
|
D | context-measure.cc | 73 if ((*current)->IsSmi()) continue; in VisitPointers()
|
D | conversions-inl.h | 120 if (number->IsSmi()) return Smi::cast(number)->value(); in NumberToInt32() 126 if (number->IsSmi()) return Smi::cast(number)->value(); in NumberToUint32() 133 if (number->IsSmi()) { in TryNumberToSize()
|
D | arguments.h | 172 DCHECK(values[T::kIsolateIndex]->IsSmi()); in PropertyCallbackArguments() 245 DCHECK(values[T::kIsolateIndex]->IsSmi()); in FunctionCallbackArguments()
|
/external/v8/src/runtime/ |
D | runtime-utils.h | 48 RUNTIME_ASSERT(args[index]->IsSmi()); \ 81 RUNTIME_ASSERT(args[index]->IsSmi()); \ 88 RUNTIME_ASSERT(args[index]->IsSmi()); \ 106 RUNTIME_ASSERT(args[index]->IsSmi()); \
|
D | runtime-numbers.cc | 23 if (args[0]->IsSmi()) { in RUNTIME_FUNCTION() 197 if (obj->IsSmi()) { in RUNTIME_FUNCTION() 311 return isolate->heap()->ToBoolean(obj->IsSmi()); in RUNTIME_FUNCTION()
|
D | runtime-array.cc | 24 RUNTIME_ASSERT(length->IsSmi() && Smi::cast(length)->value() == 0); in RUNTIME_FUNCTION() 164 DCHECK(array->length()->IsSmi()); in RUNTIME_FUNCTION() 257 if (argument_one->IsSmi()) { in ArrayConstructorCommon()
|
D | runtime-maths.cc | 147 if (args[1]->IsSmi()) { in RUNTIME_FUNCTION() 185 DCHECK(input->IsSmi()); in RUNTIME_FUNCTION()
|
/external/v8/src/crankshaft/ |
D | hydrogen-representation-changes.cc | 59 return from_rep.IsInteger32() && to_rep.IsSmi() && SmiValuesAre32Bits(); in IsNonDeoptingIntToSmiChange() 131 } else if (phi->representation().IsSmi()) { in Run() 150 if (phi->representation().IsSmi() && in Run() 183 input->representation().IsSmi() && in Run()
|
D | hydrogen-canonicalize.cc | 26 } else if (instr->representation().IsSmi()) { in Run()
|
/external/v8/test/cctest/ |
D | test-transitions.cc | 62 CHECK(map0->raw_transitions()->IsSmi()); in TEST() 113 CHECK(map0->raw_transitions()->IsSmi()); in TEST() 156 CHECK(map0->raw_transitions()->IsSmi()); in TEST() 200 CHECK(map0->raw_transitions()->IsSmi()); in TEST() 247 CHECK(map0->raw_transitions()->IsSmi()); in TEST()
|
D | test-dictionary.cc | 85 CHECK(key->GetIdentityHash()->IsSmi()); in TestHashMap() 92 CHECK(JSReceiver::GetOrCreateIdentityHash(key)->IsSmi()); in TestHashMap() 95 CHECK(key->GetIdentityHash()->IsSmi()); in TestHashMap()
|
/external/v8/src/crankshaft/arm64/ |
D | lithium-gap-resolver-arm64.cc | 230 if (cgen_->IsSmi(constant_source)) { in EmitMove() 243 if (cgen_->IsSmi(constant_source)) { in EmitMove() 253 if (handle->IsSmi()) { in EmitMove()
|
D | lithium-arm64.cc | 864 LInstruction* result = instr->representation().IsSmi() ? in DoAdd() 948 return instr->representation().IsSmi() ? in DoBitwise() 984 if (r.IsInteger32() || r.IsSmi() || r.IsDouble()) { in DoBranch() 989 if (type.IsBoolean() || type.IsSmi() || type.IsJSArray() || in DoBranch() 1105 if (from.IsSmi()) { in DoChange() 1118 if (!val->representation().IsSmi()) result = AssignEnvironment(result); in DoChange() 1120 } else if (to.IsSmi()) { in DoChange() 1122 if (val->type().IsSmi()) { in DoChange() 1128 if (val->type().IsSmi() || val->representation().IsSmi()) { in DoChange() 1138 if (!val->representation().IsSmi()) result = AssignEnvironment(result); in DoChange() [all …]
|
/external/v8/src/ic/ |
D | ic-state.cc | 282 } else if (object->IsSmi()) { in UpdateKind() 404 if (value->IsSmi()) return SMI; in NewInputState() 415 if (value->IsSmi()) return SMI; in NewInputState() 452 if (x->IsSmi() && y->IsSmi()) return SMI; in TargetState()
|
/external/v8/src/crankshaft/ppc/ |
D | lithium-codegen-ppc.cc | 429 if (IsSmi(const_op)) { in EmitLoadIntegerConstant() 455 bool LCodeGen::IsSmi(LConstantOperand* op) const { in IsSmi() function in v8::internal::LCodeGen 456 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi() 493 if (r.IsSmi()) { in ToOperand() 1422 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() 1444 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() 1497 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() 1506 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() 1511 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() 1523 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() [all …]
|
/external/v8/src/crankshaft/x64/ |
D | lithium-codegen-x64.cc | 460 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmiConstant() 1321 if (instr->hydrogen_value()->representation().IsSmi()) { in DoMulI() 1372 if (instr->hydrogen_value()->representation().IsSmi()) { in DoMulI() 1379 if (instr->hydrogen_value()->representation().IsSmi()) { in DoMulI() 1394 if (instr->hydrogen_value()->representation().IsSmi()) { in DoMulI() 1404 ? !instr->hydrogen_value()->representation().IsSmi() in DoMulI() 1413 if (instr->hydrogen_value()->representation().IsSmi()) { in DoMulI() 1421 if (instr->hydrogen_value()->representation().IsSmi()) { in DoMulI() 1573 if (instr->hydrogen_value()->representation().IsSmi()) { in DoShiftI() 1612 if (instr->hydrogen_value()->representation().IsSmi()) { in DoSubI() [all …]
|
D | lithium-x64.cc | 711 if (SmiValuesAre31Bits() && instr->representation().IsSmi() && in DoShift() 960 bool easy_case = !r.IsTagged() || type.IsBoolean() || type.IsSmi() || in DoBranch() 1287 if (SmiValuesAre32Bits() && instr->representation().IsSmi()) { in DoBitwise() 1535 if (SmiValuesAre32Bits() && instr->representation().IsSmi()) { in DoSub() 1567 if (SmiValuesAre32Bits() && instr->representation().IsSmi()) { in DoAdd() 1611 if (instr->representation().IsSmi()) { in DoMathMinMax() 1852 if (from.IsSmi()) { in DoChange() 1863 if (!val->representation().IsSmi()) result = AssignEnvironment(result); in DoChange() 1865 } else if (to.IsSmi()) { in DoChange() 1867 if (val->type().IsSmi()) { in DoChange() [all …]
|
/external/v8/src/crankshaft/mips64/ |
D | lithium-mips64.cc | 698 if (instr->representation().IsSmi() && constant_value > 0) { in DoShift() 941 bool easy_case = !r.IsTagged() || type.IsBoolean() || type.IsSmi() || in DoBranch() 1514 instr->representation().IsSmi() in DoMul() 1555 instr->representation().IsSmi() in DoSub() 1586 instr->representation().IsSmi() in DoAdd() 1844 if (from.IsSmi()) { in DoChange() 1855 if (!val->representation().IsSmi()) result = AssignEnvironment(result); in DoChange() 1857 } else if (to.IsSmi()) { in DoChange() 1859 if (val->type().IsSmi()) { in DoChange() 1865 if (val->type().IsSmi() || val->representation().IsSmi()) { in DoChange() [all …]
|
D | lithium-gap-resolver-mips64.cc | 230 if (cgen_->IsSmi(constant_source)) { in EmitMove() 244 if (cgen_->IsSmi(constant_source)) { in EmitMove()
|