Lines Matching defs:EcmaRuntimeCallInfo
32 struct EcmaRuntimeCallInfo : public base::AlignedStruct<base::AlignedPointer::Size(), struct
36 enum class Index : size_t {
45 inline JSThread *GetThread() const in GetThread()
50 static size_t GetThreadOffset(bool isArch32) in GetThreadOffset()
55 static size_t GetNumArgsOffset(bool isArch32) in GetNumArgsOffset()
60 static size_t GetStackArgsOffset(bool isArch32) in GetStackArgsOffset()
65 static size_t GetNewTargetOffset(bool isArch32) in GetNewTargetOffset()
71 static size_t GetThisOffset(bool isArch32) in GetThisOffset()
77 static size_t GetCallArgOffset(bool isArch32) in GetCallArgOffset()
83 inline void SetNewTarget(const JSTaggedValue tagged) in SetNewTarget()
88 inline void SetFunction(const JSTaggedValue tagged) in SetFunction()
93 inline void SetThis(const JSTaggedValue tagged) in SetThis()
98 inline void SetCallArg(uint32_t idx, const JSTaggedValue tagged) in SetCallArg()
104 inline void SetCallArg(const JSTaggedValue arg) in SetCallArg()
110 inline void SetCallArg(const JSTaggedValue arg0, const JSTaggedValue arg1) in SetCallArg()
117 …nline void SetCallArg(const JSTaggedValue arg0, const JSTaggedValue arg1, const JSTaggedValue arg2) in SetCallArg()
125 …nline void SetCallArg(const JSTaggedValue arg0, const JSTaggedValue arg1, const JSTaggedValue arg2, in SetCallArg()
135 …nline void SetCallArg(const JSTaggedValue arg0, const JSTaggedValue arg1, const JSTaggedValue arg2, in SetCallArg()
167 …inline void SetCallArg(uint32_t argsLength, uint32_t startIndex, const EcmaRuntimeCallInfo* argv, … in SetCallArg() argument
174 inline JSHandle<JSTaggedValue> GetFunction() const in GetFunction()
179 inline JSHandle<JSTaggedValue> GetNewTarget() const in GetNewTarget()
184 inline JSHandle<JSTaggedValue> GetThis() const in GetThis()
189 inline JSHandle<JSTaggedValue> GetCallArg(uint32_t idx) const in GetCallArg()
194 inline JSTaggedValue GetFunctionValue() const in GetFunctionValue()
200 inline JSTaggedValue GetNewTargetValue() const in GetNewTargetValue()
206 inline JSTaggedValue GetThisValue() const in GetThisValue()
212 inline JSTaggedValue GetCallArgValue(uint32_t idx) const in GetCallArgValue()
222 inline uint32_t GetArgsNumber() const in GetArgsNumber()
227 inline JSTaggedType *GetArgs() in GetArgs()
233 enum ArgsIndex : uint8_t { FUNC_INDEX = 0, NEW_TARGET_INDEX, THIS_INDEX, FIRST_ARGS_INDEX };
235 inline uintptr_t GetArgAddress(uint32_t idx) const in GetArgAddress()
243 inline void SetArg(uint32_t idx, const JSTaggedValue tagged) in SetArg()
251 inline JSHandle<JSTaggedValue> GetArg(uint32_t idx) const in GetArg()
259 …on__ alignas(sizeof(JSTaggedType)) JSTaggedType stackArgs_[0]; // NOLINT(modernize-avoid-c-arrays)