Lines Matching defs:const
36 explicit FrameHandler(const JSThread *thread);
43 bool HasFrame() const
48 inline static FrameType GetFrameType(const JSTaggedType *sp)
55 inline static bool IsEntryFrame(const uint8_t *pc)
60 bool IsEntryFrame() const
79 bool IsInterpretedFrame() const
85 bool IsInterpretedFrame(FrameType type) const
90 bool IsJSFrame() const
96 bool IsOptimizedJSFunctionFrame() const
103 bool IsJSFrame(FrameType type) const
108 bool IsOptimizedJSFunctionFrame(FrameType type) const
114 bool IsFastJitFunctionFrame(FrameType type) const
120 bool IsAsmInterpretedFrame() const
128 bool IsAsmInterpretedFrame(FrameType type) const
133 bool IsBuiltinFrame() const
138 bool IsBuiltinEntryFrame() const
143 bool IsInterpretedEntryFrame() const
152 bool IsInterpretedEntryFrame(FrameType type) const
160 bool IsAsmInterpretedEntryFrame() const
166 bool IsAsmInterpretedEntryFrame(FrameType type) const
171 bool IsCInterpretedEntryFrame() const
176 bool IsCInterpretedEntryFrame(FrameType type) const
181 bool IsOptimizedEntryFrame(FrameType type) const
186 bool IsJSEntryFrame(FrameType type) const
191 bool IsLeaveFrame() const
197 bool IsInterpreterBuiltinFrame() const
203 bool IsBaselineBuiltinFrame(FrameType type) const
208 JSTaggedType *GetSp() const
213 JSTaggedType *GetFp() const
218 uintptr_t GetBaselineNativePc() const
227 JSTaggedValue GetVRegValue(size_t index) const;
233 JSTaggedValue GetEnv() const;
234 JSTaggedValue GetAcc() const;
236 uint32_t GetBytecodeOffset() const;
237 Method *GetMethod() const;
238 const JSPandaFile* GetJSPandaFile() const;
239 std::string GetFileName() const;
240 uint32_t GetAbcId() const;
241 uint32_t GetMethodId() const;
242 Method *CheckAndGetMethod() const;
243 JSTaggedValue GetThis() const;
244 JSTaggedValue GetFunction() const;
245 const uint8_t *GetPc() const;
246 ConstantPool *GetConstpool() const;
248 void DumpStack(std::ostream &os) const;
249 void DumpStack() const
254 void DumpPC(std::ostream &os, const uint8_t *pc) const;
255 void DumpPC(const uint8_t *pc) const
261 void Iterate(const RootVisitor &visitor, const RootRangeVisitor &rangeVisitor,
262 const RootBaseAndDerivedVisitor &derivedVisitor);
263 void IterateFrameChain(JSTaggedType *start, const RootVisitor &visitor, const RootRangeVisitor &rangeVisitor,
264 const RootBaseAndDerivedVisitor &derivedVisitor) const;
265 void IterateAssembleStack(const RootVisitor &visitor, const RootRangeVisitor &rangeVisitor,
266 const RootBaseAndDerivedVisitor &derivedVisitor);
267 void IterateEcmaRuntimeCallInfo(const RootVisitor &visitor, const RootRangeVisitor &rangeVisitor);
270 FrameType GetFrameType() const
278 uintptr_t GetInterpretedFrameEnd(JSTaggedType *prevSp) const;
283 const JSThread *thread_ {nullptr};
284 const kungfu::ArkStackMapParser *arkStackMapParser_ {nullptr};
301 const JSTaggedType *oldSp_ {nullptr};