Home
last modified time | relevance | path

Searched refs:ToLength (Results 1 – 18 of 18) sorted by relevance

/external/v8/test/mjsunit/harmony/
Dto-length.js7 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/
Dcode-factory.h73 static Callable ToLength(Isolate* isolate);
Dcode-factory.cc172 Callable CodeFactory::ToLength(Isolate* isolate) { in ToLength() function in v8::internal::CodeFactory
Dinterface-descriptors.h29 V(ToLength) \
Dcode-stubs.h55 V(ToLength) \
2939 DEFINE_CALL_INTERFACE_DESCRIPTOR(ToLength);
2940 DEFINE_PLATFORM_CODE_STUB(ToLength, PlatformCodeStub);
Dbuiltins.cc1011 Object::ToLength(isolate, val), false); in IterateElements()
Dobjects.h1171 MUST_USE_RESULT static MaybeHandle<Object> ToLength(Isolate* isolate,
Dobjects.cc201 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/
Dtyper.cc238 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()
Djs-intrinsic-lowering.cc563 return Change(node, CodeFactory::ToLength(isolate()), 0); in ReduceToLength()
/external/v8/src/full-codegen/
Dfull-codegen.h510 F(ToLength) \
Dfull-codegen.cc524 EmitIntrinsicAsStubCall(expr, CodeFactory::ToLength(isolate())); in EmitToLength()
/external/v8/src/runtime/
Druntime.h468 F(ToLength, 1, 1) \
Druntime-object.cc1134 Object::ToLength(isolate, input)); in RUNTIME_FUNCTION()
/external/v8/test/mozilla/
Dmozilla.status90 # ES2015 ToLength semantics
/external/v8/src/crankshaft/
Dhydrogen.h2216 F(ToLength) \
Dhydrogen.cc12297 Callable callable = CodeFactory::ToLength(isolate()); in GenerateToLength()
/external/v8/
DChangeLog2475 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