Lines Matching defs:thisHandle

107     JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
160 if (thisHandle->IsConstructor()) {
162 EcmaInterpreter::NewRuntimeCallInfo(thread, thisHandle, undefined, undefined, 0);
253 if (thisHandle->IsConstructor()) {
255 EcmaInterpreter::NewRuntimeCallInfo(thread, thisHandle, undefined, undefined, 1);
324 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
343 if (thisHandle->IsConstructor()) {
345 EcmaInterpreter::NewRuntimeCallInfo(thread, thisHandle, undefined, undefined, 0);
401 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
402 if (!thisHandle->IsJSSharedArray()) {
406 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
407 [[maybe_unused]] ConcurrentApiScope<JSSharedArray> scope(thread, thisHandle);
513 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
514 if (!thisHandle->IsJSSharedArray()) {
522 [[maybe_unused]] ConcurrentApiScope<JSSharedArray> scope(thread, thisHandle);
575 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
576 if (!thisHandle->IsJSSharedArray()) {
580 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
628 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
629 if (!thisHandle->IsJSSharedArray()) {
633 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
676 bool exists = (thisHandle->IsTypedArray() || thisHandle->IsSharedTypedArray() ||
862 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
863 if (!thisHandle->IsJSSharedArray()) {
867 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
868 [[maybe_unused]] ConcurrentApiScope<JSSharedArray> scope(thread, thisHandle);
933 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
934 if (!thisHandle->IsJSSharedArray()) {
938 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
939 [[maybe_unused]] ConcurrentApiScope<JSSharedArray> scope(thread, thisHandle);
1000 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
1001 if (!thisHandle->IsJSSharedArray()) {
1005 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
1006 [[maybe_unused]] ConcurrentApiScope<JSSharedArray> scope(thread, thisHandle);
1075 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
1076 if (!thisHandle->IsJSSharedArray()) {
1080 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
1081 [[maybe_unused]] ConcurrentApiScope<JSSharedArray> scope(thread, thisHandle);
1141 EcmaRuntimeCallInfo *argv, JSThread *thread, const JSHandle<JSTaggedValue> &thisHandle)
1144 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
1192 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
1193 if (!thisHandle->IsJSSharedArray()) {
1197 [[maybe_unused]] ConcurrentApiScope<JSSharedArray> scope(thread, thisHandle);
1201 if (thisHandle->IsStableJSArray(thread)) {
1205 opResult = IndexOfSlowPath(argv, thread, thisHandle);
1217 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
1218 if (!thisHandle->IsJSSharedArray()) {
1222 [[maybe_unused]] ConcurrentApiScope<JSSharedArray> scope(thread, thisHandle);
1234 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
1235 if (!thisHandle->IsJSSharedArray()) {
1239 [[maybe_unused]] ConcurrentApiScope<JSSharedArray> scope(thread, thisHandle);
1254 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
1255 if (!thisHandle->IsJSSharedArray()) {
1259 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
1260 [[maybe_unused]] ConcurrentApiScope<JSSharedArray> scope(thread, thisHandle);
1350 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
1351 if (!thisHandle->IsJSSharedArray()) {
1355 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
1356 [[maybe_unused]] ConcurrentApiScope<JSSharedArray, ModType::WRITE> scope(thread, thisHandle);
1359 JSTaggedValue opResult = PopInner(argv, thisHandle, thisObjHandle);
1363 JSTaggedValue BuiltinsSharedArray::PopInner(EcmaRuntimeCallInfo *argv, JSHandle<JSTaggedValue> &thisHandle,
1370 if (thisHandle->IsStableJSArray(thread) && JSObject::IsArrayLengthWritable(thread, thisObjHandle)) {
1371 return JSStableArray::Pop(JSHandle<JSSharedArray>::Cast(thisHandle), argv);
1423 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
1424 if (!thisHandle->IsJSSharedArray()) {
1428 [[maybe_unused]] ConcurrentApiScope<JSSharedArray, ModType::WRITE> scope(thread, thisHandle);
1430 if (thisHandle->IsStableJSArray(thread)) {
1431 auto opResult = JSStableArray::Push(JSHandle<JSSharedArray>::Cast(thisHandle), argv);
1438 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
1482 JSTaggedValue BuiltinsSharedArray::ReduceUnStableJSArray(JSThread *thread, JSHandle<JSTaggedValue> &thisHandle,
1490 bool exists = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, k));
1523 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
1524 if (!thisHandle->IsJSSharedArray()) {
1528 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
1529 [[maybe_unused]] ConcurrentApiScope<JSSharedArray> scope(thread, thisHandle);
1571 kPresent = (thisHandle->IsTypedArray() || thisHandle->IsSharedTypedArray() ||
1589 auto opResult = ReduceUnStableJSArray(thread, thisHandle, thisObjVal, k, len, accumulator, callbackFnHandle);
1602 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
1603 if (!thisHandle->IsJSSharedArray()) {
1607 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
1608 [[maybe_unused]] ConcurrentApiScope<JSSharedArray, ModType::WRITE> scope(thread, thisHandle);
1611 if (thisHandle->IsStableJSArray(thread) && JSObject::IsArrayLengthWritable(thread, thisObjHandle)) {
1612 auto opResult = JSStableArray::Shift(JSHandle<JSSharedArray>::Cast(thisHandle), argv);
1696 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
1697 if (!thisHandle->IsJSSharedArray()) {
1701 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
1702 [[maybe_unused]] ConcurrentApiScope<JSSharedArray> scope(thread, thisHandle);
1759 if (thisHandle->IsStableJSArray(thread) && !thisObjHandle->GetJSHClass()->HasConstructor()
1830 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
1831 if (!thisHandle->IsJSSharedArray()) {
1835 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
1836 [[maybe_unused]] ConcurrentApiScope<JSSharedArray, ModType::WRITE> scope(thread, thisHandle);
1840 if (thisHandle->IsStableJSArray(thread) && callbackFnHandle->IsUndefined()) {
1859 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
1860 if (!thisHandle->IsJSSharedArray()) {
1864 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
1866 thread, thisHandle);
1925 if (thisHandle->IsStableJSArray(thread)) {
1926 return JSStableArray::Splice(JSHandle<JSSharedArray>::Cast(thisHandle), argv, start, insertCount,
2075 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
2076 if (!thisHandle->IsJSSharedArray()) {
2080 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
2081 [[maybe_unused]] ConcurrentApiScope<JSSharedArray> scope(thread, thisHandle);
2123 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
2124 if (!thisHandle->IsJSSharedArray()) {
2128 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
2129 [[maybe_unused]] ConcurrentApiScope<JSSharedArray, ModType::WRITE> scope(thread, thisHandle);
2219 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
2220 if (!thisHandle->IsJSSharedArray()) {
2228 [[maybe_unused]] ConcurrentApiScope<JSSharedArray> scope(thread, thisHandle);
2305 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
2306 if (!thisHandle->IsJSSharedArray()) {
2310 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
2311 [[maybe_unused]] ConcurrentApiScope<JSSharedArray> scope(thread, thisHandle);
2381 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
2382 if (!thisHandle->IsJSSharedArray()) {
2386 [[maybe_unused]] ConcurrentApiScope<JSSharedArray> scope(thread, thisHandle);
2388 if (thisHandle->IsStableJSArray(thread)) {
2389 auto opResult = JSStableArray::At(JSHandle<JSSharedArray>::Cast(thisHandle), argv);
2392 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
2441 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
2442 if (!thisHandle->IsJSSharedArray()) {
2446 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
2447 [[maybe_unused]] ConcurrentApiScope<JSSharedArray, ModType::WRITE> scope(thread, thisHandle);
2459 int64_t len = ArrayHelper::GetLength(thread, thisHandle);
2480 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
2481 if (!thisHandle->IsJSSharedArray()) {
2485 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
2486 [[maybe_unused]] ConcurrentApiScope<JSSharedArray, ModType::WRITE> scope(thread, thisHandle);
2499 int64_t length = ArrayHelper::GetLength(thread, thisHandle);
2522 const JSHandle<JSTaggedValue> &thisHandle)
2525 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle);
2572 JSHandle<JSTaggedValue> thisHandle = GetThis(argv);
2573 if (UNLIKELY(!thisHandle->IsJSSharedArray())) {
2577 [[maybe_unused]] ConcurrentApiScope<JSSharedArray> scope(thread, thisHandle);
2580 if (thisHandle->IsStableJSArray(thread)) {
2584 return LastIndexOfSlowPath(argv, thread, thisHandle);