/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_collection_stub_builder.cpp | 27 void BuiltinsCollectionStubBuilder<CollectionType>::CheckCollectionObj(Label *thisCollectionObj, Label *slowPath) in CheckCollectionObj() argument 32 BRANCH(isJsCollectionObj, thisCollectionObj, slowPath); in CheckCollectionObj() 36 void BuiltinsCollectionStubBuilder<CollectionType>::Clear(Variable *result, Label *exit, Label *slowPath) in Clear() argument 41 CheckCollectionObj(&thisCollectionObj, slowPath); in Clear() 65 template void BuiltinsCollectionStubBuilder<JSMap>::Clear(Variable *result, Label *exit, Label *slowPath); 66 template void BuiltinsCollectionStubBuilder<JSSet>::Clear(Variable *result, Label *exit, Label *slowPath); 70 Label *exit, Label *slowPath, GateRef kind) in CreateIterator() 76 CheckCollectionObj(&thisCollectionObj, slowPath); in CreateIterator() 89 void BuiltinsCollectionStubBuilder<CollectionType>::Values(Variable *result, Label *exit, Label *slowPath) in Values() argument 92 CreateIterator(result, exit, slowPath, kin in Values() 69 CreateIterator(Variable *result, Label *exit, Label *slowPath, GateRef kind) CreateIterator() argument 99 Entries(Variable *result, Label *exit, Label *slowPath) Entries() argument 109 Keys(Variable *result, Label *exit, Label *slowPath) Keys() argument 118 ForEach(Variable *result, Label *exit, Label *slowPath) ForEach() argument 130 BRANCH(TaggedIsHeapObject(callbackFnHandle), &heapObj, slowPath); ForEach() local 132 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); ForEach() local 157 MapSetOrSetAdd( Variable *result, Label *exit, Label *slowPath, bool isJsMapSet) MapSetOrSetAdd() argument 168 BRANCH(TaggedIsHole(key), slowPath, &keyNotHole); MapSetOrSetAdd() local 187 Set(Variable *result, Label *exit, Label *slowPath) Set() argument 195 Add(Variable *result, Label *exit, Label *slowPath) Add() argument 203 Delete(Variable *result, Label *exit, Label *slowPath) Delete() argument 229 Has(Variable *result, Label *exit, Label *slowPath) Has() argument 255 Get(Variable *result, Label *exit, Label *slowPath) Get() argument [all...] |
H A D | builtins_collection_stub_builder.h | 33 void Clear(Variable *result, Label *exit, Label *slowPath); 34 void Values(Variable *result, Label *exit, Label *slowPath); 35 void Entries(Variable *result, Label *exit, Label *slowPath); 36 void Keys(Variable *result, Label *exit, Label *slowPath); 37 void ForEach(Variable *result, Label *exit, Label *slowPath); 38 void Set(Variable *result, Label *exit, Label *slowPath); 39 void Add(Variable *result, Label *exit, Label *slowPath); 40 void Delete(Variable *result, Label *exit, Label *slowPath); 41 void Has(Variable *result, Label *exit, Label *slowPath); 42 void Get(Variable *result, Label *exit, Label *slowPath); [all...] |
H A D | builtins_typedarray_stub_builder.cpp | 89 Label slowPath(env);
in LoadTypedArrayElement() 100 BRANCH(TaggedIsNumber(*result), &exit, &slowPath);
in LoadTypedArrayElement() 102 Bind(&slowPath);
in LoadTypedArrayElement() 153 Label slowPath(env);
in FastGetPropertyByIndex() 160 Jump(&slowPath);
in FastGetPropertyByIndex() 170 BRANCH(TaggedIsNumber(*result), &exit, &slowPath);
in FastGetPropertyByIndex() 173 Bind(&slowPath);
in FastGetPropertyByIndex() 195 Label slowPath(env);
in FastCopyElementToArray() 205 Jump(&slowPath);
in FastCopyElementToArray() 229 Bind(&slowPath);
in FastCopyElementToArray() 434 Reverse(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Reverse() argument 443 BRANCH(IsEcmaObject(thisValue), &ecmaObj, slowPath); Reverse() local 446 BRANCH(IsFastTypeArray(arrayType), &isFastTypedArray, slowPath); Reverse() local 448 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); Reverse() local 451 BRANCH(IsDetachedBuffer(buffer), slowPath, ¬Detached); Reverse() local 502 LastIndexOf(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) LastIndexOf() argument 511 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &thisExists); LastIndexOf() local 513 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); LastIndexOf() local 515 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); LastIndexOf() local 518 BRANCH(IsDetachedBuffer(buffer), slowPath, ¬Detached); LastIndexOf() local 548 BRANCH(TaggedIsInt(fromIndex), &taggedIsInt, slowPath); LastIndexOf() local 611 IndexOf(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) IndexOf() argument 619 BRANCH(IsEcmaObject(thisValue), &ecmaObj, slowPath); IndexOf() local 621 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); IndexOf() local 623 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); IndexOf() local 626 BRANCH(IsDetachedBuffer(buffer), slowPath, ¬Detached); IndexOf() local 648 BRANCH(TaggedIsInt(index), &taggedIsInt, slowPath); IndexOf() local 710 Find(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Find() argument 717 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Find() local 719 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); Find() local 721 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); Find() local 725 BRANCH(TaggedIsHeapObject(callbackFnHandle), &arg0HeapObject, slowPath); Find() local 728 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); Find() local 787 Includes(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Includes() argument 795 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Includes() local 797 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); Includes() local 811 BRANCH(TaggedIsInt(fromIndexTemp), &secondArgIsInt, slowPath); Includes() local 821 BRANCH(Int64GreaterThanOrEqual(numArgs, IntPtr(1)), &nextCheck, slowPath); Includes() local 878 CopyWithin(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) CopyWithin() argument 885 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); CopyWithin() local 888 BRANCH(IsFastTypeArray(jsType), &typedArray, slowPath); CopyWithin() local 890 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); CopyWithin() local 908 BRANCH(TaggedIsInt(targetTag), &targetTagIsInt, slowPath); CopyWithin() local 915 BRANCH(TaggedIsInt(startTag), &startTagIsInt, slowPath); CopyWithin() local 925 BRANCH(TaggedIsInt(endTag), &endTagIsInt, slowPath); CopyWithin() local 1011 ReduceRight(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) ReduceRight() argument 1024 BRANCH(IsEcmaObject(thisValue), &ecmaObj, slowPath); ReduceRight() local 1026 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); ReduceRight() local 1028 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); ReduceRight() local 1031 BRANCH(IsDetachedBuffer(buffer), slowPath, ¬Detached); ReduceRight() local 1034 BRANCH(Int64GreaterThanOrEqual(numArgs, IntPtr(1)), &atLeastOneArg, slowPath); ReduceRight() local 1037 BRANCH(TaggedIsHeapObject(callbackFnHandle), &callbackFnHandleHeapObject, slowPath); ReduceRight() local 1039 BRANCH(IsCallable(callbackFnHandle), &callbackFnHandleCallable, slowPath); ReduceRight() local 1043 BRANCH(BitAnd(thisLenIsZero, numArgsLessThanTwo), slowPath, &noTypeError); ReduceRight() local 1119 Reduce(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Reduce() argument 1132 BRANCH(IsEcmaObject(thisValue), &ecmaObj, slowPath); Reduce() local 1134 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); Reduce() local 1136 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); Reduce() local 1139 BRANCH(IsDetachedBuffer(buffer), slowPath, ¬Detached); Reduce() local 1142 BRANCH(Int64GreaterThanOrEqual(numArgs, IntPtr(1)), &atLeastOneArg, slowPath); Reduce() local 1145 BRANCH(TaggedIsHeapObject(callbackFnHandle), &callbackFnHandleHeapObject, slowPath); Reduce() local 1147 BRANCH(IsCallable(callbackFnHandle), &callbackFnHandleCallable, slowPath); Reduce() local 1151 BRANCH(BitAnd(thisLenIsZero, numArgsLessThanTwo), slowPath, &noTypeError); Reduce() local 1228 Every(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Every() argument 1237 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Every() local 1239 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); Every() local 1241 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); Every() local 1244 BRANCH(IsDetachedBuffer(buffer), slowPath, ¬Detached); Every() local 1250 BRANCH(TaggedIsHeapObject(callbackFnHandle), &arg0HeapObject, slowPath); Every() local 1252 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); Every() local 1312 Some(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Some() argument 1320 BRANCH(IsEcmaObject(thisValue), &ecmaObj, slowPath); Some() local 1322 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); Some() local 1324 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &thisExists); Some() local 1327 BRANCH(IsDetachedBuffer(buffer), slowPath, ¬Detached); Some() local 1333 BRANCH(TaggedIsHeapObject(callbackFnHandle), &arg0HeapObject, slowPath); Some() local 1335 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); Some() local 1403 Filter(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Filter() argument 1415 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &thisExists); Filter() local 1417 BRANCH(IsEcmaObject(thisValue), &isEcmaObject, slowPath); Filter() local 1420 BRANCH(IsFastTypeArray(arrayType), &isFastTypedArray, slowPath); Filter() local 1423 BRANCH(IsDetachedBuffer(buffer), slowPath, ¬Detached); Filter() local 1425 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); Filter() local 1428 BRANCH(IsEcmaObject(prototype), &prototypeIsEcmaObj, slowPath); Filter() local 1431 BRANCH(TaggedIsProtoChangeMarker(marker), &isProtoChangeMarker, slowPath); Filter() local 1433 BRANCH(GetAccessorHasChanged(marker), slowPath, &accessorNotChanged); Filter() local 1439 BRANCH(TaggedIsHeapObject(callbackFnHandle), &arg0HeapObject, slowPath); Filter() local 1442 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); Filter() local 1544 Slice(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Slice() argument 1552 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &thisExists); Slice() local 1554 BRANCH(IsEcmaObject(thisValue), &isEcmaObject, slowPath); Slice() local 1557 BRANCH(IsFastTypeArray(arrayType), &isFastTypedArray, slowPath); Slice() local 1559 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); Slice() local 1581 BRANCH(TaggedIsInt(startTag), &startTagIsInt, slowPath); Slice() local 1590 BRANCH(TaggedIsInt(endTag), &endTagIsInt, slowPath); Slice() local 1637 SubArray(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) SubArray() argument 1648 BRANCH(IsEcmaObject(thisValue), &ecmaObj, slowPath); SubArray() local 1650 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); SubArray() local 1655 BRANCH(HasConstructorByHClass(objHclass), slowPath, &defaultConstructor); SubArray() local 1665 BRANCH(IsDetachedBuffer(buffer), slowPath, ¬Detached); SubArray() local 1671 BRANCH(TaggedIsInt(relativeBegin), &intIndex, slowPath); SubArray() local 1689 BRANCH(TaggedIsInt(end), &intEnd, slowPath); SubArray() local 1710 BRANCH(Int32Equal(arrayLen, Int32(0)), slowPath, &isNotZero); SubArray() local 1718 With(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) With() argument 1727 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); With() local 1729 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); With() local 1731 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); With() local 1736 BRANCH(TaggedIsInt(index), &taggedIsInt, slowPath); With() local 1776 slowPath, ¬OutOfRange); With() local 1807 GetByteLength([[maybe_unused]] GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *result, Label *exit, Label *slowPath) GetByteLength() argument 1815 BRANCH(IsEcmaObject(thisValue), &ecmaObj, slowPath); GetByteLength() local 1817 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); GetByteLength() local 1833 DoSort( GateRef glue, GateRef receiver, Variable* result, Label* exit, Label* slowPath) DoSort() argument 1865 BRANCH(Int64GreaterThan(len, Int64(0)), &lenGreaterZero, slowPath); DoSort() local 2123 Sort( GateRef glue, GateRef thisValue, GateRef numArgs, Variable* result, Label* exit, Label* slowPath) Sort() argument 2131 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Sort() local 2135 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); Sort() local 2138 BRANCH(TaggedIsUndefined(callbackFnHandle), &argUndefined, slowPath); Sort() local 2145 GetByteOffset([[maybe_unused]] GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *result, Label *exit, Label *slowPath) GetByteOffset() argument 2153 BRANCH(IsEcmaObject(thisValue), &ecmaObj, slowPath); GetByteOffset() local 2155 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); GetByteOffset() local 2171 Set(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Set() argument 2179 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &thisExists); Set() local 2181 BRANCH(IsEcmaObject(thisValue), &ecmaObj, slowPath); Set() local 2188 BRANCH(Int64Equal(len, Int64(0)), slowPath, ¬EmptyArray); Set() local 2200 BRANCH(TaggedIsInt(fromOffset), &taggedIsInt, slowPath); Set() local 2204 BRANCH(Int64LessThan(fromIndexToTagged, Int64(0)), slowPath, &offsetNotLessZero); Set() local 2217 BRANCH(IsEcmaObject(srcArray), &srcArrayIsEcmaObj, slowPath); Set() local 2219 BRANCH(IsTypedArray(srcArray), &srcArrayIsTypedArray, slowPath); Set() local 2224 BRANCH(IsFastTypeArray(srcType), &isFastTypeArray, slowPath); Set() local 2229 BRANCH(SameValue(glue, targetBuffer, srcBuffer), slowPath, &isNotSameValue); Set() local 2233 BRANCH(Int64GreaterThan(Int64Add(*realOffset, srcLen), len), slowPath, &isNotGreaterThanLen); Set() local 2278 FindIndex(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) FindIndex() argument 2285 BRANCH(IsEcmaObject(thisValue), &ecmaObj, slowPath); FindIndex() local 2287 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); FindIndex() local 2289 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); FindIndex() local 2295 BRANCH(TaggedIsHeapObject(callbackFnHandle), &arg0HeapObject, slowPath); FindIndex() local 2297 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); FindIndex() local 2361 Entries(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Entries() argument 2367 Keys(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Keys() argument 2373 Values(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Values() argument 2379 BuildArrayIterator(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *result, Label *exit, Label *slowPath, IterationKind iteratorKind) BuildArrayIterator() argument 2387 BRANCH(TaggedIsUndefinedOrNullOrHole(thisValue), slowPath, &thisExists); BuildArrayIterator() local 2389 BRANCH(IsEcmaObject(thisValue), &isEcmaObject, slowPath); BuildArrayIterator() local 2391 BRANCH(IsTypedArray(thisValue), &isTypedArray, slowPath); BuildArrayIterator() local 2400 FindLastIndex(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) FindLastIndex() argument 2410 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &thisExists); FindLastIndex() local 2412 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); FindLastIndex() local 2414 BRANCH(IsTypedArray(thisValue), &typedArray, slowPath); FindLastIndex() local 2417 BRANCH(TaggedIsHeapObject(callbackFnHandle), &arg0HeapObject, slowPath); FindLastIndex() local 2419 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); FindLastIndex() local 2468 ToSorted(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) ToSorted() argument 2479 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); ToSorted() local 2483 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); ToSorted() local 2486 BRANCH(TaggedIsUndefined(callbackFnHandle), &argUndefined, slowPath); ToSorted() local 2504 Of(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Of() argument 2516 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &thisExists); Of() local 2518 BRANCH(IsEcmaObject(thisValue), &isEcmaObject, slowPath); Of() local 2520 BRANCH(IsConstructor(thisValue), &isConstructor, slowPath); Of() local 2522 BRANCH(IsDerived(thisValue), slowPath, ¬Derived); Of() local 2534 BRANCH(IsEcmaObject(thisObj), &thisObjIsECmaObject, slowPath); Of() local 2536 BRANCH(IsFastTypeArray(arrayType), &thisObjIsFastTypedArray, slowPath); Of() local 2538 BRANCH(HasConstructor(thisObj), slowPath, &defaultConstr); Of() local 2616 Map(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Map() argument 2628 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &thisExists); Map() local 2630 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Map() local 2634 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); Map() local 2637 BRANCH(IsDetachedBuffer(buffer), slowPath, ¬Detached); Map() local 2640 BRANCH(IsEcmaObject(prototype), &prototypeIsEcmaObj, slowPath); Map() local 2643 BRANCH(TaggedIsProtoChangeMarker(marker), &isProtoChangeMarker, slowPath); Map() local 2645 BRANCH(GetAccessorHasChanged(marker), slowPath, &accessorNotChanged); Map() local 2653 BRANCH(TaggedIsHeapObject(callbackFnHandle), &arg0HeapObject, slowPath); Map() local 2655 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); Map() local 2704 ToReversed(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *result, Label *exit, Label *slowPath) ToReversed() argument 2711 BRANCH(IsEcmaObject(thisValue), &ecmaObj, slowPath); ToReversed() local 2714 BRANCH(IsFastTypeArray(arrayType), &isFastTypedArray, slowPath); ToReversed() local 2716 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); ToReversed() local 2793 ¬FloatArray, &slowPath); FastSetPropertyByIndex() local 2796 BRANCH(TaggedIsNumber(value), &valueIsNumber, &slowPath); FastSetPropertyByIndex() local 2817 SetValueToBuffer(GateRef glue, GateRef value, GateRef buffer, GateRef index, GateRef offset, GateRef jsType, Label *slowPath) SetValueToBuffer() argument 2853 BRANCH(BitOr(valueLessthanMin, valueMorethanMax), slowPath, &fastPath); SetValueToBuffer() local 2861 BRANCH(BitOr(valueLessthanMin, valueMorethanMax), slowPath, &fastPath); SetValueToBuffer() local 3107 BRANCH(TaggedIsHeapObject(newTarget), &newTargetIsHeapObject, &slowPath); GenTypedArrayConstructor() local 3109 BRANCH(IsJSFunction(newTarget), &newTargetIsJSFunction, &slowPath); GenTypedArrayConstructor() local 3149 Branch(TaggedIsArrayBuffer(arg0), &isArrayBuffer, &slowPath); GenTypedArrayConstructor() local 3268 BRANCH(Int32UnsignedGreaterThan(length, Int32(JSTypedArray::MAX_TYPED_ARRAY_INDEX)), &slowPath, &valid); AllocateTypedArrayBuffer() local 3272 BRANCH(Int64UnsignedLessThanOrEqual(byteLength, Int64(JSTypedArray::MAX_ONHEAP_LENGTH)), &next, &slowPath); AllocateTypedArrayBuffer() local 3319 CreateFromArrayBuffer(Variable *result, GateRef glue, GateRef numArgs, Label *exit, Label *slowPath, const DataViewType arrayType) CreateFromArrayBuffer() argument 3343 BRANCH(IsDetachedBuffer(buffer), slowPath, ¬Detach); CreateFromArrayBuffer() local 3368 BRANCH(Int32UnsignedLessThan(bufferByteLength, offset), slowPath, &next2); CreateFromArrayBuffer() local [all...] |
H A D | builtins_proxy_stub_builder.cpp | 28 Label slowPath(env);
in GenProxyConstructor() 35 BRANCH(TaggedIsUndefined(newTarget), &slowPath, &newTargetNotUndefined);
in GenProxyConstructor() local 41 BRANCH(IsEcmaObject(target), &targetIsEcma, &slowPath);
in GenProxyConstructor() local 43 BRANCH(IsEcmaObject(handler), &handleIsEcma, &slowPath);
in GenProxyConstructor() local 51 Bind(&slowPath);
in GenProxyConstructor()
|
H A D | builtins_reflect_stub_builder.cpp | 23 void BuiltinsReflectStubBuilder::Get(Variable *result, Label *exit, Label *slowPath)
in Get() argument 28 BRANCH(IsEcmaObject(obj), &isEcmaObject, slowPath);
in Get() local 33 BRANCH(Int64Equal(numArgs_, IntPtr(2)), &twoArg, slowPath); // 2 : two args
in Get() local 37 BRANCH(TaggedIsHole(result->ReadVariable()), slowPath, exit);
in Get()
|
H A D | builtins_array_stub_builder.cpp | 32 Label *matchCls, Label *slowPath) in ElementsKindHclassCompare() 43 BRANCH(Equal(intialHClass, arrayCls), matchCls, slowPath); in ElementsKindHclassCompare() local 48 Variable *result, Label *exit, Label *slowPath) in With() 58 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); in With() local 60 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); in With() local 62 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); in With() local 64 BRANCH(IsStableJSArray(glue, thisValue), &isStableArray, slowPath); in With() local 66 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); in With() local 72 BRANCH(TaggedIsInt(index), &taggedIsInt, slowPath); in With() local 90 BRANCH(Int64Equal(numArgs, IntPtr(1)), &getIndex, slowPath); in With() local 31 ElementsKindHclassCompare(GateRef glue, GateRef arrayCls, Label *matchCls, Label *slowPath) ElementsKindHclassCompare() argument 47 With(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) With() argument 112 slowPath, ¬OutOfRange); With() local 169 Unshift(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Unshift() argument 187 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Unshift() local 189 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); Unshift() local 191 BRANCH(IsStableJSArray(glue, thisValue), &isStableJsArray, slowPath); Unshift() local 196 BRANCH(Int64GreaterThan(numArgs, IntPtr(0)), &numNotEqualZero, slowPath); Unshift() local 201 BRANCH(Int64GreaterThan(newLen, Int64(base::MAX_SAFE_INTEGER)), slowPath, ¬OverRange); Unshift() local 204 BRANCH(Int64LessThanOrEqual(numArgs, IntPtr(3)), &numLessThanOrEqualThree, slowPath); Unshift() local 285 Shift(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Shift() argument 292 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Shift() local 294 BRANCH(HasConstructor(thisValue), slowPath, &isDefaultConstructor); Shift() local 296 BRANCH(IsStableJSArray(glue, thisValue), &stableJSArray, slowPath); Shift() local 300 BRANCH(IsArrayLengthWritable(glue, thisValue), &isLengthWritable, slowPath); Shift() local 400 Concat(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Concat() argument 406 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Concat() local 408 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); Concat() local 412 BRANCH(HasConstructor(thisValue), slowPath, &isExtensible); Concat() local 416 BRANCH(Int64Equal(numArgs, IntPtr(1)), &numArgsOne, slowPath); Concat() local 441 BRANCH(Int64GreaterThan(sumArrayLen, maxArrayIndex), slowPath, ¬OverFlow); Concat() local 534 Filter(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Filter() argument 541 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Filter() local 547 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); Filter() local 554 BRANCH(TaggedIsHeapObject(callbackFnHandle), &argOHeapObject, slowPath); Filter() local 556 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); Filter() local 569 BRANCH(Int64GreaterThan(len, Int64(JSObject::MAX_GAP)), slowPath, ¬OverFlow); Filter() local 580 BRANCH(IsStableJSArray(glue, thisValue), &stableJSArray, slowPath); Filter() local 697 Map(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Map() argument 704 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Map() local 710 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); Map() local 717 BRANCH(TaggedIsHeapObject(callbackFnHandle), &argOHeapObject, slowPath); Map() local 719 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); Map() local 732 BRANCH(Int64GreaterThan(len, Int64(JSObject::MAX_GAP)), slowPath, ¬OverFlow); Map() local 740 BRANCH(IsStableJSArray(glue, thisValue), &stableJSArray, slowPath); Map() local 830 ForEach([[maybe_unused]] GateRef glue, GateRef thisValue, GateRef numArgs, [[maybe_unused]] Variable *result, Label *exit, Label *slowPath) ForEach() argument 843 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &thisExists); ForEach() local 845 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); ForEach() local 847 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); ForEach() local 849 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); ForEach() local 851 BRANCH(IsStableJSArray(glue, thisValue), &isStability, slowPath); ForEach() local 853 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); ForEach() local 863 BRANCH(TaggedIsHeapObject(callbackFnHandle), &arg0HeapObject, slowPath); ForEach() local 865 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); ForEach() local 985 IndexOf([[maybe_unused]] GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) IndexOf() argument 992 BRANCH(IsJsArrayWithLengthLimit(glue, thisValue, MAX_LENGTH_ZERO, req), &thisIsEmpty, slowPath); IndexOf() local 1005 LastIndexOf([[maybe_unused]] GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) LastIndexOf() argument 1012 BRANCH(IsJsArrayWithLengthLimit(glue, thisValue, MAX_LENGTH_ZERO, req), &thisIsEmpty, slowPath); LastIndexOf() local 1024 Pop(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Pop() argument 1031 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Pop() local 1033 BRANCH(HasConstructor(thisValue), slowPath, &isDeufaltConstructor); Pop() local 1035 BRANCH(IsStableJSArray(glue, thisValue), &stableJSArray, slowPath); Pop() local 1039 BRANCH(IsArrayLengthWritable(glue, thisValue), &isLengthWritable, slowPath); Pop() local 1120 Slice(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Slice() argument 1127 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Slice() local 1129 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); Slice() local 1131 BRANCH(HasConstructor(thisValue), slowPath, &noConstructor); Slice() local 1146 BRANCH(Int32Equal(numArgsAsInt32, Int32(0)), &noArgs, slowPath); Slice() local 1166 BRANCH(TaggedIsInt(msg0), &msg0Int, slowPath); Slice() local 1216 BRANCH(TaggedIsInt(msg1), &msg1Int, slowPath); Slice() local 1356 Sort(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Sort() argument 1363 SortAfterArgs(GateRef glue, GateRef thisValue, GateRef callbackFnHandle, Variable *result, Label *exit, Label *slowPath, GateRef hir) SortAfterArgs() argument 1373 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); SortAfterArgs() local 1375 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); SortAfterArgs() local 1377 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); SortAfterArgs() local 1379 BRANCH(IsStableJSArray(glue, thisValue), &isStability, slowPath); SortAfterArgs() local 1381 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); SortAfterArgs() local 1383 BRANCH(TaggedIsUndefined(callbackFnHandle), &argUndefined, slowPath); SortAfterArgs() local 1389 ToSorted(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) ToSorted() argument 1399 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); ToSorted() local 1401 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); ToSorted() local 1403 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); ToSorted() local 1405 BRANCH(IsStableJSArray(glue, thisValue), &isStability, slowPath); ToSorted() local 1407 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); ToSorted() local 1410 BRANCH(TaggedIsUndefined(callbackFnHandle), &argUndefined, slowPath); ToSorted() local 1440 DoSort(GateRef glue, GateRef receiver, GateRef receiverState, Variable *result, Label *exit, Label *slowPath, GateRef hir) DoSort() argument 1661 Reduce(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Reduce() argument 1674 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Reduce() local 1676 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); Reduce() local 1678 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); Reduce() local 1681 BRANCH(Int64GreaterThanOrEqual(numArgs, IntPtr(1)), &atLeastOneArg, slowPath); Reduce() local 1684 BRANCH(TaggedIsHeapObject(callbackFnHandle), &callbackFnHandleHeapObject, slowPath); Reduce() local 1686 BRANCH(IsCallable(callbackFnHandle), &callbackFnHandleCallable, slowPath); Reduce() local 1690 BRANCH(BitAnd(thisLenIsZero, numArgsLessThanTwo), slowPath, &noTypeError); Reduce() local 1699 BRANCH(Int64Equal(numArgs, IntPtr(2)), &updateAccumulator, slowPath); // 2: provide initialValue param Reduce() local 1808 Reverse(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Reverse() argument 1817 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Reverse() local 1819 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); Reverse() local 1821 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); Reverse() local 1823 BRANCH(IsStableJSArray(glue, thisValue), &isStability, slowPath); Reverse() local 1825 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); Reverse() local 1912 ToReversed(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable* result, Label* exit, Label* slowPath) ToReversed() argument 1921 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); ToReversed() local 1923 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); ToReversed() local 1925 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); ToReversed() local 1927 BRANCH(IsStableJSArray(glue, thisValue), &isStability, slowPath); ToReversed() local 1929 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); ToReversed() local 2091 Values(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Values() argument 2098 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Values() local 2100 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); Values() local 2102 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); Values() local 2122 Find(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Find() argument 2131 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Find() local 2133 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); Find() local 2135 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); Find() local 2137 BRANCH(IsStableJSArray(glue, thisValue), &isStability, slowPath); Find() local 2139 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); Find() local 2144 BRANCH(TaggedIsHeapObject(callbackFnHandle), &arg0HeapObject, slowPath); Find() local 2147 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); Find() local 2206 FindIndex(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) FindIndex() argument 2214 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); FindIndex() local 2216 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); FindIndex() local 2218 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); FindIndex() local 2220 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); FindIndex() local 2228 BRANCH(TaggedIsHeapObject(callbackFnHandle), &arg0HeapObject, slowPath); FindIndex() local 2230 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); FindIndex() local 2379 Push(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Push() argument 2390 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Push() local 2392 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); Push() local 2395 BRANCH(IsArrayLengthWritable(glue, thisValue), &isLengthWritable, slowPath); Push() local 2398 BRANCH(IsStableJSArray(glue, thisValue), &isStability, slowPath); Push() local 2558 Includes(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Includes() argument 2568 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Includes() local 2570 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); Includes() local 2572 BRANCH(IsStableJSArray(glue, thisValue), &isStableJsArray, slowPath); Includes() local 2586 BRANCH(TaggedIsInt(fromIndexTemp), &secondArgIsInt, slowPath); Includes() local 2597 BRANCH(Int64GreaterThanOrEqual(numArgs, IntPtr(1)), &atLeastOneArg, slowPath); Includes() local 2651 BRANCH(BitOr(isHole, isUndef), slowPath, ¬HoleOrUndefValue); Includes() local 2679 From(GateRef glue, [[maybe_unused]] GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) From() argument 2685 BRANCH(TaggedIsString(item), &stringItem, slowPath); From() local 2689 BRANCH(TaggedIsUndefined(fn), &undefFn, slowPath); From() local 2693 BRANCH(Int32LessThan(strLen, Int32(builtins::StringToListResultCache::MAX_STRING_LENGTH)), &lessStrLen, slowPath); From() local 2698 BRANCH(TaggedIsUndefined(cacheArray), slowPath, &cacheDef); From() local 2707 BRANCH(TaggedIsUndefined(cacheStr), slowPath, &cacheStrDef); From() local 2714 BRANCH(FastStringEqual(glue, cacheStr, item), &strEqual, slowPath); From() local 2798 Fill(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Fill() argument 2805 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Fill() local 2807 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); Fill() local 2809 BRANCH(IsStableJSArray(glue, thisValue), &isStability, slowPath); Fill() local 2812 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); Fill() local 2820 BRANCH(IsCOWArray(prop), slowPath, &proNotCOWArray); Fill() local 3041 Splice(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Splice() argument 3051 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Splice() local 3053 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); Splice() local 3055 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); Splice() local 3057 BRANCH(IsStableJSArray(glue, thisValue), &isStability, slowPath); Splice() local 3060 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); Splice() local 3072 BRANCH(Int32LessThanOrEqual(argc, Int32(3)), &lessThreeArg, slowPath); // 3 : three arg Splice() local 3084 BRANCH(TaggedIsInt(taggedStart), &taggedStartInt, slowPath); Splice() local 3098 BRANCH(TaggedIsInt(argDeleteCount), &argDeleteCountInt, slowPath); Splice() local 3267 ToSpliced(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) ToSpliced() argument 3277 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); ToSpliced() local 3279 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); ToSpliced() local 3281 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); ToSpliced() local 3283 BRANCH(IsStableJSArray(glue, thisValue), &isStability, slowPath); ToSpliced() local 3286 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); ToSpliced() local 3299 BRANCH(Int32LessThanOrEqual(argc, Int32(3)), &lessThreeArg, slowPath); ToSpliced() local 3314 BRANCH(TaggedIsInt(taggedStart), &taggedStartInt, slowPath); ToSpliced() local 3333 BRANCH(TaggedIsInt(argDeleteCount), &argDeleteCountInt, slowPath); ToSpliced() local 3363 slowPath, ¬OverFlow); ToSpliced() local 3485 CopyWithin(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) CopyWithin() argument 3497 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &thisExists); CopyWithin() local 3499 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); CopyWithin() local 3501 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); CopyWithin() local 3503 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); CopyWithin() local 3505 BRANCH(IsStableJSArray(glue, thisValue), &isStability, slowPath); CopyWithin() local 3507 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); CopyWithin() local 3526 BRANCH(TaggedIsInt(targetTag), &targetTagIsInt, slowPath); CopyWithin() local 3533 BRANCH(TaggedIsInt(startTag), &startTagIsInt, slowPath); CopyWithin() local 3545 BRANCH(TaggedIsInt(endTag), &endTagIsInt, slowPath); CopyWithin() local 3701 Some(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Some() argument 3714 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &thisExists); Some() local 3716 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Some() local 3718 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); Some() local 3720 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); Some() local 3722 BRANCH(IsStableJSArray(glue, thisValue), &isStability, slowPath); Some() local 3724 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); Some() local 3734 BRANCH(TaggedIsHeapObject(callbackFnHandle), &arg0HeapObject, slowPath); Some() local 3736 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); Some() local 3902 Every(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) Every() argument 3917 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &thisExists); Every() local 3919 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); Every() local 3921 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); Every() local 3923 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); Every() local 3925 BRANCH(IsStableJSArray(glue, thisValue), &isStability, slowPath); Every() local 3927 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); Every() local 3933 BRANCH(TaggedIsHeapObject(callbackFnHandle), &arg0HeapObject, slowPath); Every() local 3935 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); Every() local 4091 ReduceRight(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) ReduceRight() argument 4104 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &thisExists); ReduceRight() local 4106 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); ReduceRight() local 4108 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); ReduceRight() local 4110 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); ReduceRight() local 4112 BRANCH(IsStableJSArray(glue, thisValue), &isStability, slowPath); ReduceRight() local 4114 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); ReduceRight() local 4129 BRANCH(Int64GreaterThanOrEqual(numArgs, IntPtr(1)), &atLeastOneArg, slowPath); ReduceRight() local 4132 BRANCH(TaggedIsHeapObject(callbackFnHandle), &callbackFnHandleHeapObject, slowPath); ReduceRight() local 4134 BRANCH(IsCallable(callbackFnHandle), &callbackFnHandleCallable, slowPath); ReduceRight() local 4294 FindLastIndex(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) FindLastIndex() argument 4307 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &thisExists); FindLastIndex() local 4309 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); FindLastIndex() local 4311 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); FindLastIndex() local 4313 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); FindLastIndex() local 4315 BRANCH(IsStableJSArray(glue, thisValue), &isStability, slowPath); FindLastIndex() local 4317 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); FindLastIndex() local 4327 BRANCH(TaggedIsHeapObject(callbackFnHandle), &arg0HeapObject, slowPath); FindLastIndex() local 4329 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); FindLastIndex() local 4486 FindLast(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) FindLast() argument 4499 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &thisExists); FindLast() local 4501 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); FindLast() local 4503 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); FindLast() local 4505 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); FindLast() local 4507 BRANCH(IsStableJSArray(glue, thisValue), &isStability, slowPath); FindLast() local 4509 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); FindLast() local 4519 BRANCH(TaggedIsHeapObject(callbackFnHandle), &arg0HeapObject, slowPath); FindLast() local 4521 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); FindLast() local 4755 BRANCH(TaggedIsHeapObject(newTarget), &newTargetIsHeapObject, &slowPath); GenArrayConstructor() local 4757 BRANCH(IsJSFunction(newTarget), &newTargetIsJSFunction, &slowPath); GenArrayConstructor() local 4789 BRANCH(TaggedIsNumber(arg0), &argIsNumber, &slowPath); GenArrayConstructor() local 4801 BRANCH(BitAnd(isGEZero, isLEMaxLen), &validIntLength, &slowPath); GenArrayConstructor() local 4817 BRANCH(BitAnd(doubleEqual, doubleLEMaxLen), &validDoubleLength, &slowPath); GenArrayConstructor() local 4829 BRANCH(Int64LessThan(numArgs, IntPtr(JSObject::MAX_GAP)), &lengthValid, &slowPath); GenArrayConstructor() local 4875 FlatMap(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) FlatMap() argument 4888 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &thisExists); FlatMap() local 4890 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); FlatMap() local 4892 BRANCH(IsJsArray(thisValue), &isJsArray, slowPath); FlatMap() local 4894 BRANCH(HasConstructor(thisValue), slowPath, &defaultConstr); FlatMap() local 4896 BRANCH(IsStableJSArray(glue, thisValue), &isStability, slowPath); FlatMap() local 4898 BRANCH(IsJsCOWArray(thisValue), slowPath, ¬COWArray); FlatMap() local 4909 BRANCH(TaggedIsHeapObject(callbackFnHandle), &arg0HeapObject, slowPath); FlatMap() local 4911 BRANCH(IsCallable(callbackFnHandle), &callable, slowPath); FlatMap() local 5192 IsArray([[maybe_unused]] GateRef glue, [[maybe_unused]] GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath) IsArray() argument 5212 BRANCH(Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::JS_PROXY))), slowPath, ¬HeapObj); IsArray() local [all...] |
H A D | builtins_number_stub_builder.cpp | 26 void BuiltinsNumberStubBuilder::ParseFloat(Variable *result, Label *exit, Label *slowPath)
in ParseFloat() argument 42 BRANCH(TaggedIsHeapObject(msg), &heapObj, slowPath);
in ParseFloat() local 44 BRANCH(IsString(msg), &stringObj, slowPath);
in ParseFloat() local 53 void BuiltinsNumberStubBuilder::ParseInt(Variable *result, Label *exit, Label *slowPath)
in ParseInt() argument 64 Branch(TaggedIsString(msg), &msgIsString, slowPath);
in ParseInt() local 72 Branch(TaggedIsInt(arg2), &radixIsInt, slowPath);
in ParseInt() local 86 void BuiltinsNumberStubBuilder::IsFinite(Variable *result, Label *exit, Label *slowPath)
in IsFinite() argument 94 BRANCH(False(), slowPath, &noSlowPath);
in IsFinite() local 125 void BuiltinsNumberStubBuilder::IsNaN(Variable *result, Label *exit, Label *slowPath)
in IsNaN() argument 133 BRANCH(False(), slowPath, in IsNaN() local 156 IsInteger(Variable *result, Label *exit, Label *slowPath) IsInteger() argument 164 BRANCH(False(), slowPath, &noSlowPath); IsInteger() local 192 IsSafeInteger(Variable *result, Label *exit, Label *slowPath) IsSafeInteger() argument 200 BRANCH(False(), slowPath, &noSlowPath); IsSafeInteger() local 253 BRANCH(TaggedIsHeapObject(newTarget), &newTargetIsHeapObject, &slowPath); GenNumberConstructor() local 260 BRANCH(TaggedIsNumber(value), &number, &slowPath); GenNumberConstructor() local 275 BRANCH(IsJSFunction(newTarget), &newTargetIsJSFunction, &slowPath); GenNumberConstructor() local 315 ToString(Variable *result, Label *exit, Label *slowPath) ToString() argument 322 BRANCH(TaggedIsInt(thisValue_), &thisIsInt, slowPath); ToString() local 333 BRANCH(TaggedIsInt(msg), &msgIsInt, slowPath); ToString() local [all...] |
H A D | builtins_stubs.cpp | 250 Label slowPath(env); \
252 builder.method(glue, thisValue, numArgs, &res, &exit, &slowPath); \
253 Bind(&slowPath); \
268 Label slowPath(env); \
271 builder.method(&res, &exit, &slowPath); \
272 Bind(&slowPath); \
287 Label slowPath(env); \
290 builder.method(&res, &exit, &slowPath); \
291 Bind(&slowPath); \
306 Label slowPath(en 410 BRANCH(TaggedIsHeapObject(newTarget), &newTargetIsHeapObject, &slowPath); DECLARE_BUILTINS() local 412 BRANCH(IsJSFunction(newTarget), &newTargetIsJSFunction, &slowPath); DECLARE_BUILTINS() local 463 BRANCH(TaggedIsHeapObject(newTarget), &newTargetIsHeapObject, &slowPath); DECLARE_BUILTINS() local 465 BRANCH(IsJSFunction(newTarget), &newTargetIsJSFunction, &slowPath); DECLARE_BUILTINS() local 483 BRANCH(TaggedIsNumber(value), &valueIsNumber, &slowPath); DECLARE_BUILTINS() local 493 BRANCH(Int64Equal(numArgs, IntPtr(3)), &threeArgs, &slowPath); // 3: year month day DECLARE_BUILTINS() local 500 BRANCH(IsNumberYearMonthDay(year, month, day), &numberYearMonthDay, &slowPath); DECLARE_BUILTINS() local [all...] |
H A D | builtins_string_stub_builder.cpp | 26 GateRef numArgs, Variable* res, Label *exit, Label *slowPath)
in FromCharCode() 47 BRANCH(Int64Equal(IntPtr(1), numArgs), &lengthIsOne, slowPath);
in FromCharCode() 99 Variable* res, Label *exit, Label *slowPath)
in CharAt() 119 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull);
in CharAt() local 122 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapobject, slowPath);
in CharAt() local 124 BRANCH(IsString(thisValue), &isString, slowPath);
in CharAt() local 140 BRANCH(TaggedIsDouble(posTag), &posTagIsDouble, slowPath);
in CharAt() local 173 Variable* res, Label *exit, Label *slowPath)
in CharCodeAt() 181 CheckParamsAndGetPosition(glue, thisValue, numArgs, &pos, exit, slowPath, &posIsValid);
in CharCodeAt() 247 Variable* res, Label *exit, Label *slowPath)
in CodePointAt() 25 FromCharCode(GateRef glue, [[maybe_unused]] GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) FromCharCode() argument 98 CharAt(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) CharAt() argument 172 CharCodeAt(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) CharCodeAt() argument 246 CodePointAt(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) CodePointAt() argument 281 CheckParamsAndGetPosition(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* pos, Label *exit, Label *slowPath, Label *posIsValid) CheckParamsAndGetPosition() argument 299 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); CheckParamsAndGetPosition() local 302 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapobject, slowPath); CheckParamsAndGetPosition() local 304 BRANCH(IsString(thisValue), &isString, slowPath); CheckParamsAndGetPosition() local 320 BRANCH(TaggedIsDouble(posTag), &posTagIsDouble, slowPath); CheckParamsAndGetPosition() local 337 IndexOf(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) IndexOf() argument 359 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); IndexOf() local 362 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapobject, slowPath); IndexOf() local 364 BRANCH(IsString(thisValue), &isString, slowPath); IndexOf() local 368 BRANCH(TaggedIsHeapObject(searchTag), &searchTagIsHeapObject, slowPath); IndexOf() local 370 BRANCH(IsString(searchTag), &isSearchString, slowPath); IndexOf() local 383 BRANCH(TaggedIsDouble(posTag), &posTagIsDouble, slowPath); IndexOf() local 436 Substring(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) Substring() argument 468 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); Substring() local 471 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapobject, slowPath); Substring() local 473 BRANCH(IsString(thisValue), &isString, slowPath); Substring() local 482 BRANCH(TaggedIsNumber(startTag), &startTagIsNumber, slowPath); Substring() local 484 BRANCH(TaggedIsInt(startTag), &startTagIsInt, slowPath); Substring() local 502 BRANCH(TaggedIsNumber(endTag), &endTagIsNumber, slowPath); Substring() local 504 BRANCH(TaggedIsInt(endTag), &endTagIsInt, slowPath); Substring() local 575 SubStr(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) SubStr() argument 600 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); SubStr() local 603 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapobject, slowPath); SubStr() local 605 BRANCH(IsString(thisValue), &isString, slowPath); SubStr() local 614 BRANCH(TaggedIsNumber(intStart), &intStartIsNumber, slowPath); SubStr() local 616 BRANCH(TaggedIsInt(intStart), &intStartIsInt, slowPath); SubStr() local 634 BRANCH(TaggedIsNumber(lengthTag), &lengthTagIsNumber, slowPath); SubStr() local 636 BRANCH(TaggedIsInt(lengthTag), &lengthTagIsInt, slowPath); SubStr() local 817 Replace(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *slowPath) Replace() argument 824 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); Replace() local 832 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapObj, slowPath); Replace() local 840 BRANCH(TaggedIsHeapObject(searchTag), &searchIsHeapObj, slowPath); Replace() local 843 BRANCH(TaggedIsHeapObject(replaceTag), &replaceIsHeapObj, slowPath); Replace() local 891 BRANCH(IsString(replHandle), &replHandleIsString, slowPath); Replace() local 968 Slice(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *slowPath) Slice() argument 980 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); Slice() local 986 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapObj, slowPath); Slice() local 988 BRANCH(IsString(thisValue), &isString, slowPath); Slice() local 1003 BRANCH(TaggedIsInt(startTag), &startTagIsInt, slowPath); Slice() local 1016 BRANCH(TaggedIsInt(endTag), &endTagIsInt, slowPath); Slice() local 1054 Trim(GateRef glue, GateRef thisValue, GateRef numArgs [[maybe_unused]], Variable *res, Label *exit, Label *slowPath) Trim() argument 1064 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); Trim() local 1070 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapObj, slowPath); Trim() local 1072 BRANCH(IsString(thisValue), &thisIsString, slowPath); Trim() local 1503 BRANCH(Int32LessThan(nextDollarIndex, Int32(0)), ¬Found, &slowPath); GetSubstitution() local 2111 Concat(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *slowPath) Concat() argument 2119 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); Concat() local 2125 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapObj, slowPath); Concat() local 2127 BRANCH(IsString(thisValue), &isString, slowPath); Concat() local 2152 BRANCH(TaggedIsString(arg0), &arg0IsValid, slowPath); Concat() local 2167 BRANCH(TaggedIsString(arg1), &arg1IsValid, slowPath); Concat() local 2180 BRANCH(TaggedIsString(arg2), &arg2IsValid, slowPath); Concat() local 2195 ToLowerCase(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *res, Label *exit, Label *slowPath) ToLowerCase() argument 2200 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); ToLowerCase() local 2206 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapObj, slowPath); ToLowerCase() local 2208 BRANCH(IsString(thisValue), &isString, slowPath); ToLowerCase() local 2215 BRANCH(IsUtf8String(thisValue), &isUtf8, slowPath); ToLowerCase() local 2416 LocaleCompare([[maybe_unused]] GateRef glue, GateRef thisValue, GateRef numArgs, [[maybe_unused]] Variable *res, [[maybe_unused]] Label *exit, Label *slowPath) LocaleCompare() argument 2423 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapObj, slowPath); LocaleCompare() local 2429 BRANCH(IsString(thisValue), &thisValueIsString, slowPath); LocaleCompare() local 2432 BRANCH(TaggedIsHeapObject(arg0), &arg0IsHeapObj, slowPath); LocaleCompare() local 2434 BRANCH(IsString(arg0), &fristArgIsString, slowPath); LocaleCompare() local 2468 GetStringIterator(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *res, Label *exit, Label *slowPath) GetStringIterator() argument 2475 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapObj, slowPath); GetStringIterator() local 2479 BRANCH(IsString(thisValue), &thisValueIsString, slowPath); GetStringIterator() local 2498 StringIteratorNext(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *res, Label *exit, Label *slowPath) StringIteratorNext() argument 2510 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapObj, slowPath); StringIteratorNext() local 2512 BRANCH(TaggedIsStringIterator(thisValue), &thisIsStringIterator, slowPath); StringIteratorNext() local 2517 BRANCH(TaggedIsHeapObject(str), &strIsHeapObj, slowPath); StringIteratorNext() local 2519 BRANCH(TaggedIsString(str), &strIsString, slowPath); StringIteratorNext() local 2764 StartsWith(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *slowPath) StartsWith() argument 2789 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); StartsWith() local 2792 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapobject, slowPath); StartsWith() local 2794 BRANCH(IsString(thisValue), &isString, slowPath); StartsWith() local 2798 BRANCH(TaggedIsHeapObject(searchTag), &searchTagIsHeapObject, slowPath); StartsWith() local 2800 BRANCH(IsString(searchTag), &isSearchString, slowPath); StartsWith() local 2814 BRANCH(TaggedIsDouble(posTag), &posTagIsDouble, slowPath); StartsWith() local 2878 EndsWith(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *slowPath) EndsWith() argument 2906 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &thisExists); EndsWith() local 2909 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapObject, slowPath); EndsWith() local 2911 BRANCH(IsString(thisValue), &thisIsString, slowPath); EndsWith() local 2917 BRANCH(TaggedIsHeapObject(searchTag), &searchTagIsHeapObject, slowPath); EndsWith() local 2919 BRANCH(IsString(searchTag), &searchTagIsString, slowPath); EndsWith() local 2928 BRANCH(TaggedIsNumber(posTag), &posTagIsNumber, slowPath); EndsWith() local 2930 BRANCH(TaggedIsInt(posTag), &posTagIsInt, slowPath); EndsWith() local 2994 TrimStart(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *res, Label *exit, Label *slowPath) TrimStart() argument 2999 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); TrimStart() local 3004 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapObj, slowPath); TrimStart() local 3006 BRANCH(IsString(thisValue), &thisIsString, slowPath); TrimStart() local 3014 TrimEnd(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *res, Label *exit, Label *slowPath) TrimEnd() argument 3019 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); TrimEnd() local 3024 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapObj, slowPath); TrimEnd() local 3026 BRANCH(IsString(thisValue), &thisIsString, slowPath); TrimEnd() local 3034 TrimLeft(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *res, Label *exit, Label *slowPath) TrimLeft() argument 3039 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); TrimLeft() local 3044 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapObj, slowPath); TrimLeft() local 3046 BRANCH(IsString(thisValue), &thisIsString, slowPath); TrimLeft() local 3054 TrimRight(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable *res, Label *exit, Label *slowPath) TrimRight() argument 3059 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); TrimRight() local 3064 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapObj, slowPath); TrimRight() local 3066 BRANCH(IsString(thisValue), &thisIsString, slowPath); TrimRight() local 3074 PadStart(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) PadStart() argument 3102 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); PadStart() local 3105 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapobject, slowPath); PadStart() local 3107 BRANCH(IsString(thisValue), &isString, slowPath); PadStart() local 3120 BRANCH(TaggedIsDouble(newLength), &lengthIsDouble, slowPath); PadStart() local 3146 BRANCH(TaggedIsHeapObject(panTag), &padTagIsHeapObject, slowPath); PadStart() local 3148 BRANCH(IsString(panTag), &isPanString, slowPath); PadStart() local 3151 BRANCH(Int32LessThanOrEqual(padStringLen, Int32(0)), slowPath, &padStringNotEmpty); PadStart() local 3202 PadEnd(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath) PadEnd() argument 3227 BRANCH(TaggedIsUndefinedOrNull(thisValue), slowPath, &objNotUndefinedAndNull); PadEnd() local 3230 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapobject, slowPath); PadEnd() local 3232 BRANCH(IsString(thisValue), &isString, slowPath); PadEnd() local 3245 BRANCH(TaggedIsDouble(newLength), &lengthIsDouble, slowPath); PadEnd() local 3272 BRANCH(TaggedIsHeapObject(panTag), &padTagIsHeapObject, slowPath); PadEnd() local 3274 BRANCH(IsString(panTag), &isPanString, slowPath); PadEnd() local [all...] |
H A D | containers_stub_builder.cpp | 24 GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type)
in ContainersCommonFuncCall() 55 BRANCH(IsContainer(tempObj, type), &objIsJSAPIVector, slowPath);
in ContainersCommonFuncCall() local 63 Jump(slowPath);
in ContainersCommonFuncCall() 69 Jump(slowPath);
in ContainersCommonFuncCall() 76 BRANCH(TaggedIsHeapObject(callbackFnHandle), &isHeapObj, slowPath);
in ContainersCommonFuncCall() local 80 Jump(slowPath);
in ContainersCommonFuncCall() 146 GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type)
in QueueCommonFuncCall() 178 BRANCH(IsContainer(tempObj, type), &objIsJSAPIVector, slowPath);
in QueueCommonFuncCall() local 186 Jump(slowPath);
in QueueCommonFuncCall() 192 Jump(slowPath);
in QueueCommonFuncCall() 23 ContainersCommonFuncCall(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type) ContainersCommonFuncCall() argument 145 QueueCommonFuncCall(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type) QueueCommonFuncCall() argument 199 BRANCH(TaggedIsHeapObject(callbackFnHandle), &isHeapObj, slowPath); QueueCommonFuncCall() local 254 DequeCommonFuncCall(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type) DequeCommonFuncCall() argument 287 BRANCH(IsContainer(tempObj, type), &objIsJSAPIVector, slowPath); DequeCommonFuncCall() local 308 BRANCH(TaggedIsHeapObject(callbackFnHandle), &isHeapObj, slowPath); DequeCommonFuncCall() local 366 ContainersLightWeightCall(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type) ContainersLightWeightCall() argument 398 BRANCH(IsContainer(tempObj, type), &objIsJSAPILightWeight, slowPath); ContainersLightWeightCall() local 419 BRANCH(TaggedIsHeapObject(callbackFnHandle), &isHeapObj, slowPath); ContainersLightWeightCall() local 476 ContainersHashCall(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type) ContainersHashCall() argument 513 BRANCH(IsContainer(tempObj, type), &objIsJSAPIHash, slowPath); ContainersHashCall() local 613 ContainersLinkedListCall(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* result, Label *exit, Label *slowPath, ContainersType type) ContainersLinkedListCall() argument 647 BRANCH(IsContainer(tempObj, type), &objIsJSAPILinkedList, slowPath); ContainersLinkedListCall() local [all...] |
H A D | builtins_array_stub_builder.h | 36 void method(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath); 40 void Sort(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *result, Label *exit, Label *slowPath); 43 Variable *result, Label *exit, Label *slowPath, GateRef hir = Circuit::NullGate()); 50 void ElementsKindHclassCompare(GateRef glue, GateRef arrayCls, Label *matchCls, Label *slowPath); 63 Variable *result, Label *exit, Label *slowPath, GateRef hir = Circuit::NullGate());
|
H A D | builtins_object_stub_builder.h | 35 void method(Variable *result, Label *exit, Label *slowPath);
41 void HasOwnProperty(Variable *result, Label *exit, Label *slowPath, GateRef thisValue, GateRef prop,
53 GateRef GetEnumElementEntries(GateRef glue, GateRef obj, Label *slowPath);
54 GateRef GetEnumPropertyEntries(GateRef glue, GateRef obj, Label *slowPath);
55 GateRef TestIntegrityLevel(GateRef glue, GateRef obj, GateRef level, Label *slowPath);
|
H A D | builtins_dataview_stub_builder.cpp | 26 GateRef numArgs, [[maybe_unused]] Variable* res, Label *exit, Label *slowPath)
in SetTypedValue() 32 BRANCH(TaggedIsHeapObject(thisValue), &thisIsHeapObject, slowPath);
in SetTypedValue() local 34 BRANCH(IsDataView(thisValue), &thisIsDataView, slowPath);
in SetTypedValue() local 38 BRANCH(TaggedIsInt(indexTagged), &indexIsInt, slowPath);
in SetTypedValue() local 49 BRANCH(Int32LessThan(index, Int32(0)), slowPath, &indexIsValid);
in SetTypedValue() local 52 BRANCH(TaggedIsNumber(value), &valueIsValid, slowPath);
in SetTypedValue() local 69 BRANCH(IsDetachedBuffer(buffer), slowPath, &checkOffset);
in SetTypedValue() local 75 BRANCH(Int32GreaterThan(Int32Add(index, elementSize), size), slowPath, &setValue);
in SetTypedValue() 103 GateRef numArgs, Variable* res, Label *exit, Label *slowPath);
105 GateRef numArgs, Variable* res, Label *exit, Label *slowPath);
25 SetTypedValue(GateRef glue, GateRef thisValue, GateRef numArgs, [[maybe_unused]] Variable* res, Label *exit, Label *slowPath) SetTypedValue() argument [all...] |
H A D | builtins_typedarray_stub_builder.h | 54 void DoSort(GateRef glue, GateRef receiver, Variable *result, Label *exit, Label *slowPath);
57 GateRef offset, GateRef jsType, Label *slowPath);
67 Label *exit, Label *slowPath, const DataViewType arrayType);
73 void method(GateRef glue, GateRef numArgs, GateRef end, Variable *result, Label *exit, Label *slowPath);
113 Variable *result, Label *exit, Label *slowPath, IterationKind iteratorKind);
|
H A D | builtins_object_stub_builder.cpp | 170 void BuiltinsObjectStubBuilder::ToString(Variable *result, Label *exit, Label *slowPath)
in ToString() argument 195 BRANCH(IsEcmaObject(thisValue_), &ecmaObj, slowPath);
in ToString() local 205 BRANCH(TaggedIsString(tag), slowPath, &defaultToString);
in ToString() local 210 BRANCH(IsJSObjectType(thisValue_, JSType::JS_OBJECT), &objectTag, slowPath);
in ToString() local 223 void BuiltinsObjectStubBuilder::Create(Variable *result, Label *exit, Label *slowPath)
in Create() argument 231 BRANCH(LogicOrBuilder(env).Or(protoCheck).Or(TaggedIsSharedObj(proto)).Done(), slowPath, &newObject);
in Create() 236 BRANCH(TaggedIsUndefined(propertiesObject), &noProperties, slowPath);
in Create() local 596 void BuiltinsObjectStubBuilder::Assign(Variable *result, Label *exit, Label *slowPath)
in Assign() argument 604 BRANCH(IsJSObjectType(target, JSType::JS_OBJECT), &jsObject, slowPath);
in Assign() local 637 Jump(slowPath);
in Assign() 642 HasOwnProperty(Variable *result, Label *exit, Label *slowPath) HasOwnProperty() argument 648 HasOwnProperty(Variable *result, Label *exit, Label *slowPath, GateRef thisValue, GateRef prop, GateRef hir) HasOwnProperty() argument 655 BRANCH(TaggedIsHeapObject(thisValue), &isHeapObject, slowPath); HasOwnProperty() local 657 BRANCH(TaggedIsRegularObject(thisValue), &valid, slowPath); HasOwnProperty() local 662 BRANCH(TaggedIsString(prop), &keyIsString, slowPath); // 2 : two args HasOwnProperty() local 1217 Keys(Variable *result, Label *exit, Label *slowPath) Keys() argument 1231 BRANCH(IsNotSlowObjectKey(obj), &isFast, slowPath); Keys() local 1279 GetPrototypeOf(Variable *result, Label *exit, Label *slowPath) GetPrototypeOf() argument 1295 BRANCH(IsEcmaObject(obj), &isEcmaObject, slowPath); GetPrototypeOf() local 1298 BRANCH(IsJsProxy(obj), slowPath, ¬JsProxy); GetPrototypeOf() local 1310 SetPrototypeOf(Variable *result, Label *exit, Label *slowPath) SetPrototypeOf() argument 1317 BRANCH(TaggedIsUndefinedOrNull(obj), slowPath, &checkJsObj); SetPrototypeOf() local 1475 GetOwnPropertyNames(Variable *result, Label *exit, Label *slowPath) GetOwnPropertyNames() argument 1490 BRANCH(IsNotSlowObjectKey(obj), &isFast, slowPath); GetOwnPropertyNames() local 1583 GetOwnPropertySymbols(Variable *result, Label *exit, Label *slowPath) GetOwnPropertySymbols() argument 1598 BRANCH(IsNotSlowObjectKey(obj), &isFast, slowPath); GetOwnPropertySymbols() local 1850 Entries(Variable* result, Label* exit, Label* slowPath) Entries() argument 1865 BRANCH(IsNotSlowObjectKey(obj), &isFast, slowPath); Entries() local 1922 GetEnumElementEntries(GateRef glue, GateRef obj, Label* slowPath) GetEnumElementEntries() argument 1943 BRANCH(TaggedIsString(els), slowPath, ¬PrimitiveString); GetEnumElementEntries() local 1945 BRANCH(IsDictionaryMode(elements), slowPath, ¬DictMode); GetEnumElementEntries() local 1985 GetEnumPropertyEntries(GateRef glue, GateRef obj, Label* slowPath) GetEnumPropertyEntries() argument 1993 BRANCH(IsDictionaryMode(array), slowPath, ¬Dictionary); GetEnumPropertyEntries() local 2054 IsFrozen(Variable *result, Label *exit, Label *slowPath) IsFrozen() argument 2086 IsSealed(Variable *result, Label *exit, Label *slowPath) IsSealed() argument 2118 TestIntegrityLevel(GateRef glue, GateRef obj, GateRef level, Label *slowPath) TestIntegrityLevel() argument 2135 BRANCH(IsJsProxy(obj), slowPath, &isNotJsProxy); TestIntegrityLevel() local 2137 BRANCH(IsTypedArray(obj), slowPath, &isNotTypedArray); TestIntegrityLevel() local 2139 BRANCH(IsModuleNamespace(obj), slowPath, &isNotModuleNamespace); TestIntegrityLevel() local 2144 BRANCH(IsDictionaryModeByHClass(cls), slowPath, ¬DicMode); TestIntegrityLevel() local 2150 BRANCH(Int32Equal(lengthOfElements, Int32(0)), ¬HasElementKey, slowPath); TestIntegrityLevel() local 2223 GetOwnPropertyDescriptors(Variable *result, Label *exit, Label *slowPath) GetOwnPropertyDescriptors() argument 2238 BRANCH(IsNotSlowObjectKey(obj), &isFast, slowPath); GetOwnPropertyDescriptors() local 2243 BRANCH(IsDictionaryMode(properties), slowPath, ¬DictMode); GetOwnPropertyDescriptors() local 2248 BRANCH(Int32Equal(numOfElements, Int32(0)), &onlyProperties, slowPath); GetOwnPropertyDescriptors() local [all...] |
H A D | containers_stub_builder.h | 62 Variable* result, Label *exit, Label *slowPath, ContainersType type);
65 Variable* result, Label *exit, Label *slowPath, ContainersType type);
68 Variable* result, Label *exit, Label *slowPath, ContainersType type);
71 Variable* result, Label *exit, Label *slowPath, ContainersType type);
74 Variable* result, Label *exit, Label *slowPath, ContainersType type);
77 Variable* result, Label *exit, Label *slowPath, ContainersType type);
|
H A D | builtins_string_stub_builder.h | 38 void method(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label *slowPath);
42 void LocaleCompare(GateRef glue, GateRef thisValue, GateRef numArgs, Variable *res, Label *exit, Label *slowPath);
44 Variable *res, Label *exit, Label *slowPath);
92 Variable* pos, Label *exit, Label *slowPath, Label *posIsValid);
|
H A D | builtins_regexp_stub_builder.cpp | 22 [[maybe_unused]] GateRef numArgs, Variable* result, Label* exit, Label *slowPath) in GetFlags() 26 BRANCH(IsEcmaObject(thisValue), &isEcmaObject, slowPath); in GetFlags() local 30 BRANCH(fastRegExp, slowPath, &fastRegExpPath); in GetFlags() 21 GetFlags(GateRef glue, GateRef thisValue, [[maybe_unused]] GateRef numArgs, Variable* result, Label* exit, Label *slowPath) GetFlags() argument
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | access_object_stub_builder.cpp | 32 Label slowPath(env); in LoadObjByName() 44 BRANCH(TaggedIsHole(*result), &slowPath, &exit); in LoadObjByName() 49 Jump(&slowPath); in LoadObjByName() 51 Bind(&slowPath); in LoadObjByName() 72 Label slowPath(env); in LoadPrivatePropertyByName() 83 BRANCH(TaggedIsHole(*result), &slowPath, &exit); in LoadPrivatePropertyByName() 88 Jump(&slowPath); in LoadPrivatePropertyByName() 90 Bind(&slowPath); in LoadPrivatePropertyByName() 109 Label slowPath(env); in DeprecatedLoadObjByName() 112 BRANCH(TaggedIsHeapObject(receiver), &fastPath, &slowPath); in DeprecatedLoadObjByName() local 277 BRANCH(TaggedIsHeapObject(receiver), &fastPath, &slowPath); DeprecatedLoadObjByValue() local 350 BRANCH(TaggedIsHeapObject(receiver), &isHeapObject, &slowPath); StoreOwnByIndex() local 353 BRANCH(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); StoreOwnByIndex() local 356 BRANCH(IsClassPrototype(receiver), &slowPath, ¬ClassPrototype); StoreOwnByIndex() local 577 BRANCH(TaggedIsHeapObject(receiver), &isHeapObject, &slowPath); StOwnByIndex() local 580 BRANCH(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); StOwnByIndex() local 583 BRANCH(IsClassPrototype(receiver), &slowPath, ¬ClassPrototype); StOwnByIndex() local 609 BRANCH(TaggedIsHeapObject(receiver), &isHeapObject, &slowPath); StOwnByValue() local 612 BRANCH(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); StOwnByValue() local 615 BRANCH(IsClassPrototype(receiver), &slowPath, ¬ClassPrototype); StOwnByValue() local 641 BRANCH(IsJSObject(receiver), &isJSObject, &slowPath); StOwnByName() local 644 BRANCH(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); StOwnByName() local 647 BRANCH(IsClassPrototype(receiver), &slowPath, ¬ClassPrototype); StOwnByName() local 676 BRANCH(TaggedIsHeapObject(receiver), &isHeapObject, &slowPath); StOwnByValueWithNameSet() local 679 BRANCH(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); StOwnByValueWithNameSet() local 682 BRANCH(IsClassPrototype(receiver), &slowPath, ¬ClassPrototype); StOwnByValueWithNameSet() local 763 BRANCH(TaggedIsHeapObject(receiver), &fastPath, &slowPath); StObjByIndex() local 789 BRANCH(TaggedIsHeapObject(receiver), &fastPath, &slowPath); LdObjByIndex() local [all...] |
H A D | ic_stub_builder.h | 47 void LoadICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success, 49 void StoreICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success); 50 void LoadICByValue(Variable* result, Label* tryFastPath, Label *slowPath, Label *success, 52 void StoreICByValue(Variable* result, Label* tryFastPath, Label *slowPath, Label *success); 53 void TryLoadGlobalICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success); 54 void TryStoreGlobalICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success); 58 void SetLabels(Label* tryFastPath, Label *slowPath, Label *success) in SetLabels() argument 61 slowPath_ = slowPath; in SetLabels()
|
H A D | ic_stub_builder.cpp | 152 Variable *result, Label *tryFastPath, Label *slowPath, Label *success, ProfileOperation callback) in LoadICByName() 157 SetLabels(tryFastPath, slowPath, success); in LoadICByName() 168 void ICStubBuilder::StoreICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success) in StoreICByName() argument 173 SetLabels(tryFastPath, slowPath, success); in StoreICByName() 187 Variable *result, Label *tryFastPath, Label *slowPath, Label *success, ProfileOperation callback) in LoadICByValue() 199 SetLabels(tryFastPath, slowPath, success); in LoadICByValue() 247 void ICStubBuilder::StoreICByValue(Variable* result, Label* tryFastPath, Label *slowPath, Label *success) in StoreICByValue() argument 252 SetLabels(tryFastPath, slowPath, success); in StoreICByValue() 272 void ICStubBuilder::TryLoadGlobalICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success) in TryLoadGlobalICByName() argument 277 SetLabels(tryFastPath, slowPath, succes in TryLoadGlobalICByName() 151 LoadICByName( Variable *result, Label *tryFastPath, Label *slowPath, Label *success, ProfileOperation callback) LoadICByName() argument 186 LoadICByValue( Variable *result, Label *tryFastPath, Label *slowPath, Label *success, ProfileOperation callback) LoadICByValue() argument 293 TryStoreGlobalICByName(Variable* result, Label* tryFastPath, Label *slowPath, Label *success) TryStoreGlobalICByName() argument [all...] |
H A D | operations_stub_builder.cpp | 167 Label slowPath(env); in Less() 186 BRANCH(TaggedIsNumber(left), &leftIsNumber, &slowPath); in Less() local 190 BRANCH(TaggedIsNumber(right), &rightIsNumber, &slowPath); in Less() local 252 Bind(&slowPath); in Less() 274 Label slowPath(env); in LessEq() 293 BRANCH(TaggedIsNumber(left), &leftIsNumber, &slowPath); in LessEq() local 297 BRANCH(TaggedIsNumber(right), &rightIsNumber, &slowPath); in LessEq() local 359 Bind(&slowPath); in LessEq() 381 Label slowPath(env); in Greater() 399 BRANCH(TaggedIsNumber(left), &leftIsNumber, &slowPath); in Greater() local 403 BRANCH(TaggedIsNumber(right), &rightIsNumber, &slowPath); Greater() local 505 BRANCH(TaggedIsNumber(left), &leftIsNumber, &slowPath); GreaterEq() local 509 BRANCH(TaggedIsNumber(right), &rightIsNumber, &slowPath); GreaterEq() local 1268 BRANCH(TaggedIsDouble(value), &valueIsDouble, &slowPath); Inc() local 1316 BRANCH(TaggedIsDouble(value), &valueIsDouble, &slowPath); Dec() local [all...] |
H A D | interpreter_stub.cpp | 134 BRANCH(Int32LessThan(*varHotnessCounter, Int32(0)), &slowPath, &dispatch); \
135 Bind(&slowPath); \
355 Label slowPath(env); \
362 BRANCH(IsEcmaObject(receiver), &isEcmaObj, &slowPath); \
384 BRANCH(IsSpecialIndexedObj(jsType), &slowPath, &findProperty); \
393 BRANCH(Int32NotEqual(entry, Int32(-1)), &slowPath, &loopExit); \
400 BRANCH(Int32NotEqual(entry, Int32(-1)), &slowPath, &loopExit); \
412 BRANCH(newIc, &icPath, &slowPath); \
422 Bind(&slowPath); \
544 Label slowPath(en in DECLARE_ASM_HANDLER() 557 BRANCH(HasPendingException(glue), &slowPath, &dispatch); DECLARE_ASM_HANDLER() local 610 BRANCH(HasPendingException(glue), &slowPath, &dispatch); DECLARE_ASM_HANDLER() local 1545 BRANCH(TaggedIsHeapObject(superCtor), &ctorIsHeapObject, &slowPath); DECLARE_ASM_HANDLER() local 1547 BRANCH(IsJSFunction(superCtor), &ctorIsJSFunction, &slowPath); DECLARE_ASM_HANDLER() local 1549 BRANCH(IsConstructor(superCtor), &ctorIsConstructor, &slowPath); DECLARE_ASM_HANDLER() local 1551 BRANCH(TaggedIsUndefined(newTarget), &slowPath, &normalPath); DECLARE_ASM_HANDLER() local 1806 BRANCH(TaggedIsHeapObject(receiver), &isHeapObject, &slowPath); DECLARE_ASM_HANDLER() local 1809 BRANCH(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); DECLARE_ASM_HANDLER() local 1812 BRANCH(IsClassPrototype(receiver), &slowPath, ¬ClassPrototype); DECLARE_ASM_HANDLER() local 1818 BRANCH(TaggedIsHole(result), &slowPath, ¬Hole); DECLARE_ASM_HANDLER() local 1839 BRANCH(TaggedIsHeapObject(receiver), &isHeapObject, &slowPath); DECLARE_ASM_HANDLER() local 1842 BRANCH(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); DECLARE_ASM_HANDLER() local 1845 BRANCH(IsClassPrototype(receiver), &slowPath, ¬ClassPrototype); DECLARE_ASM_HANDLER() local 1851 BRANCH(TaggedIsHole(result), &slowPath, ¬Hole); DECLARE_ASM_HANDLER() local 1913 BRANCH(TaggedIsHeapObject(receiver), &fastPath, &slowPath); DECLARE_ASM_HANDLER() local 1918 BRANCH(TaggedIsHole(result), &slowPath, ¬Hole); DECLARE_ASM_HANDLER() local 1939 BRANCH(TaggedIsHeapObject(receiver), &fastPath, &slowPath); DECLARE_ASM_HANDLER() local 1944 BRANCH(TaggedIsHole(result), &slowPath, ¬Hole); DECLARE_ASM_HANDLER() local 1964 BRANCH(TaggedIsHeapObject(receiver), &fastPath, &slowPath); DECLARE_ASM_HANDLER() local 1969 BRANCH(TaggedIsHole(result), &slowPath, ¬Hole); DECLARE_ASM_HANDLER() local 2015 BRANCH(TaggedIsHeapObject(receiver), &isHeapObject, &slowPath); DECLARE_ASM_HANDLER() local 2018 BRANCH(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); DECLARE_ASM_HANDLER() local 2021 BRANCH(IsClassPrototype(receiver), &slowPath, ¬ClassPrototype); DECLARE_ASM_HANDLER() local 2027 BRANCH(TaggedIsHole(result), &slowPath, ¬Hole); DECLARE_ASM_HANDLER() local 2158 BRANCH(TaggedIsHeapObject(receiver), &isHeapObject, &slowPath); DECLARE_ASM_HANDLER() local 2161 BRANCH(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); DECLARE_ASM_HANDLER() local 2164 BRANCH(IsClassPrototype(receiver), &slowPath, ¬ClassPrototype); DECLARE_ASM_HANDLER() local 2168 BRANCH(TaggedIsHole(res), &slowPath, ¬Hole); DECLARE_ASM_HANDLER() local 2201 BRANCH(TaggedIsHeapObject(receiver), &isHeapObject, &slowPath); DECLARE_ASM_HANDLER() local 2204 BRANCH(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); DECLARE_ASM_HANDLER() local 2207 BRANCH(IsClassPrototype(receiver), &slowPath, ¬ClassPrototype); DECLARE_ASM_HANDLER() local 2211 BRANCH(TaggedIsHole(res), &slowPath, ¬Hole); DECLARE_ASM_HANDLER() local 2242 BRANCH(IsJSObject(receiver), &isJSObject, &slowPath); DECLARE_ASM_HANDLER() local 2246 BRANCH(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); DECLARE_ASM_HANDLER() local 2250 BRANCH(IsClassPrototype(receiver), &slowPath, &fastPath); DECLARE_ASM_HANDLER() local 2280 BRANCH(IsJSObject(receiver), &isJSObject, &slowPath); DECLARE_ASM_HANDLER() local 2284 BRANCH(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); DECLARE_ASM_HANDLER() local 2288 BRANCH(IsClassPrototype(receiver), &slowPath, &fastPath); DECLARE_ASM_HANDLER() local 3543 BRANCH(TaggedIsHeapObject(superCtor), &ctorIsHeapObject, &slowPath); DECLARE_ASM_HANDLER() local 3545 BRANCH(IsJSFunction(superCtor), &ctorIsJSFunction, &slowPath); DECLARE_ASM_HANDLER() local 3547 BRANCH(IsConstructor(superCtor), &ctorIsConstructor, &slowPath); DECLARE_ASM_HANDLER() local 3549 BRANCH(TaggedIsUndefined(newTarget), &slowPath, &fastPath); DECLARE_ASM_HANDLER() local 3742 BRANCH(TaggedIsHeapObject(receiver), &fastPath, &slowPath); DECLARE_ASM_HANDLER() local 3747 BRANCH(TaggedIsHole(result), &slowPath, ¬Hole); DECLARE_ASM_HANDLER() local 3767 BRANCH(TaggedIsHeapObject(receiver), &fastPath, &slowPath); DECLARE_ASM_HANDLER() local 3772 BRANCH(TaggedIsHole(result), &slowPath, ¬Hole); DECLARE_ASM_HANDLER() local 3792 BRANCH(TaggedIsHeapObject(receiver), &fastPath, &slowPath); DECLARE_ASM_HANDLER() local 3797 BRANCH(TaggedIsHole(result), &slowPath, ¬Hole); DECLARE_ASM_HANDLER() local 3818 BRANCH(TaggedIsHeapObject(receiver), &fastPath, &slowPath); DECLARE_ASM_HANDLER() local 3823 BRANCH(TaggedIsHole(result), &slowPath, ¬Hole); DECLARE_ASM_HANDLER() local 4620 BRANCH(TaggedIsHeapObject(ctor), &ctorIsHeapObject, &slowPath); DECLARE_ASM_HANDLER() local 4622 BRANCH(IsJSFunction(ctor), &ctorIsJSFunction, &slowPath); DECLARE_ASM_HANDLER() local 4624 BRANCH(IsConstructor(ctor), &fastPath, &slowPath); DECLARE_ASM_HANDLER() local 4692 BRANCH(TaggedIsHeapObject(ctor), &ctorIsHeapObject, &slowPath); DECLARE_ASM_HANDLER() local 4694 BRANCH(IsJSFunction(ctor), &ctorIsJSFunction, &slowPath); DECLARE_ASM_HANDLER() local 4696 BRANCH(IsConstructor(ctor), &fastPath, &slowPath); DECLARE_ASM_HANDLER() local 4765 BRANCH(TaggedIsHeapObject(ctor), &ctorIsHeapObject, &slowPath); DECLARE_ASM_HANDLER() local 4767 BRANCH(IsJSFunction(ctor), &ctorIsJSFunction, &slowPath); DECLARE_ASM_HANDLER() local 4769 BRANCH(IsConstructor(ctor), &fastPath, &slowPath); DECLARE_ASM_HANDLER() local [all...] |
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
H A D | encode_visitor.cpp | 718 auto slowPath = enc->GetCodegen()->CreateSlowPath<SlowPathRefCheck>(inst, eid); in VisitRefTypeCheck() local 719 slowPath->SetRegs(arrayReg, refReg); in VisitRefTypeCheck() 720 slowPath->CreateBackLabel(encoder); in VisitRefTypeCheck() 722 encoder->EncodeJump(slowPath->GetBackLabel(), refReg, Condition::EQ); in VisitRefTypeCheck() 732 encoder->EncodeJump(slowPath->GetBackLabel(), tmpReg, tmpReg1, Condition::EQ); in VisitRefTypeCheck() 736 encoder->EncodeJump(slowPath->GetLabel(), tmpReg1, Condition::NE); in VisitRefTypeCheck() 737 slowPath->BindBackLabel(encoder); in VisitRefTypeCheck() 772 auto slowPath = in VisitDeoptimizeIf() local 775 enc->GetEncoder()->EncodeJump(slowPath->GetLabel(), src, Condition::NE); in VisitDeoptimizeIf() 795 auto slowPath in VisitDeoptimizeCompare() local 861 auto slowPath = VisitLoadString() local 929 auto slowPath = enc->GetCodegen()->CreateSlowPath<SlowPathUnresolved>(inst, EntrypointId::GET_FIELD_OFFSET); VisitResolveObjectField() local 1112 auto slowPath = enc->GetCodegen()->CreateSlowPath<SlowPathEntrypoint>(inst, EntrypointId::INITIALIZE_CLASS); VisitInitClass() local 1169 auto slowPath = enc->GetCodegen()->CreateSlowPath<SlowPathUnresolved>(inst, EntrypointId::RESOLVE_CLASS); FillLoadClassUnresolved() local 1275 auto slowPath = enc->GetCodegen()->CreateSlowPath<SlowPathEntrypoint>(inst, EntrypointId::INITIALIZE_CLASS); VisitLoadAndInitClass() local 1303 auto slowPath = enc->GetCodegen()->CreateSlowPath<SlowPathUnresolved>(inst, ENTRYPOINT_ID); VisitUnresolvedLoadAndInitClass() local 1351 auto slowPath = enc->GetCodegen()->CreateSlowPath<SlowPathUnresolved>(inst, entrypoint); VisitResolveObjectFieldStatic() local 1493 auto slowPath = codegen->CreateSlowPath<SlowPathUnresolved>(inst, EntrypointId::RESOLVE_CLASS_OBJECT); VisitUnresolvedLoadType() local 1544 auto slowPath = enc->GetCodegen()->CreateSlowPath<SlowPathEntrypoint>(inst, eid); FillUnresolvedClass() local 1622 auto slowPath = enc->GetCodegen()->CreateSlowPath<SlowPathEntrypoint>(inst, eid); FillArrayClass() local 1644 auto slowPath = enc->GetCodegen()->CreateSlowPath<SlowPathEntrypoint>(inst, eid); FillInterfaceClass() local 1674 auto slowPath = enc->GetCodegen()->CreateSlowPath<SlowPathCheckCast>(inst, EntrypointId::CLASS_CAST_EXCEPTION); FillCheckCast() local 1744 auto slowPath = enc->GetCodegen()->CreateSlowPath<SlowPathEntrypoint>(inst, EntrypointId::IS_INSTANCE); FillIsInstanceUnresolved() local 1850 auto slowPath = enc->GetCodegen()->CreateSlowPath<SlowPathEntrypoint>(inst, EntrypointId::IS_INSTANCE); FillIsInstanceCaseArrayClass() local 1874 auto slowPath = enc->GetCodegen()->CreateSlowPath<SlowPathEntrypoint>(inst, EntrypointId::IS_INSTANCE); FillIsInstanceCaseInterface() local 2232 auto slowPath = codegen->CreateSlowPath<SlowPathEntrypoint>(inst, EntrypointId::SAFEPOINT); VisitSafePoint() local 2320 auto slowPath = enc->GetCodegen()->CreateSlowPath<SlowPathDeoptimize>(inst, DeoptimizeType::OVERFLOW); VisitAddOverflowCheck() local 2345 auto slowPath = enc->GetCodegen()->CreateSlowPath<SlowPathDeoptimize>(inst, DeoptimizeType::OVERFLOW); VisitSubOverflowCheck() local 2356 auto slowPath = enc->GetCodegen()->CreateSlowPath<SlowPathDeoptimize>(inst, DeoptimizeType::OVERFLOW); VisitNegOverflowAndZeroCheck() local [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/baseline/ |
H A D | baseline_stubs.cpp | 53 BRANCH(Int32LessThan(*varHotnessCounter, Int32(0)), &slowPath, &dispatch); \ 54 Bind(&slowPath); \ 196 Label slowPath(env); \ 203 BRANCH(IsEcmaObject(receiver), &isEcmaObj, &slowPath); \ 225 BRANCH(IsSpecialIndexedObj(jsType), &slowPath, &findProperty); \ 234 BRANCH(Int32NotEqual(entry, Int32(-1)), &slowPath, &loopExit); \ 241 BRANCH(Int32NotEqual(entry, Int32(-1)), &slowPath, &loopExit); \ 253 BRANCH(newIc, &icPath, &slowPath); \ 263 Bind(&slowPath); \ 416 Label slowPath(en in GenerateCircuit() 429 Branch(HasPendingException(glue), &slowPath, &dispatch); GenerateCircuit() local 1426 Branch(TaggedIsHeapObject(superCtor), &ctorIsHeapObject, &slowPath); GenerateCircuit() local 1428 Branch(IsJSFunction(superCtor), &ctorIsJSFunction, &slowPath); GenerateCircuit() local 1430 Branch(IsConstructor(superCtor), &ctorIsConstructor, &slowPath); GenerateCircuit() local 1432 Branch(TaggedIsUndefined(newTarget), &slowPath, &fastPath); GenerateCircuit() local 1675 Branch(TaggedIsHeapObject(superCtor), &ctorIsHeapObject, &slowPath); GenerateCircuit() local 1677 Branch(IsJSFunction(superCtor), &ctorIsJSFunction, &slowPath); GenerateCircuit() local 1679 Branch(IsConstructor(superCtor), &ctorIsConstructor, &slowPath); GenerateCircuit() local 1681 Branch(TaggedIsUndefined(newTarget), &slowPath, &normalPath); GenerateCircuit() local 2338 Branch(TaggedIsHeapObject(receiver), &isHeapObject, &slowPath); GenerateCircuit() local 2341 Branch(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); GenerateCircuit() local 2344 Branch(IsClassPrototype(receiver), &slowPath, ¬ClassPrototype); GenerateCircuit() local 2350 Branch(TaggedIsHole(result), &slowPath, ¬Hole); GenerateCircuit() local 2374 Branch(TaggedIsHeapObject(receiver), &isHeapObject, &slowPath); GenerateCircuit() local 2377 Branch(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); GenerateCircuit() local 2380 Branch(IsClassPrototype(receiver), &slowPath, ¬ClassPrototype); GenerateCircuit() local 2386 Branch(TaggedIsHole(result), &slowPath, ¬Hole); GenerateCircuit() local 2459 Branch(TaggedIsHeapObject(acc), &fastPath, &slowPath); GenerateCircuit() local 2464 Branch(TaggedIsHole(result), &slowPath, ¬Hole); GenerateCircuit() local 2488 Branch(TaggedIsHeapObject(acc), &fastPath, &slowPath); GenerateCircuit() local 2493 Branch(TaggedIsHole(result), &slowPath, ¬Hole); GenerateCircuit() local 2516 Branch(TaggedIsHeapObject(receiver), &fastPath, &slowPath); GenerateCircuit() local 2521 Branch(TaggedIsHole(result), &slowPath, ¬Hole); GenerateCircuit() local 2545 Branch(TaggedIsHeapObject(receiver), &fastPath, &slowPath); GenerateCircuit() local 2550 Branch(TaggedIsHole(result), &slowPath, ¬Hole); GenerateCircuit() local 2660 Branch(HasPendingException(glue), &slowPath, &dispatch); GenerateCircuit() local 2933 Branch(IsJSObject(receiver), &isJSObject, &slowPath); GenerateCircuit() local 2937 Branch(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); GenerateCircuit() local 2941 Branch(IsClassPrototype(receiver), &slowPath, &fastPath); GenerateCircuit() local 2979 Branch(IsJSObject(receiver), &isJSObject, &slowPath); GenerateCircuit() local 2983 Branch(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); GenerateCircuit() local 2987 Branch(IsClassPrototype(receiver), &slowPath, &fastPath); GenerateCircuit() local 3117 Branch(TaggedIsHeapObject(receiver), &isHeapObject, &slowPath); GenerateCircuit() local 3120 Branch(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); GenerateCircuit() local 3123 Branch(IsClassPrototype(receiver), &slowPath, ¬ClassPrototype); GenerateCircuit() local 3127 Branch(TaggedIsHole(res), &slowPath, ¬Hole); GenerateCircuit() local 3165 Branch(TaggedIsHeapObject(receiver), &isHeapObject, &slowPath); GenerateCircuit() local 3168 Branch(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); GenerateCircuit() local 3171 Branch(IsClassPrototype(receiver), &slowPath, ¬ClassPrototype); GenerateCircuit() local 3175 Branch(TaggedIsHole(res), &slowPath, ¬Hole); GenerateCircuit() local 3646 Branch(TaggedIsHeapObject(ctor), &ctorIsHeapObject, &slowPath); GenerateCircuit() local 3648 Branch(IsJSFunction(ctor), &ctorIsJSFunction, &slowPath); GenerateCircuit() local 3650 Branch(IsConstructor(ctor), &fastPath, &slowPath); GenerateCircuit() local 3866 Branch(TaggedIsHeapObject(ctor), &ctorIsHeapObject, &slowPath); GenerateCircuit() local 3868 Branch(IsJSFunction(ctor), &ctorIsJSFunction, &slowPath); GenerateCircuit() local 3870 Branch(IsConstructor(ctor), &fastPath, &slowPath); GenerateCircuit() local 3956 Branch(TaggedIsHeapObject(ctor), &ctorIsHeapObject, &slowPath); GenerateCircuit() local 3958 Branch(IsJSFunction(ctor), &ctorIsJSFunction, &slowPath); GenerateCircuit() local 3960 Branch(IsConstructor(ctor), &fastPath, &slowPath); GenerateCircuit() local 4284 Branch(TaggedIsHeapObject(acc), &fastPath, &slowPath); GenerateCircuit() local 4289 Branch(TaggedIsHole(result), &slowPath, ¬Hole); GenerateCircuit() local 4341 Branch(TaggedIsHeapObject(receiver), &fastPath, &slowPath); GenerateCircuit() local 4346 Branch(TaggedIsHole(result), &slowPath, ¬Hole); GenerateCircuit() local 4386 Branch(TaggedIsHeapObject(receiver), &isHeapObject, &slowPath); GenerateCircuit() local 4389 Branch(IsClassConstructor(receiver), &slowPath, ¬ClassConstructor); GenerateCircuit() local 4392 Branch(IsClassPrototype(receiver), &slowPath, ¬ClassPrototype); GenerateCircuit() local 4398 Branch(TaggedIsHole(result), &slowPath, ¬Hole); GenerateCircuit() local 5073 Branch(TaggedIsHeapObject(receiver), &fastPath, &slowPath); GenerateCircuit() local 5079 Branch(TaggedIsHole(result), &slowPath, ¬Hole); GenerateCircuit() local [all...] |