/external/v8/src/ |
D | objects-debug.cc | 27 if (IsSmi()) { in ObjectVerify() 40 CHECK(p->IsSmi()); in VerifyPointer() 46 CHECK(IsSmi()); in SmiVerify() 358 if (r.IsSmi()) DCHECK(value->IsSmi()); in JSObjectVerify() 470 CHECK(next_link()->IsUndefined(GetIsolate()) || next_link()->IsSmi() || in TransitionArrayVerify() 500 CHECK(value()->IsUndefined(isolate) || value()->IsSmi() || in JSDateVerify() 502 CHECK(year()->IsUndefined(isolate) || year()->IsSmi() || year()->IsNaN()); in JSDateVerify() 503 CHECK(month()->IsUndefined(isolate) || month()->IsSmi() || month()->IsNaN()); in JSDateVerify() 504 CHECK(day()->IsUndefined(isolate) || day()->IsSmi() || day()->IsNaN()); in JSDateVerify() 505 CHECK(weekday()->IsUndefined(isolate) || weekday()->IsSmi() || in JSDateVerify() [all …]
|
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 | 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() 256 DCHECK(element->IsSmi() || element->IsString()); in AddElement()
|
D | objects-printer.cc | 31 if (IsSmi()) { in Print() 836 if (!year()->IsSmi()) { in JSDatePrint() 843 weekdays[weekday()->IsSmi() ? Smi::cast(weekday())->value() + 1 : 0], in JSDatePrint() 844 year()->IsSmi() ? Smi::cast(year())->value() : -1, in JSDatePrint() 845 month()->IsSmi() ? Smi::cast(month())->value() : -1, in JSDatePrint() 846 day()->IsSmi() ? Smi::cast(day())->value() : -1, in JSDatePrint() 847 hour()->IsSmi() ? Smi::cast(hour())->value() : -1, in JSDatePrint() 848 min()->IsSmi() ? Smi::cast(min())->value() : -1, in JSDatePrint() 849 sec()->IsSmi() ? Smi::cast(sec())->value() : -1); in JSDatePrint() 1388 if (transition_info()->IsSmi()) { in AllocationSitePrint() [all …]
|
D | property-details.h | 175 bool IsSmi() const { return kind_ == kSmi; } in IsSmi() function 176 bool IsSmiOrTagged() const { return IsSmi() || IsTagged(); } in IsSmiOrTagged() 178 bool IsSmiOrInteger32() const { return IsSmi() || IsInteger32(); } in IsSmiOrInteger32() 185 IsSmi() || IsInteger32() || IsDouble(); in IsSpecialization()
|
D | conversions-inl.h | 156 if (number->IsSmi()) return Smi::cast(number)->value(); in NumberToInt32() 161 if (number->IsSmi()) return Smi::cast(number)->value(); in NumberToUint32() 166 if (number->IsSmi()) { in PositiveNumberToUint32() 181 if (number->IsSmi()) return Smi::cast(number)->value(); in NumberToInt64() 188 if (number->IsSmi()) { in TryNumberToSize()
|
D | isolate-inl.h | 81 (exception->IsNumber() || exception->IsSmi()); in is_catchable_by_wasm() 132 return species_cell->value()->IsSmi() && in NATIVE_CONTEXT_FIELDS()
|
D | api-arguments.h | 96 DCHECK(values[T::kIsolateIndex]->IsSmi()); in PropertyCallbackArguments() 179 DCHECK(values[T::kIsolateIndex]->IsSmi()); in FunctionCallbackArguments()
|
D | context-measure.cc | 73 if ((*current)->IsSmi()) continue; in VisitPointers()
|
/external/v8/src/runtime/ |
D | runtime-utils.h | 39 CHECK(args[index]->IsSmi()); \ 67 CHECK(args[index]->IsSmi()); \ 98 CHECK(args[index]->IsSmi()); \
|
D | runtime-numbers.cc | 111 if (obj->IsSmi()) { in RUNTIME_FUNCTION() 212 return isolate->heap()->ToBoolean(obj->IsSmi()); in RUNTIME_FUNCTION()
|
D | runtime-wasm.cc | 113 DCHECK(JSReceiver::GetDataProperty(&it)->IsSmi()); in ThrowRuntimeError() 185 CHECK(arg_buffer_obj->IsSmi()); in RUNTIME_FUNCTION()
|
D | runtime-array.cc | 25 CHECK(length->IsSmi()); in RUNTIME_FUNCTION() 169 DCHECK(array->length()->IsSmi()); in RUNTIME_FUNCTION() 275 if (argument_one->IsSmi()) { in ArrayConstructorCommon() 483 if (V8_LIKELY(from_index->IsSmi())) { in RUNTIME_FUNCTION()
|
/external/v8/src/crankshaft/ |
D | hydrogen-representation-changes.cc | 57 return from_rep.IsInteger32() && to_rep.IsSmi() && SmiValuesAre32Bits(); in IsNonDeoptingIntToSmiChange() 134 } else if (phi->representation().IsSmi()) { in Run() 164 } else if (phi->representation().IsSmi() && in Run() 214 input->representation().IsSmi() && in Run()
|
D | hydrogen-canonicalize.cc | 28 } else if (instr->representation().IsSmi()) { in Run()
|
D | hydrogen-instructions.cc | 87 if (representation().IsSmi() && HasNonSmiUse()) { in InferRepresentation() 148 if (r.IsSmi()) { in ConvertAndSetOverflow() 971 if (index_rep.IsTagged() && actual_index->type().IsSmi()) { in InferRepresentation() 974 if (length_rep.IsTagged() && actual_length->type().IsSmi()) { in InferRepresentation() 997 if (r.IsSmi()) result->ClampToSmi(); in InferRange() 1178 if (r.IsSmi()) result->ClampToSmi(); in InferRange() 1677 if (representation().IsSmi() || type().IsSmi()) { in InferRange() 1693 (to().IsSmi() || in InferRange() 1716 if (to().IsSmi()) result->ClampToSmi(); in InferRange() 1738 Range* range = r.IsSmi() in InferRange() [all …]
|
/external/v8/src/ast/ |
D | ast-value-factory.h | 169 bool IsNumber() const { return IsSmi() || IsHeapNumber(); } in IsNumber() 187 if (IsSmi()) return smi_; in AsNumber() 193 CHECK(IsSmi()); in AsSmi() 198 if (IsSmi()) { in ToUint32() 218 bool IsSmi() const { return type_ == SMI || type_ == SMI_WITH_DOT; } in IsSmi() function
|
/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 | 795 LInstruction* result = instr->representation().IsSmi() ? in DoAdd() 885 return instr->representation().IsSmi() ? in DoBitwise() 921 if (r.IsInteger32() || r.IsSmi() || r.IsDouble()) { in DoBranch() 926 if (type.IsBoolean() || type.IsSmi() || type.IsJSArray() || in DoBranch() 1032 if (from.IsSmi()) { in DoChange() 1045 if (!val->representation().IsSmi()) result = AssignEnvironment(result); in DoChange() 1047 } else if (to.IsSmi()) { in DoChange() 1049 if (val->type().IsSmi()) { in DoChange() 1055 if (val->type().IsSmi() || val->representation().IsSmi()) { in DoChange() 1065 if (!val->representation().IsSmi()) result = AssignEnvironment(result); in DoChange() [all …]
|
/external/v8/src/ic/ |
D | ic-state.cc | 294 } else if (object->IsSmi()) { in UpdateKind() 415 if (value->IsSmi()) return SMI; in NewInputState() 428 if (value->IsSmi()) return SMI; in NewInputState() 468 if (x->IsSmi() && y->IsSmi()) return SMI; in TargetState()
|
/external/v8/src/crankshaft/s390/ |
D | lithium-codegen-s390.cc | 424 if (IsSmi(const_op)) { in EmitLoadIntegerConstant() 446 bool LCodeGen::IsSmi(LConstantOperand* op) const { in IsSmi() function in v8::internal::LCodeGen 447 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi() 479 if (r.IsSmi()) { in ToOperand() 1356 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() 1376 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() 1429 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() 1440 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() 1450 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() 1455 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() [all …]
|
/external/v8/src/crankshaft/x64/ |
D | lithium-x64.cc | 662 if (SmiValuesAre31Bits() && instr->representation().IsSmi() && in DoShift() 905 bool easy_case = !r.IsTagged() || type.IsBoolean() || type.IsSmi() || in DoBranch() 1238 if (SmiValuesAre32Bits() && instr->representation().IsSmi()) { in DoBitwise() 1494 if (SmiValuesAre32Bits() && instr->representation().IsSmi()) { in DoSub() 1526 if (SmiValuesAre32Bits() && instr->representation().IsSmi()) { in DoAdd() 1570 if (instr->representation().IsSmi()) { in DoMathMinMax() 1773 if (from.IsSmi()) { in DoChange() 1784 if (!val->representation().IsSmi()) result = AssignEnvironment(result); in DoChange() 1786 } else if (to.IsSmi()) { in DoChange() 1788 if (val->type().IsSmi()) { in DoChange() [all …]
|
D | lithium-codegen-x64.cc | 450 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmiConstant() 1275 if (instr->hydrogen_value()->representation().IsSmi()) { in DoMulI() 1326 if (instr->hydrogen_value()->representation().IsSmi()) { in DoMulI() 1333 if (instr->hydrogen_value()->representation().IsSmi()) { in DoMulI() 1348 if (instr->hydrogen_value()->representation().IsSmi()) { in DoMulI() 1358 ? !instr->hydrogen_value()->representation().IsSmi() in DoMulI() 1367 if (instr->hydrogen_value()->representation().IsSmi()) { in DoMulI() 1375 if (instr->hydrogen_value()->representation().IsSmi()) { in DoMulI() 1527 if (instr->hydrogen_value()->representation().IsSmi()) { in DoShiftI() 1566 if (instr->hydrogen_value()->representation().IsSmi()) { in DoSubI() [all …]
|
/external/v8/src/crankshaft/ppc/ |
D | lithium-codegen-ppc.cc | 441 if (IsSmi(const_op)) { in EmitLoadIntegerConstant() 467 bool LCodeGen::IsSmi(LConstantOperand* op) const { in IsSmi() function in v8::internal::LCodeGen 468 return chunk_->LookupLiteralRepresentation(op).IsSmi(); in IsSmi() 505 if (r.IsSmi()) { in ToOperand() 1404 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() 1426 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() 1479 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() 1488 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() 1493 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() 1505 if (instr->hydrogen()->representation().IsSmi()) { in DoMulI() [all …]
|
/external/v8/src/crankshaft/mips64/ |
D | lithium-mips64.cc | 646 if (instr->representation().IsSmi() && constant_value > 0) { in DoShift() 883 bool easy_case = !r.IsTagged() || type.IsBoolean() || type.IsSmi() || in DoBranch() 1446 instr->representation().IsSmi() in DoMul() 1487 instr->representation().IsSmi() in DoSub() 1518 instr->representation().IsSmi() in DoAdd() 1737 if (from.IsSmi()) { in DoChange() 1748 if (!val->representation().IsSmi()) result = AssignEnvironment(result); in DoChange() 1750 } else if (to.IsSmi()) { in DoChange() 1752 if (val->type().IsSmi()) { in DoChange() 1758 if (val->type().IsSmi() || val->representation().IsSmi()) { in DoChange() [all …]
|