Lines Matching defs:EcmaRuntimeCallInfo
31 struct EcmaRuntimeCallInfo : public base::AlignedStruct<base::AlignedPointer::Size(), struct
35 enum class Index : size_t {
44 inline JSThread *GetThread() const in GetThread()
49 static size_t GetThreadOffset(bool isArch32) in GetThreadOffset()
54 static size_t GetNumArgsOffset(bool isArch32) in GetNumArgsOffset()
59 static size_t GetStackArgsOffset(bool isArch32) in GetStackArgsOffset()
64 static size_t GetNewTargetOffset(bool isArch32) in GetNewTargetOffset()
70 static size_t GetThisOffset(bool isArch32) in GetThisOffset()
76 static size_t GetCallArgOffset(bool isArch32) in GetCallArgOffset()
82 inline void SetNewTarget(const JSTaggedValue tagged) in SetNewTarget()
87 inline void SetFunction(const JSTaggedValue tagged) in SetFunction()
92 inline void SetThis(const JSTaggedValue tagged) in SetThis()
97 inline void SetCallArg(uint32_t idx, const JSTaggedValue tagged) in SetCallArg()
103 inline void SetCallArg(const JSTaggedValue arg) in SetCallArg()
109 inline void SetCallArg(const JSTaggedValue arg0, const JSTaggedValue arg1) in SetCallArg()
116 …nline void SetCallArg(const JSTaggedValue arg0, const JSTaggedValue arg1, const JSTaggedValue arg2) in SetCallArg()
124 …nline void SetCallArg(const JSTaggedValue arg0, const JSTaggedValue arg1, const JSTaggedValue arg2, in SetCallArg()
134 …nline void SetCallArg(const JSTaggedValue arg0, const JSTaggedValue arg1, const JSTaggedValue arg2, in SetCallArg()
166 …inline void SetCallArg(uint32_t argsLength, uint32_t startIndex, const EcmaRuntimeCallInfo* argv, … in SetCallArg() argument
173 inline JSHandle<JSTaggedValue> GetFunction() const in GetFunction()
178 inline JSHandle<JSTaggedValue> GetNewTarget() const in GetNewTarget()
183 inline JSHandle<JSTaggedValue> GetThis() const in GetThis()
188 inline JSHandle<JSTaggedValue> GetCallArg(uint32_t idx) const in GetCallArg()
193 inline JSTaggedValue GetFunctionValue() const in GetFunctionValue()
199 inline JSTaggedValue GetNewTargetValue() const in GetNewTargetValue()
205 inline JSTaggedValue GetThisValue() const in GetThisValue()
211 inline JSTaggedValue GetCallArgValue(uint32_t idx) const in GetCallArgValue()
221 inline uint32_t GetArgsNumber() const in GetArgsNumber()
226 inline JSTaggedType *GetArgs() in GetArgs()
232 enum ArgsIndex : uint8_t { FUNC_INDEX = 0, NEW_TARGET_INDEX, THIS_INDEX, FIRST_ARGS_INDEX };
234 inline uintptr_t GetArgAddress(uint32_t idx) const in GetArgAddress()
242 inline void SetArg(uint32_t idx, const JSTaggedValue tagged) in SetArg()
250 inline JSHandle<JSTaggedValue> GetArg(uint32_t idx) const in GetArg()
258 __extension__ JSTaggedType stackArgs_[0]; // NOLINT(modernize-avoid-c-arrays)