/external/v8/test/mjsunit/harmony/ |
to-length.js | 7 assertEquals(0, %ToLength(NaN)); 10 assertEquals(0, %ToLength(-Infinity)); 13 assertEquals(0, %ToLength(0)); 16 assertEquals(0, %ToLength(.5)); 19 assertEquals(42, %ToLength(42.99999)); 22 assertEquals(9007199254740991, %ToLength(9007199254740991)); 25 assertEquals(9007199254740991, %ToLength(Infinity)); 28 assertEquals(0, %ToLength(null)); 31 assertEquals(1, %ToLength(true)); 34 assertEquals(0, %ToLength(false)) [all...] |
/external/v8/test/mjsunit/es6/ |
typedarray-set-length.js | 24 // ToLength should convert these to usable lengths. 36 // This will fail if you use ToLength on it.
|
array-copywithin.js | 297 // 2^53 - 1 is the maximum value returned from ToLength()
|
/external/v8/src/ |
code-factory.h | 73 static Callable ToLength(Isolate* isolate);
|
code-factory.cc | 172 Callable CodeFactory::ToLength(Isolate* isolate) {
|
interface-descriptors.h | 29 V(ToLength) \
|
code-stubs.h | 55 V(ToLength) \ [all...] |
builtins.cc | [all...] |
objects.h | [all...] |
objects.cc | 201 MaybeHandle<Object> Object::ToLength(Isolate* isolate, Handle<Object> input) { 689 // 4. Let len be ? ToLength(? Get(obj, "length")). 697 Object::ToLength(isolate, raw_length_obj), [all...] |
/external/v8/src/js/ |
runtime.js | 96 // argument might not be less than 2**32-1. ES2015 ToLength semantics mean that
|
/external/v8/test/mjsunit/es7/ |
array-includes.js | 154 // Array.prototype.includes should terminate if ToLength ends up being called on
|
/external/v8/src/compiler/ |
js-intrinsic-lowering.cc | 563 return Change(node, CodeFactory::ToLength(isolate()), 0);
|
typer.cc | 238 static Type* ToLength(Type*, Typer*); 421 Type* Typer::Visitor::ToLength(Type* type, Typer* t) { 422 // ES6 section 7.1.15 ToLength ( argument ) [all...] |
/external/v8/src/full-codegen/ |
full-codegen.h | 510 F(ToLength) \ [all...] |
full-codegen.cc | 524 EmitIntrinsicAsStubCall(expr, CodeFactory::ToLength(isolate())); [all...] |
/external/v8/src/runtime/ |
runtime.h | 468 F(ToLength, 1, 1) \ [all...] |
runtime-object.cc | [all...] |