/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/interpreter/ |
D | interpreter-intrinsics.h | 44 V(ToLength, to_length, 1) \
|
D | interpreter-intrinsics.cc | 280 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/ |
D | code-factory.h | 76 static Callable ToLength(Isolate* isolate);
|
D | code-factory.cc | 187 Callable CodeFactory::ToLength(Isolate* isolate) { in ToLength() function in v8::internal::CodeFactory
|
D | code-stubs.h | 138 V(ToLength) \ 956 DEFINE_TURBOFAN_CODE_STUB(ToLength, TurboFanCodeStub);
|
D | builtins.cc | 3138 isolate, view_byte_length, Object::ToLength(isolate, byte_length)); in BUILTIN()
|
D | objects.h | 1178 MUST_USE_RESULT static MaybeHandle<Object> ToLength(Isolate* isolate,
|
D | objects.cc | 220 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/ |
D | js-operator.h | 410 const Operator* ToLength();
|
D | js-intrinsic-lowering.cc | 384 NodeProperties::ChangeOp(node, javascript()->ToLength()); in ReduceToLength()
|
D | typer.cc | 241 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()
|
D | js-operator.cc | 408 V(ToLength, Operator::kNoProperties, 1, 1) \
|
D | js-generic-lowering.cc | 84 REPLACE_STUB_CALL(ToLength)
|
/external/v8/src/full-codegen/ |
D | full-codegen.h | 529 F(ToLength) \
|
D | full-codegen.cc | 589 EmitIntrinsicAsStubCall(expr, CodeFactory::ToLength(isolate())); in EmitToLength()
|
/external/v8/src/runtime/ |
D | runtime-object.cc | 835 RETURN_RESULT_OR_FAILURE(isolate, Object::ToLength(isolate, input)); in RUNTIME_FUNCTION()
|
D | runtime.h | 422 F(ToLength, 1, 1) \
|
D | runtime-simd.cc | 886 isolate, length_object, Object::ToLength(isolate, args.at<Object>(i))); \
|
/external/v8/test/mozilla/ |
D | mozilla.status | 93 # ES2015 ToLength semantics
|
/external/v8/src/crankshaft/ |
D | hydrogen.h | 2274 F(ToLength) \
|
D | hydrogen.cc | 12571 Callable callable = CodeFactory::ToLength(isolate()); in GenerateToLength()
|
/external/v8/ |
D | ChangeLog | 7336 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
|