Home
last modified time | relevance | path

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

/external/v8/src/
Dtype-cache.h63 Type* const kSafeInteger = CreateRange(-kMaxSafeInteger, kMaxSafeInteger);
68 Type* const kPositiveSafeInteger = CreateRange(0.0, kMaxSafeInteger);
Dglobals.h871 const double kMaxSafeInteger = 9007199254740991.0; // 2^53-1 variable
Dcode-stubs.cc3706 len_value, assembler->Float64Constant(kMaxSafeInteger)), in GenerateAssembly()
3727 assembler->Return(assembler->NumberConstant(kMaxSafeInteger)); in GenerateAssembly()
Dobjects.cc225 } else if (len >= kMaxSafeInteger) { in ToLength()
226 len = kMaxSafeInteger; in ToLength()
/external/v8/src/js/
Dv8natives.js370 return MathAbs(integral) <= kMaxSafeInteger;
Dmacros.py48 define kMaxSafeInteger = 9007199254740991;
Darray.js459 if (m > kMaxSafeInteger - n) throw MakeTypeError(kPushPastSafeLength, m, n);
/external/v8/src/compiler/
Djs-typed-lowering.cc838 } else if (input_type->Min() >= kMaxSafeInteger) { in ReduceJSToLength()
839 input = jsgraph()->Constant(kMaxSafeInteger); in ReduceJSToLength()
850 if (input_type->Max() > kMaxSafeInteger) { in ReduceJSToLength()
854 jsgraph()->Constant(kMaxSafeInteger), input), in ReduceJSToLength()
855 jsgraph()->Constant(kMaxSafeInteger), input); in ReduceJSToLength()
857 Type::Range(input_type->Min(), kMaxSafeInteger, graph()->zone()); in ReduceJSToLength()
Dtyper.cc423 if (max > kMaxSafeInteger) max = kMaxSafeInteger; in ToLength()