Searched refs:kMaxSafeInteger (Results 1 – 9 of 9) sorted by relevance
/external/v8/src/ |
D | type-cache.h | 63 Type* const kSafeInteger = CreateRange(-kMaxSafeInteger, kMaxSafeInteger); 68 Type* const kPositiveSafeInteger = CreateRange(0.0, kMaxSafeInteger);
|
D | globals.h | 871 const double kMaxSafeInteger = 9007199254740991.0; // 2^53-1 variable
|
D | code-stubs.cc | 3706 len_value, assembler->Float64Constant(kMaxSafeInteger)), in GenerateAssembly() 3727 assembler->Return(assembler->NumberConstant(kMaxSafeInteger)); in GenerateAssembly()
|
D | objects.cc | 225 } else if (len >= kMaxSafeInteger) { in ToLength() 226 len = kMaxSafeInteger; in ToLength()
|
/external/v8/src/js/ |
D | v8natives.js | 370 return MathAbs(integral) <= kMaxSafeInteger;
|
D | macros.py | 48 define kMaxSafeInteger = 9007199254740991;
|
D | array.js | 459 if (m > kMaxSafeInteger - n) throw MakeTypeError(kPushPastSafeLength, m, n);
|
/external/v8/src/compiler/ |
D | js-typed-lowering.cc | 838 } 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()
|
D | typer.cc | 423 if (max > kMaxSafeInteger) max = kMaxSafeInteger; in ToLength()
|