Searched refs:ToLength (Results 1 – 18 of 18) sorted by relevance
/external/v8/test/mjsunit/harmony/ |
D | 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/src/ |
D | code-factory.h | 73 static Callable ToLength(Isolate* isolate);
|
D | code-factory.cc | 172 Callable CodeFactory::ToLength(Isolate* isolate) { in ToLength() function in v8::internal::CodeFactory
|
D | interface-descriptors.h | 29 V(ToLength) \
|
D | code-stubs.h | 55 V(ToLength) \ 2939 DEFINE_CALL_INTERFACE_DESCRIPTOR(ToLength); 2940 DEFINE_PLATFORM_CODE_STUB(ToLength, PlatformCodeStub);
|
D | builtins.cc | 1011 Object::ToLength(isolate, val), false); in IterateElements()
|
D | objects.h | 1171 MUST_USE_RESULT static MaybeHandle<Object> ToLength(Isolate* isolate,
|
D | objects.cc | 201 MaybeHandle<Object> Object::ToLength(Isolate* isolate, Handle<Object> input) { in ToLength() function in v8::internal::Object 697 Object::ToLength(isolate, raw_length_obj), in CreateListFromArrayLike()
|
/external/v8/src/compiler/ |
D | typer.cc | 238 static Type* ToLength(Type*, Typer*); 421 Type* Typer::Visitor::ToLength(Type* type, Typer* t) { in ToLength() function in v8::internal::compiler::Typer::Visitor 1583 return TypeUnaryOp(node, ToLength); in TypeJSCallRuntime()
|
D | js-intrinsic-lowering.cc | 563 return Change(node, CodeFactory::ToLength(isolate()), 0); in ReduceToLength()
|
/external/v8/src/full-codegen/ |
D | full-codegen.h | 510 F(ToLength) \
|
D | full-codegen.cc | 524 EmitIntrinsicAsStubCall(expr, CodeFactory::ToLength(isolate())); in EmitToLength()
|
/external/v8/src/runtime/ |
D | runtime.h | 468 F(ToLength, 1, 1) \
|
D | runtime-object.cc | 1134 Object::ToLength(isolate, input)); in RUNTIME_FUNCTION()
|
/external/v8/test/mozilla/ |
D | mozilla.status | 90 # ES2015 ToLength semantics
|
/external/v8/src/crankshaft/ |
D | hydrogen.h | 2216 F(ToLength) \
|
D | hydrogen.cc | 12297 Callable callable = CodeFactory::ToLength(isolate()); in GenerateToLength()
|
/external/v8/ |
D | ChangeLog | 2475 Ship Harmony ToLength (issue 3087). 2777 Stage ES2015 ToLength semantics (issues 3087, 4244). 3321 Make RegExp use ToLength on lastIndex when flag is turned on (issue
|