Home
last modified time | relevance | path

Searched refs:JSArray (Results 1 – 25 of 107) sorted by relevance

12345

/external/v8/src/debug/
Dliveedit.h78 MUST_USE_RESULT static MaybeHandle<JSArray> GatherCompileInfo(
82 static void ReplaceFunctionCode(Handle<JSArray> new_compile_info_array,
83 Handle<JSArray> shared_info_array);
85 static void FunctionSourceUpdated(Handle<JSArray> shared_info_array);
91 static void PatchFunctionPositions(Handle<JSArray> shared_info_array,
92 Handle<JSArray> position_change_array);
117 static Handle<JSArray> CheckAndDropActivations(
118 Handle<JSArray> old_shared_array, Handle<JSArray> new_shared_array,
140 static Handle<JSArray> CompareStrings(Handle<String> s1,
227 Handle<JSArray> array = factory->NewJSArray(S::kSize_); in Create()
[all …]
Dliveedit.cc327 Handle<JSArray> GetResult() { in GetResult()
348 Handle<JSArray> array_;
540 Handle<JSArray> GetResult() { in GetResult()
557 Handle<JSArray> LiveEdit::CompareStrings(Handle<String> s1, in CompareStrings()
602 static int GetArrayLength(Handle<JSArray> array) { in GetArrayLength()
750 Handle<JSArray> GetResult() { return result_; } in GetResult()
756 Handle<JSArray> scope_info_list = isolate()->factory()->NewJSArray(10); in SerializeFunctionScope()
797 Handle<JSArray> result_;
834 MaybeHandle<JSArray> LiveEdit::GatherCompileInfo(Handle<Script> script, in GatherCompileInfo()
895 return isolate->Throw<JSArray>(rethrow_exception); in GatherCompileInfo()
[all …]
/external/v8/src/
Delements.h70 virtual void SetLength(Handle<JSArray> holder, uint32_t new_length) = 0;
157 static Handle<JSArray> Concat(Isolate* isolate, Arguments* args,
160 virtual uint32_t Push(Handle<JSArray> receiver,
164 virtual uint32_t Unshift(Handle<JSArray> receiver,
168 virtual Handle<JSArray> Slice(Handle<JSObject> receiver,
172 virtual Handle<JSArray> Splice(Handle<JSArray> receiver,
177 virtual Handle<Object> Pop(Handle<JSArray> receiver,
180 virtual Handle<Object> Shift(Handle<JSArray> receiver,
216 Handle<JSArray> array,
Delements.cc482 Object* length_obj = Handle<JSArray>::cast(holder)->length(); in ValidateImpl()
516 static void TryTransitionResultArrayToPacked(Handle<JSArray> array) { in TryTransitionResultArrayToPacked()
600 uint32_t Push(Handle<JSArray> receiver, Handle<FixedArrayBase> backing_store, in Push()
606 static uint32_t PushImpl(Handle<JSArray> receiver, in PushImpl()
613 uint32_t Unshift(Handle<JSArray> receiver, in Unshift()
620 static uint32_t UnshiftImpl(Handle<JSArray> receiver, in UnshiftImpl()
627 Handle<JSArray> Slice(Handle<JSObject> receiver, in Slice()
634 static Handle<JSArray> SliceImpl(Handle<JSObject> receiver, in SliceImpl()
638 return Handle<JSArray>(); in SliceImpl()
641 Handle<JSArray> Splice(Handle<JSArray> receiver, in Splice()
[all …]
Dbuiltins.cc218 JSArray* receiver) { in IsJSArrayFastElementMovingAllowed()
224 isolate->is_initial_array_prototype(JSArray::cast(prototype)) && in IsJSArrayFastElementMovingAllowed()
241 Handle<JSArray> array = Handle<JSArray>::cast(receiver); in EnsureJSArrayWithWritableFastElements()
345 Handle<JSArray> array = Handle<JSArray>::cast(receiver); in BUILTIN()
351 JSArray::WouldChangeReadOnlyLength(array, len + push_size)) { in BUILTIN()
371 Handle<JSArray> array = Handle<JSArray>::cast(receiver); in BUILTIN()
377 if (JSArray::HasReadOnlyLength(array)) { in BUILTIN()
382 if (IsJSArrayFastElementMovingAllowed(isolate, JSArray::cast(*receiver))) { in BUILTIN()
390 JSArray::SetLength(array, new_length); in BUILTIN()
404 !IsJSArrayFastElementMovingAllowed(isolate, JSArray::cast(*receiver))) { in BUILTIN()
[all …]
Djson-stringifier.h82 INLINE(Result SerializeJSArray(Handle<JSArray> object));
85 Result SerializeJSArraySlow(Handle<JSArray> object, uint32_t start,
109 Handle<JSArray> stack_;
284 JSArray::SetLength(stack_, length + 1); in StackPush()
336 return SerializeJSArray(Handle<JSArray>::cast(object)); in Serialize_()
432 Handle<JSArray> object) { in SerializeJSArray()
499 Handle<JSArray> object, uint32_t start, uint32_t length) { in SerializeJSArraySlow()
Disolate.cc415 Handle<JSArray> result = factory()->NewJSArrayWithElements(elements); in CaptureSimpleStackTrace()
427 Handle<JSArray> stack_trace = CaptureCurrentStackTrace( in CaptureAndSetDetailedStackTrace()
450 Handle<JSArray> Isolate::GetDetailedStackTrace(Handle<JSObject> error_object) { in GetDetailedStackTrace()
454 if (stack_trace->IsJSArray()) return Handle<JSArray>::cast(stack_trace); in GetDetailedStackTrace()
456 if (!capture_stack_trace_for_uncaught_exceptions_) return Handle<JSArray>(); in GetDetailedStackTrace()
459 Handle<JSArray> detailed_stack_trace = in GetDetailedStackTrace()
604 Handle<JSArray> Isolate::GetDetailedFromSimpleStackTrace( in GetDetailedFromSimpleStackTrace()
608 if (!property->IsJSArray()) return Handle<JSArray>(); in GetDetailedFromSimpleStackTrace()
609 Handle<JSArray> simple_stack_trace = Handle<JSArray>::cast(property); in GetDetailedFromSimpleStackTrace()
621 Handle<JSArray> stack_trace = factory()->NewJSArray(frame_limit); in GetDetailedFromSimpleStackTrace()
[all …]
Dfactory.h399 Handle<JSArray> NewJSArray(ElementsKind elements_kind,
405 Handle<JSArray> NewJSArray(
411 Handle<JSArray> NewJSArray(
423 Handle<JSArray> NewJSArrayWithElements(Handle<FixedArrayBase> elements,
428 Handle<JSArray> NewJSArrayWithElements(
438 Handle<JSArray> array,
Dapi.h148 V(Array, JSArray) \
174 V(StackTrace, JSArray) \
208 v8::internal::Handle<v8::internal::JSArray> obj);
250 v8::internal::Handle<v8::internal::JSArray> obj);
359 MAKE_TO_LOCAL(ToLocal, JSArray, Array) in MAKE_TO_LOCAL()
377 MAKE_TO_LOCAL(StackTraceToLocal, JSArray, StackTrace) in MAKE_TO_LOCAL()
Dstring-builder.h177 Handle<JSArray> ToJSArray(Handle<JSArray> target_array) { in ToJSArray()
178 JSArray::SetContent(target_array, array_); in ToJSArray()
Dstring-stream.cc434 JSArray* array = JSArray::cast(printee); in PrintMentionedObjectCache()
438 static_cast<uint32_t>(JSArray::cast(array)->length()->Number()); in PrintMentionedObjectCache()
Daccessors.cc81 JSArray::kLengthOffset, object_offset); in IsJSObjectFieldAccessor()
196 JSArray* holder = JSArray::cast(*Utils::OpenHandle(*info.Holder())); in ArrayLengthGetter()
210 Handle<JSArray> array = Handle<JSArray>::cast(object); in ArrayLengthSetter()
214 if (!JSArray::AnythingToArrayLength(isolate, length_obj, &length)) { in ArrayLengthSetter()
219 if (JSArray::ObservableSetLength(array, length).is_null()) { in ArrayLengthSetter()
558 Handle<JSArray> js_array = in ScriptLineEndsGetter()
/external/v8/src/runtime/
Druntime-liveedit.cc73 Handle<JSArray> result; in RUNTIME_FUNCTION()
110 CONVERT_ARG_HANDLE_CHECKED(JSArray, shared_info, 0); in RUNTIME_FUNCTION()
123 CONVERT_ARG_HANDLE_CHECKED(JSArray, new_compile_info, 0); in RUNTIME_FUNCTION()
124 CONVERT_ARG_HANDLE_CHECKED(JSArray, shared_info, 1); in RUNTIME_FUNCTION()
187 CONVERT_ARG_HANDLE_CHECKED(JSArray, shared_array, 0); in RUNTIME_FUNCTION()
188 CONVERT_ARG_HANDLE_CHECKED(JSArray, position_change_array, 1); in RUNTIME_FUNCTION()
204 CONVERT_ARG_HANDLE_CHECKED(JSArray, old_shared_array, 0); in RUNTIME_FUNCTION()
205 CONVERT_ARG_HANDLE_CHECKED(JSArray, new_shared_array, 1); in RUNTIME_FUNCTION()
244 Handle<JSArray> result = LiveEdit::CompareStrings(s1, s2); in RUNTIME_FUNCTION()
Druntime-array.cc22 CONVERT_ARG_HANDLE_CHECKED(JSArray, prototype, 0); in RUNTIME_FUNCTION()
84 CONVERT_ARG_HANDLE_CHECKED(JSArray, array, 0); in RUNTIME_FUNCTION()
97 CONVERT_ARG_HANDLE_CHECKED(JSArray, array, 0); in RUNTIME_FUNCTION()
133 CONVERT_ARG_HANDLE_CHECKED(JSArray, from, 0); in RUNTIME_FUNCTION()
134 CONVERT_ARG_HANDLE_CHECKED(JSArray, to, 1); in RUNTIME_FUNCTION()
156 CONVERT_ARG_HANDLE_CHECKED(JSArray, array, 0); in RUNTIME_FUNCTION()
260 JSArray::SetLengthWouldNormalize(isolate->heap(), value)) { in ArrayConstructorCommon()
265 if (value >= JSArray::kInitialMaxFastElementArray) { in ArrayConstructorCommon()
302 Handle<JSArray> array = Handle<JSArray>::cast( in ArrayConstructorCommon()
Druntime-regexp.cc393 Handle<String> replacement, Handle<JSArray> last_match_info) { in StringReplaceGlobalAtomRegExpWithString()
471 Handle<String> replacement, Handle<JSArray> last_match_info) { in StringReplaceGlobalRegExpWithString()
556 Handle<JSArray> last_match_info) { in StringReplaceGlobalRegExpWithEmptyString()
659 CONVERT_ARG_HANDLE_CHECKED(JSArray, last_match_info, 3); in RUNTIME_FUNCTION()
704 Handle<JSArray> result = isolate->factory()->NewJSArrayWithElements( in RUNTIME_FUNCTION()
737 Handle<JSArray> result = isolate->factory()->NewJSArray(part_count); in RUNTIME_FUNCTION()
777 CONVERT_ARG_HANDLE_CHECKED(JSArray, last_match_info, 3); in RUNTIME_FUNCTION()
818 Handle<JSArray> array = Handle<JSArray>::cast(object); in RUNTIME_FUNCTION()
847 Handle<JSArray> last_match_array, in SearchRegExpMultiple()
848 Handle<JSArray> result_array) { in SearchRegExpMultiple()
[all …]
Druntime-literals.cc150 Handle<JSArray> object = Handle<JSArray>::cast( in CreateArrayLiteralBoilerplate()
414 JSArray* boilerplate = NULL; in RUNTIME_FUNCTION()
417 boilerplate = JSArray::cast(site->transition_info()); in RUNTIME_FUNCTION()
419 boilerplate = JSArray::cast(raw_literal_cell); in RUNTIME_FUNCTION()
421 Handle<JSArray> boilerplate_object(boilerplate); in RUNTIME_FUNCTION()
Druntime-proxy.cc56 Handle<JSArray> arg_array = isolate->factory()->NewJSArray( in RUNTIME_FUNCTION()
117 Handle<JSArray> arg_array = isolate->factory()->NewJSArray( in RUNTIME_FUNCTION()
Druntime-debug.cc112 static MaybeHandle<JSArray> GetIteratorInternalProperties( in GetIteratorInternalProperties()
116 RUNTIME_ASSERT_HANDLIFIED(iterator->kind()->IsSmi(), JSArray); in GetIteratorInternalProperties()
129 RUNTIME_ASSERT_HANDLIFIED(false, JSArray); in GetIteratorInternalProperties()
152 MaybeHandle<JSArray> Runtime::GetInternalProperties(Isolate* isolate, in GetInternalProperties()
174 Handle<JSArray> arguments_array = in GetInternalProperties()
219 RUNTIME_ASSERT_HANDLIFIED(status_obj->IsSmi(), JSArray); in GetInternalProperties()
265 Handle<JSArray> result; in RUNTIME_FUNCTION()
1328 JSArray::SetContent(Handle<JSArray>::cast(result), instances); in RUNTIME_FUNCTION()
Druntime-strings.cc340 CONVERT_ARG_HANDLE_CHECKED(JSArray, regexp_info, 2); in RUNTIME_FUNCTION()
382 Handle<JSArray> result = isolate->factory()->NewJSArrayWithElements(elements); in RUNTIME_FUNCTION()
432 CONVERT_ARG_HANDLE_CHECKED(JSArray, array, 0); in RUNTIME_FUNCTION()
503 CONVERT_ARG_HANDLE_CHECKED(JSArray, array, 0); in RUNTIME_FUNCTION()
627 CONVERT_ARG_HANDLE_CHECKED(JSArray, elements_array, 0); in RUNTIME_FUNCTION()
/external/v8/test/cctest/
Dtest-hydrogen-types.cc137 CHECK(HType::JSArray().IsHeapObject()); in TEST()
152 CHECK(!HType::JSArray().IsTaggedPrimitive()); in TEST()
157 CHECK(HType::JSArray().IsJSObject()); in TEST()
Dtest-elements-kind.cc204 Handle<JSArray> array = in TEST()
236 Handle<JSArray> array = in TEST()
296 Handle<JSArray> array = in TEST()
369 Handle<JSArray> array = in TEST()
419 Handle<JSArray> array = in TEST()
/external/v8/src/crankshaft/
Dhydrogen-types.h35 V(JSArray, 0xe21) /* 0000 1110 0010 0001 */ \
Dhydrogen-types.cc52 if (value->IsJSArray()) return HType::JSArray(); in FromValue()
/external/v8/src/regexp/
Djsregexp.h52 Handle<JSArray> lastMatchInfo);
77 Handle<JSArray> lastMatchInfo);
111 Handle<JSArray> lastMatchInfo);
114 static Handle<JSArray> SetLastMatchInfo(Handle<JSArray> last_match_info,
/external/v8/src/ic/x87/
Dic-x87.cc416 __ add(FieldOperand(receiver, JSArray::kLengthOffset), in KeyedStoreGenerateMegamorphicHelper()
432 __ add(FieldOperand(receiver, JSArray::kLengthOffset), in KeyedStoreGenerateMegamorphicHelper()
466 __ add(FieldOperand(receiver, JSArray::kLengthOffset), in KeyedStoreGenerateMegamorphicHelper()
618 __ cmp(key, FieldOperand(receiver, JSArray::kLengthOffset)); // Compare smis. in GenerateMegamorphic()

12345