Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/compiler/
Dtype-cache.h85 Type const kSafeInteger = CreateRange(-kMaxSafeInteger, kMaxSafeInteger);
90 Type const kPositiveSafeInteger = CreateRange(0.0, kMaxSafeInteger);
Dtyper.cc501 if (min >= kMaxSafeInteger) { in ToLength()
502 return Type::Constant(kMaxSafeInteger, t->zone()); in ToLength()
505 if (max >= kMaxSafeInteger) max = kMaxSafeInteger; in ToLength()
1700 return Type::Range(-1, kMaxSafeInteger, t->zone()); in JSCallTyper()
1706 return Type::Range(-1, kMaxSafeInteger, t->zone()); in JSCallTyper()
1710 return Type::Range(-1, kMaxSafeInteger, t->zone()); in JSCallTyper()
Djs-typed-lowering.cc975 } else if (input_type.Min() >= kMaxSafeInteger) { in ReduceJSToLength()
976 input = jsgraph()->Constant(kMaxSafeInteger); in ReduceJSToLength()
982 if (input_type.Max() > kMaxSafeInteger) { in ReduceJSToLength()
984 jsgraph()->Constant(kMaxSafeInteger), input); in ReduceJSToLength()
Deffect-control-linearizer.cc2599 __ IntLessThan(value64, __ Int64Constant(kMaxSafeInteger)); in BuildCheckedFloat64ToIndex()
2603 __ IntLessThan(__ Int64Constant(-kMaxSafeInteger), value64); in BuildCheckedFloat64ToIndex()
3247 __ Float64Abs(trunc), __ Float64Constant(kMaxSafeInteger)); in LowerNumberIsSafeInteger()
3276 __ Float64Abs(trunc), __ Float64Constant(kMaxSafeInteger)); in LowerObjectIsSafeInteger()
Dverifier.cc641 CheckTypeIs(node, Type::Range(0, kMaxSafeInteger, zone)); in Check()
/third_party/node/deps/v8/src/builtins/
Dconversion.tq86 if (value > kMaxSafeInteger) return kMaxSafeInteger;
Darray-unshift.tq22 if (length + argCount > kMaxSafeInteger) {
Dbase.tq468 const kMaxSafeInteger: constexpr float64 generates 'kMaxSafeInteger';
1464 // friendly way where index1 and index2 are in [0, kMaxSafeInteger] range.
1474 // Uintptr range is "smaller" than [0, kMaxSafeInteger] range, so
1506 // Positive Smi values definitely fit into both [0, kMaxSafeInteger] and
1525 if (valueDouble > kMaxSafeInteger) goto IfSafeIntegerOverflow;
1527 dcheck(valueDouble <= kMaxSafeInteger);
1575 // the result is bigger than min(kMaxUIntPtr, kMaxSafeInteger).
1680 dcheck(lengthDouble <= kMaxSafeInteger);
1723 dcheck(maxIndexDouble <= kMaxSafeInteger);
Darray-from.tq82 dcheck(k < kMaxSafeInteger);
Dbuiltins-array.cc157 DCHECK(0 <= length && length <= kMaxSafeInteger); in GetLengthProperty()
327 if (arg_count > kMaxSafeInteger - length) { in GenericArrayPush()
1084 if (visitor->index_offset() + val->Number() > kMaxSafeInteger) { in IterateElements()
Darray-splice.tq405 if (newLength > kMaxSafeInteger) {
Dbuiltins-array-gen.cc1320 NumberConstant(kMaxSafeInteger)); in TF_BUILTIN()
1502 target_index, NumberConstant(kMaxSafeInteger), &throw_error); in FlattenIntoArray()
/third_party/node/deps/v8/src/numbers/
Dconversions-inl.h117 if ((std::isfinite(x)) && (x <= kMaxSafeInteger) && (x >= kMinSafeInteger)) { in DoubleToWebIDLInt64()
/third_party/node/deps/v8/src/regexp/
Dregexp-utils.cc173 DCHECK_LE(static_cast<double>(index), kMaxSafeInteger); in AdvanceStringIndex()
/third_party/node/deps/v8/src/objects/
Djs-array-buffer.h34 static constexpr size_t kMaxByteLength = kMaxSafeInteger;
Djs-array.tq24 // kMaxSafeInteger, and the latter value is used to mark
Dobjects-inl.h986 std::min(kMaxSafeInteger, in ToIntegerIndex()
Dobjects.cc627 } else if (len >= kMaxSafeInteger) { in ConvertToLength()
628 len = kMaxSafeInteger; in ConvertToLength()
642 if (len < 0.0 || len > kMaxSafeInteger) { in ConvertToIndex()
/third_party/node/deps/v8/src/common/
Dglobals.h1223 constexpr double kMaxSafeInteger = static_cast<double>(kMaxSafeIntegerUint64); variable
1225 constexpr double kMinSafeInteger = -kMaxSafeInteger;
/third_party/node/deps/v8/src/diagnostics/
Dobjects-printer.cc2510 static constexpr int64_t kMaxSafeInteger = -(kMinSafeInteger + 1); in HeapNumberShortPrint() local
2515 val <= static_cast<double>(kMaxSafeInteger)) { in HeapNumberShortPrint()
Dobjects-debug.cc1293 CHECK_LE(next_index().Number(), kMaxSafeInteger); in JSArrayIteratorVerify()
/third_party/node/deps/v8/src/ic/
Dic.cc1451 if (!(num >= -kMaxSafeInteger)) return kBailout; in TryConvertKey()
1452 if (num > kMaxSafeInteger) return kBailout; in TryConvertKey()
/third_party/node/deps/v8/src/heap/
Dfactory.cc3356 } else if (value <= kMaxSafeInteger) { in SizeToString()
/third_party/node/deps/v8/src/init/
Dbootstrapper.cc1975 factory->NewNumber(kMaxSafeInteger)); in InitializeGlobal()
/third_party/node/deps/v8/src/codegen/
Dcode-stub-assembler.cc6961 Float64Constant(kMaxSafeInteger)); in IsSafeInteger()
10648 GotoIfNot(IsInRange(int_value, static_cast<intptr_t>(-kMaxSafeInteger), in TryToIntptr()