/third_party/node/deps/v8/src/compiler/ |
D | type-cache.h | 85 Type const kSafeInteger = CreateRange(-kMaxSafeInteger, kMaxSafeInteger); 90 Type const kPositiveSafeInteger = CreateRange(0.0, kMaxSafeInteger);
|
D | typer.cc | 501 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()
|
D | js-typed-lowering.cc | 975 } 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()
|
D | effect-control-linearizer.cc | 2599 __ 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()
|
D | verifier.cc | 641 CheckTypeIs(node, Type::Range(0, kMaxSafeInteger, zone)); in Check()
|
/third_party/node/deps/v8/src/builtins/ |
D | conversion.tq | 86 if (value > kMaxSafeInteger) return kMaxSafeInteger;
|
D | array-unshift.tq | 22 if (length + argCount > kMaxSafeInteger) {
|
D | base.tq | 468 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);
|
D | array-from.tq | 82 dcheck(k < kMaxSafeInteger);
|
D | builtins-array.cc | 157 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()
|
D | array-splice.tq | 405 if (newLength > kMaxSafeInteger) {
|
D | builtins-array-gen.cc | 1320 NumberConstant(kMaxSafeInteger)); in TF_BUILTIN() 1502 target_index, NumberConstant(kMaxSafeInteger), &throw_error); in FlattenIntoArray()
|
/third_party/node/deps/v8/src/numbers/ |
D | conversions-inl.h | 117 if ((std::isfinite(x)) && (x <= kMaxSafeInteger) && (x >= kMinSafeInteger)) { in DoubleToWebIDLInt64()
|
/third_party/node/deps/v8/src/regexp/ |
D | regexp-utils.cc | 173 DCHECK_LE(static_cast<double>(index), kMaxSafeInteger); in AdvanceStringIndex()
|
/third_party/node/deps/v8/src/objects/ |
D | js-array-buffer.h | 34 static constexpr size_t kMaxByteLength = kMaxSafeInteger;
|
D | js-array.tq | 24 // kMaxSafeInteger, and the latter value is used to mark
|
D | objects-inl.h | 986 std::min(kMaxSafeInteger, in ToIntegerIndex()
|
D | objects.cc | 627 } 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/ |
D | globals.h | 1223 constexpr double kMaxSafeInteger = static_cast<double>(kMaxSafeIntegerUint64); variable 1225 constexpr double kMinSafeInteger = -kMaxSafeInteger;
|
/third_party/node/deps/v8/src/diagnostics/ |
D | objects-printer.cc | 2510 static constexpr int64_t kMaxSafeInteger = -(kMinSafeInteger + 1); in HeapNumberShortPrint() local 2515 val <= static_cast<double>(kMaxSafeInteger)) { in HeapNumberShortPrint()
|
D | objects-debug.cc | 1293 CHECK_LE(next_index().Number(), kMaxSafeInteger); in JSArrayIteratorVerify()
|
/third_party/node/deps/v8/src/ic/ |
D | ic.cc | 1451 if (!(num >= -kMaxSafeInteger)) return kBailout; in TryConvertKey() 1452 if (num > kMaxSafeInteger) return kBailout; in TryConvertKey()
|
/third_party/node/deps/v8/src/heap/ |
D | factory.cc | 3356 } else if (value <= kMaxSafeInteger) { in SizeToString()
|
/third_party/node/deps/v8/src/init/ |
D | bootstrapper.cc | 1975 factory->NewNumber(kMaxSafeInteger)); in InitializeGlobal()
|
/third_party/node/deps/v8/src/codegen/ |
D | code-stub-assembler.cc | 6961 Float64Constant(kMaxSafeInteger)); in IsSafeInteger() 10648 GotoIfNot(IsInRange(int_value, static_cast<intptr_t>(-kMaxSafeInteger), in TryToIntptr()
|