Home
last modified time | relevance | path

Searched refs:JS_ANY (Results 1 – 25 of 33) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/
Dtest_stubs_signature.cpp23 ArgumentsOrder::DEFAULT_ORDER, VariableType::JS_ANY()); in DEF_CALL_SIGNATURE()
28 VariableType::JS_ANY(), // calltarget in DEF_CALL_SIGNATURE()
29 VariableType::JS_ANY(), // newTarget in DEF_CALL_SIGNATURE()
30 VariableType::JS_ANY(), // thisTarget in DEF_CALL_SIGNATURE()
31 VariableType::JS_ANY(), // a in DEF_CALL_SIGNATURE()
32 VariableType::JS_ANY(), // b in DEF_CALL_SIGNATURE()
42 ArgumentsOrder::DEFAULT_ORDER, VariableType::JS_ANY()); in DEF_CALL_SIGNATURE()
47 VariableType::JS_ANY(), // calltarget in DEF_CALL_SIGNATURE()
48 VariableType::JS_ANY(), // newTarget in DEF_CALL_SIGNATURE()
49 VariableType::JS_ANY(), // thisTarget in DEF_CALL_SIGNATURE()
[all …]
Dcall_signature.cpp41 ArgumentsOrder::DEFAULT_ORDER, VariableType::JS_ANY()); \
46 VariableType::JS_ANY(), \
47 VariableType::JS_ANY(), \
151 CallSignature MulGC("MulGCTest", 0, 3, ArgumentsOrder::DEFAULT_ORDER, VariableType::JS_ANY()); in DEF_CALL_SIGNATURE()
169 ArgumentsOrder::DEFAULT_ORDER, VariableType::JS_ANY()); \
174 VariableType::JS_ANY(), \
212 VariableType::JS_ANY(), // ACC in DEF_CALL_SIGNATURE()
221 …etPropertyByName("SetPropertyByName", 0, 6, ArgumentsOrder::DEFAULT_ORDER, VariableType::JS_ANY()); in DEF_CALL_SIGNATURE()
226 VariableType::JS_ANY(), // receiver in DEF_CALL_SIGNATURE()
228 VariableType::JS_ANY(), // value in DEF_CALL_SIGNATURE()
[all …]
Dnew_object_stub_builder.cpp70 DEFVARIABLE(array, VariableType::JS_ANY(), Undefined()); in NewJSArrayWithSize()
94 DEFVARIABLE(initValue, VariableType::JS_ANY(), Undefined()); in NewJSObject()
132 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in NewJSObject()
174 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in NewTaggedArray()
228 GateRef argument = Load(VariableType::JS_ANY(), sp, PtrMul(IntPtr(sizeof(JSTaggedType)), idx)); in NewArgumentsList()
229 SetValueToTaggedArray(VariableType::JS_ANY(), glue_, result->ReadVariable(), *i, argument); in NewArgumentsList()
245 GateRef argumentsClass = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, in NewArgumentsObj()
255 SetElementsArray(VariableType::JS_ANY(), glue_, result->ReadVariable(), argumentsList); in NewArgumentsObj()
256 GateRef arrayProtoValuesFunction = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, in NewArgumentsObj()
260 GateRef accessorCaller = GetGlobalEnvValue(VariableType::JS_ANY(), glueGlobalEnv, in NewArgumentsObj()
[all …]
Dinterpreter_stub.cpp180 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER()
187 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER()
194 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER()
201 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER()
208 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER()
215 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER()
222 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER()
229 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER()
236 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER()
243 DEFVARIABLE(varAcc, VariableType::JS_ANY(), acc); in DECLARE_ASM_HANDLER()
[all …]
Dtyped_array_stub_builder.h40 return Load(VariableType::JS_ANY(), array, offset); in GetViewedArrayBuffer()
58 return Load(VariableType::JS_ANY(), buffer, offset); in GetArrayBufferData()
70 return Load(VariableType::JS_ANY(), buffer, offset); in GetExternalPointer()
Daccess_object_stub_builder.cpp33 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in LoadObjByName()
74 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in DeprecatedLoadObjByName()
104 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in StoreObjByName()
154 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in LoadObjByValue()
187 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in DeprecatedLoadObjByValue()
216 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in StoreObjByValue()
249 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in TryLoadGlobalByName()
264 result = Load(VariableType::JS_ANY(), record, IntPtr(PropertyBox::VALUE_OFFSET)); in TryLoadGlobalByName()
299 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in TryStoreGlobalByName()
361 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in LoadGlobalVar()
[all …]
Dprofiler_stub_builder.cpp62 GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileOpType()
92 …SetValueToTaggedArray(VariableType::JS_ANY(), glue, profileTypeInfo, slotId, IntToTaggedInt(*curTy… in ProfileOpType()
97 … GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileOpType()
115 GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileDefineClass()
158 GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileCreateObject()
179 GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileObjLayout()
209 … GateRef method = Load(VariableType::JS_ANY(), func, IntPtr(JSFunctionBase::METHOD_OFFSET)); in ProfileCall()
Doperations_stub_builder.cpp29 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in Equal()
51 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in NotEqual()
91 DEFVARIABLE(result, VariableType::JS_ANY(), TaggedTrue()); in StrictEqual()
111 DEFVARIABLE(result, VariableType::JS_ANY(), TaggedTrue()); in StrictNotEqual()
136 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in Less()
241 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in LessEq()
345 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in Greater()
449 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in GreaterEq()
550 DEFVARIABLE(result, VariableType::JS_ANY(), FastAdd(left, right, callback)); in Add()
571 DEFVARIABLE(result, VariableType::JS_ANY(), FastSub(left, right, callback)); in Sub()
[all …]
Dic_stub_builder.cpp108 DEFVARIABLE(cachedHandler, VariableType::JS_ANY(), secondValue); in LoadICByName()
126 DEFVARIABLE(cachedHandler, VariableType::JS_ANY(), secondValue); in StoreICByName()
146 DEFVARIABLE(cachedHandler, VariableType::JS_ANY(), secondValue); in LoadICByValue()
171 DEFVARIABLE(cachedHandler, VariableType::JS_ANY(), secondValue); in StoreICByValue()
Dstub_builder.cpp141 GateRef keyInProperty = Load(VariableType::JS_ANY(), in FindElementWithCache()
454 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in JSObjectGetProperty()
570 DEFVARIABLE(result, VariableType::JS_ANY(), Exception()); in CallGetterHelper()
593 auto getter = Load(VariableType::JS_ANY(), accessor, in CallGetterHelper()
630 DEFVARIABLE(result, VariableType::JS_ANY(), Exception()); in CallSetterHelper()
642 auto setter = Load(VariableType::JS_ANY(), accessor, in CallSetterHelper()
752 GateRef gConstOffset = Load(VariableType::JS_ANY(), glue, in SetHasConstructorCondition()
755 GateRef gCtorStr = Load(VariableType::JS_ANY(), in SetHasConstructorCondition()
771 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in AddPropertyByName()
885 SetValueToTaggedArray(VariableType::JS_ANY(), glue, *array, outProps, value); in AddPropertyByName()
[all …]
Dstub_builder-inl.h300 … GateRef method = Load(VariableType::JS_ANY(), function, IntPtr(JSFunctionBase::METHOD_OFFSET)); in SaveHotnessCounterIfNeeded()
943 return Load(VariableType::JS_ANY(), accessor, setterOffset); in GetSetterFromAccessor()
1252 return Load(VariableType::JS_ANY(), proxyObj, offset); in GetTarget()
1299 return Load(VariableType::JS_ANY(), object, holderOffset); in GetPrototypeHandlerHolder()
1305 return Load(VariableType::JS_ANY(), object, handlerInfoOffset); in GetPrototypeHandlerHandlerInfo()
1311 return Load(VariableType::JS_ANY(), object, holderOffset); in GetStoreTSHandlerHolder()
1317 return Load(VariableType::JS_ANY(), object, handlerInfoOffset); in GetStoreTSHandlerHandlerInfo()
1424 GateRef value = Load(VariableType::JS_ANY(), obj, valueOffset); in IsInvalidPropertyBox()
1431 return Load(VariableType::JS_ANY(), obj, valueOffset); in GetValueFromPropertyBox()
1437 Store(VariableType::JS_ANY(), glue, obj, valueOffset, value); in SetValueToPropertyBox()
[all …]
Dtype_mcr_lowering.cpp489 DEFVAlUE(result, (&builder_), VariableType::JS_ANY(), builder_.HoleConstant()); in LowerPrimitiveToNumber()
543 result = builder_.LoadConstOffset(VariableType::JS_ANY(), receiver, plr.GetOffset()); in LowerLoadProperty()
545 result = builder_.LoadConstOffset(VariableType::JS_ANY(), receiver, plr.GetOffset()); in LowerLoadProperty()
564 …GateRef getter = builder_.LoadConstOffset(VariableType::JS_ANY(), accessor, AccessorData::GETTER_O… in LowerCallGetter()
566 DEFVAlUE(result, (&builder_), VariableType::JS_ANY(), builder_.UndefineConstant()); in LowerCallGetter()
590 builder_.StoreConstOffset(VariableType::JS_ANY(), receiver, plr.GetOffset(), value); in LowerStoreProperty()
610 …GateRef setter = builder_.LoadConstOffset(VariableType::JS_ANY(), accessor, AccessorData::SETTER_O… in LowerCallSetter()
663 VariableType type = VariableType::JS_ANY(); in GetVariableType()
855 builder_.SetValueToTaggedArray(VariableType::JS_ANY(), glue, element, index, value); in LowerArrayStoreElement()
1141 DEFVAlUE(thisObj, (&builder_), VariableType::JS_ANY(), builder_.Undefined()); in LowerTypedNewAllocateThis()
[all …]
Dtyped_array_stub_builder.cpp62 DEFVARIABLE(result, VariableType::JS_ANY(), arrBuf); in GetDataPointFromBuffer()
86 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in FastGetPropertyByIndex()
158 SetValueToTaggedArray(VariableType::JS_ANY(), glue, array, *start, value); in FastCopyElementToArray()
182 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in GetValueFromBuffer()
Dvariable_type.h89 static VariableType JS_ANY() in JS_ANY() function
Dslowpath_lowering.cpp98 GateRef env = builder_.Load(VariableType::JS_ANY(), jsFunc, envOffset, acc_.GetDependRoot()); in LowerGetEnv()
120 DEFVAlUE(res, (&builder_), VariableType::JS_ANY(), builder_.Undefined()); in LowerToJSCall()
788 …builder_.SetValueToTaggedArray(VariableType::JS_ANY(), glue_, taggedArray, builder_.Int32(idx), tm… in SaveFrameToContext()
801 builder_.Store(VariableType::JS_ANY(), glue_, context, thisOffset, thisObj); in SaveFrameToContext()
806 builder_.Store(VariableType::JS_ANY(), glue_, context, methodOffset, jsFunc); in SaveFrameToContext()
811 builder_.Store(VariableType::JS_ANY(), glue_, context, accOffset, curAccGate); in SaveFrameToContext()
815 builder_.Store(VariableType::JS_ANY(), glue_, context, generatorObjectOffset, genObj); in SaveFrameToContext()
819 builder_.Store(VariableType::JS_ANY(), glue_, context, lexicalEnvOffset, lexicalEnvGate); in SaveFrameToContext()
1145 …GateRef loadException = circuit_->NewGate(circuit_->Load(), VariableType::JS_ANY().GetMachineType(… in LowerExceptionHandler()
1146 { depend, val }, VariableType::JS_ANY().GetGateType()); in LowerExceptionHandler()
[all …]
Dcommon_stubs.cpp269 DEFVARIABLE(result, VariableType::JS_ANY(), Hole()); in GenerateCircuit()
284 DEFVARIABLE(argumentsList, VariableType::JS_ANY(), Hole()); in GenerateCircuit()
285 DEFVARIABLE(argumentsObj, VariableType::JS_ANY(), Hole()); in GenerateCircuit()
712 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in GenerateCircuit()
774 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in GenerateCircuit()
785 GateRef gConstPointer = Load(VariableType::JS_ANY(), glue, in GenerateCircuit()
791 GateRef key = Load(VariableType::JS_ANY(), keyOffset); in GenerateCircuit()
Dbuiltins_lowering.cpp61 DEFVAlUE(result, (&builder_), VariableType::JS_ANY(), builder_.HoleConstant()); in TypedTrigonometric()
154 DEFVAlUE(result, (&builder_), VariableType::JS_ANY(), builder_.HoleConstant()); in TypedAbs()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_stubs.h51 return Load(VariableType::JS_ANY(), info, in GetFunction()
58 return Load(VariableType::JS_ANY(), info, newTargetOffset); in GetNewTarget()
64 return Load(VariableType::JS_ANY(), info, thisOffset); in GetThis()
72 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in GetCallArg0()
92 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in GetCallArg1()
112 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in GetCallArg2()
137 … return Load(VariableType::JS_ANY(), argv, PtrMul(index, IntPtr(JSTaggedValue::TaggedTypeSize()))); in GetArgNCheck()
Dcontainers_stub_builder.cpp25 DEFVARIABLE(thisObj, VariableType::JS_ANY(), thisValue); in ContainersCommonFuncCall()
26 DEFVARIABLE(thisArg, VariableType::JS_ANY(), Undefined()); in ContainersCommonFuncCall()
28 DEFVARIABLE(kValue, VariableType::JS_ANY(), Undefined()); in ContainersCommonFuncCall()
142 DEFVARIABLE(thisObj, VariableType::JS_ANY(), thisValue); in QueueCommonFuncCall()
143 DEFVARIABLE(thisArg, VariableType::JS_ANY(), Undefined()); in QueueCommonFuncCall()
145 DEFVARIABLE(kValue, VariableType::JS_ANY(), Undefined()); in QueueCommonFuncCall()
248 DEFVARIABLE(thisObj, VariableType::JS_ANY(), thisValue); in DequeCommonFuncCall()
249 DEFVARIABLE(thisArg, VariableType::JS_ANY(), Undefined()); in DequeCommonFuncCall()
251 DEFVARIABLE(kValue, VariableType::JS_ANY(), Undefined()); in DequeCommonFuncCall()
357 DEFVARIABLE(thisObj, VariableType::JS_ANY(), thisValue); in ContainersLightWeightCall()
[all …]
Dcontainers_arraylist_stub_builder.h32 GateRef len = Load(VariableType::JS_ANY(), obj, IntPtr(JSAPIArrayList::LENGTH_OFFSET)); in GetSize()
47 SetValueToTaggedArray(VariableType::JS_ANY(), glue, elements, index, value); in Set()
Dbuiltins_stubs.cpp68 DEFVARIABLE(arg, VariableType::JS_ANY(), Undefined()); in GetArg()
75 … arg = Load(VariableType::JS_ANY(), argv, PtrMul(index, IntPtr(JSTaggedValue::TaggedTypeSize()))); in GetArg()
97 DEFVARIABLE(result, VariableType::JS_ANY(), Undefined()); in CallSlowPath()
148 DEFVARIABLE(res, VariableType::JS_ANY(), DoubleToTaggedDoublePtr(Double(base::NAN_VALUE))); in DECLARE_BUILTINS()
220 DEFVARIABLE(res, VariableType::JS_ANY(), IntToTaggedPtr(Int32(-1))); in DECLARE_BUILTINS()
328 DEFVARIABLE(res, VariableType::JS_ANY(), IntToTaggedPtr(Int32(-1))); in DECLARE_BUILTINS()
862 DEFVARIABLE(res, VariableType::JS_ANY(), Undefined()); in DECLARE_BUILTINS()
958 DEFVARIABLE(res, VariableType::JS_ANY(), Undefined()); in DECLARE_BUILTINS()
971 GateRef intialHClass = Load(VariableType::JS_ANY(), newTarget, in DECLARE_BUILTINS()
1004 DEFVARIABLE(res, VariableType::JS_ANY(), Undefined()); in DECLARE_BUILTINS()
[all …]
Dcontainers_vector_stub_builder.h45 SetValueToTaggedArray(VariableType::JS_ANY(), glue, elements, index, value); in Set()
Dcontainers_stack_stub_builder.h46 SetValueToTaggedArray(VariableType::JS_ANY(), glue, elements, index, value); in Set()
Dcontainers_plainarray_stub_builder.h52 SetValueToTaggedArray(VariableType::JS_ANY(), glue, elements, index, value); in Set()
Dbuiltins_string_stub_builder.cpp256 DEFVARIABLE(dstTmp, VariableType::JS_ANY(), dst); in CopyChars()
257 DEFVARIABLE(sourceTmp, VariableType::JS_ANY(), source); in CopyChars()
336 DEFVARIABLE(dstTmp, VariableType::JS_ANY(), dst); in CopyUtf16AsUtf8()
337 DEFVARIABLE(sourceTmp, VariableType::JS_ANY(), src); in CopyUtf16AsUtf8()

12