Home
last modified time | relevance | path

Searched refs:ToLength (Results 1 – 23 of 23) 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/interpreter/
Dinterpreter-intrinsics.h44 V(ToLength, to_length, 1) \
Dinterpreter-intrinsics.cc280 Node* IntrinsicsHelper::ToLength(Node* input, Node* arg_count, Node* context) { in ToLength() function in v8::internal::interpreter::IntrinsicsHelper
281 return IntrinsicAsStubCall(input, context, CodeFactory::ToLength(isolate())); in ToLength()
/external/v8/src/
Dcode-factory.h76 static Callable ToLength(Isolate* isolate);
Dcode-factory.cc187 Callable CodeFactory::ToLength(Isolate* isolate) { in ToLength() function in v8::internal::CodeFactory
Dcode-stubs.h138 V(ToLength) \
956 DEFINE_TURBOFAN_CODE_STUB(ToLength, TurboFanCodeStub);
Dbuiltins.cc3138 isolate, view_byte_length, Object::ToLength(isolate, byte_length)); in BUILTIN()
Dobjects.h1178 MUST_USE_RESULT static MaybeHandle<Object> ToLength(Isolate* isolate,
Dobjects.cc220 MaybeHandle<Object> Object::ToLength(Isolate* isolate, Handle<Object> input) { in ToLength() function in v8::internal::Object
762 return Object::ToLength(isolate, val); in GetLengthFromArrayLike()
/external/v8/src/compiler/
Djs-operator.h410 const Operator* ToLength();
Djs-intrinsic-lowering.cc384 NodeProperties::ChangeOp(node, javascript()->ToLength()); in ReduceToLength()
Dtyper.cc241 static Type* ToLength(Type*, Typer*);
417 Type* Typer::Visitor::ToLength(Type* type, Typer* t) { in ToLength() function in v8::internal::compiler::Typer::Visitor
1103 return TypeUnaryOp(node, ToLength); in TypeJSToLength()
1455 return TypeUnaryOp(node, ToLength); in TypeJSCallRuntime()
Djs-operator.cc408 V(ToLength, Operator::kNoProperties, 1, 1) \
Djs-generic-lowering.cc84 REPLACE_STUB_CALL(ToLength)
/external/v8/src/full-codegen/
Dfull-codegen.h529 F(ToLength) \
Dfull-codegen.cc589 EmitIntrinsicAsStubCall(expr, CodeFactory::ToLength(isolate())); in EmitToLength()
/external/v8/src/runtime/
Druntime-object.cc835 RETURN_RESULT_OR_FAILURE(isolate, Object::ToLength(isolate, input)); in RUNTIME_FUNCTION()
Druntime.h422 F(ToLength, 1, 1) \
Druntime-simd.cc886 isolate, length_object, Object::ToLength(isolate, args.at<Object>(i))); \
/external/v8/test/mozilla/
Dmozilla.status93 # ES2015 ToLength semantics
/external/v8/src/crankshaft/
Dhydrogen.h2274 F(ToLength) \
Dhydrogen.cc12571 Callable callable = CodeFactory::ToLength(isolate()); in GenerateToLength()
/external/v8/
DChangeLog7336 Ship Harmony ToLength (issue 3087).
7638 Stage ES2015 ToLength semantics (issues 3087, 4244).
8182 Make RegExp use ToLength on lastIndex when flag is turned on (issue