Home
last modified time | relevance | path

Searched refs:HasObject (Results 1 - 12 of 12) sorted by relevance

/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dframe_test.cpp72 EXPECT_TRUE(frameHandler.GetVReg(0).HasObject()); in TEST_F()
74 EXPECT_FALSE(frameHandler.GetVReg(0).HasObject()); in TEST_F()
83 EXPECT_FALSE(frameHandler.GetVReg(0).HasObject()); in TEST_F()
87 EXPECT_FALSE(frameHandler.GetVReg(0).HasObject()); in TEST_F()
94 EXPECT_TRUE(frameHandler.GetVReg(0).HasObject()); in TEST_F()
H A Dinterpreter_test.cpp240 EXPECT_FALSE(frameHandler.GetVReg(0).HasObject()); in TEST_F()
243 EXPECT_FALSE(frameHandler.GetVReg(1).HasObject()); in TEST_F()
246 EXPECT_FALSE(frameHandler.GetVReg(2U).HasObject()); in TEST_F()
249 EXPECT_FALSE(frameHandler.GetVReg(3U).HasObject()); in TEST_F()
252 EXPECT_FALSE(frameHandler.GetVReg(4U).HasObject()); in TEST_F()
257 EXPECT_FALSE(frameHandler.GetVReg(V4_MAX).HasObject()); in TEST_F()
260 EXPECT_FALSE(frameHandler.GetVReg(V8_MAX).HasObject()); in TEST_F()
263 EXPECT_FALSE(frameHandler.GetVReg(V16_MAX).HasObject()); in TEST_F()
268 EXPECT_FALSE(frameHandler.GetVReg(V4_MAX - 2U).HasObject()); in TEST_F()
271 EXPECT_FALSE(frameHandler.GetVReg(V16_MAX - 2U).HasObject()); in TEST_F()
[all...]
H A Dstack_walker_test.cpp324 if (reg.HasObject()) { in FirstRunModifyVregs()
345 if (reg.HasObject()) { in CheckVregs()
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dstack_walker-inl.h29 if (OBJECTS && !vreg.HasObject()) { in InvokeCallback()
93 return !resReg.HasObject() || InvokeCallback<OBJECTS, WITH_REG_INFO>(func, regInfo, resReg); in IterateRegsForCFrameStatic()
125 return !resReg.HasObject() || InvokeCallback<OBJECTS, WITH_REG_INFO>(func, regInfo, resReg); in IterateRegsForCFrameDynamic()
139 if (OBJECTS && !vreg.HasObject()) { in IterateRegsForIFrameInternal()
142 auto type = vreg.HasObject() ? OBJ_TYPE : PRIMITIVE_TYPE; in IterateRegsForIFrameInternal()
150 auto type = acc.HasObject() ? OBJ_TYPE : PRIMITIVE_TYPE; in IterateRegsForIFrameInternal()
H A Dvalue.h87 if (vreg.HasObject()) { in FromVReg()
H A Dmethod-inl.h158 if (acc.HasObject()) { in GetReturnValueFromAcc()
/arkcompiler/runtime_core/static_core/runtime/interpreter/
H A Dvregister.h184 // They can help you to access the tag info, like `HasObject`, `SetPrimitive`
237 ALWAYS_INLINE inline bool HasObject() const in HasObject() function in ark::interpreter::VRegisterRef
239 return static_cast<const T *>(this)->HasObject(); in HasObject()
244 ASSERT(!other.HasObject()); in MovePrimitive()
250 ASSERT(other.HasObject()); in MoveReference()
359 if (HasObject()) { in DumpVReg()
422 ALWAYS_INLINE inline bool HasObject() const in HasObject() function in ark::interpreter::StaticVRegisterRef
513 ALWAYS_INLINE inline bool HasObject() const in HasObject() function in ark::interpreter::DynamicVRegisterRef
521 ASSERT(!other.HasObject()); in MovePrimitive()
527 ASSERT(other.HasObject()); in MoveReference()
[all...]
H A Dacc_vregister-inl.h112 ALWAYS_INLINE inline bool HasObject() const in HasObject() function in ark::interpreter::AccVRegisterTRef
123 ASSERT(!other.HasObject()); in MovePrimitive()
132 ASSERT(other.HasObject()); in MoveReference()
/arkcompiler/runtime_core/static_core/runtime/
H A Dstack_walker.cpp326 ASSERT(vreg.HasObject() && "Trying to change object variable by scalar value"); in SetVRegValue()
329 ASSERT(!vreg.HasObject() && "Trying to change object variable by scalar value"); in SetVRegValue()
649 if (!vreg.HasObject()) { in DebugSingleFrameVerify()
654 // Use Frame::VRegister::HasObject() to detect objects in DebugSingleFrameVerify()
672 ASSERT(vreg.HasObject()); in DebugSingleFrameVerify()
676 ASSERT(vreg.HasObject()); in DebugSingleFrameVerify()
787 ASSERT(vreg.HasObject()); in Dump()
/arkcompiler/runtime_core/static_core/runtime/bridge/
H A Dbridge.cpp58 return reg.HasObject() ? static_cast<int64_t>(bit_cast<uintptr_t>(reg.GetReference())) : reg.GetLong(); in GetVRegValue()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
H A Dgc_root.cpp182 if (UNLIKELY(vRegister.HasObject())) { in VisitRegisterRoot()
/arkcompiler/runtime_core/static_core/runtime/tooling/
H A Ddebugger.cpp283 ASSERT(vreg.HasObject()); in GetThisVariableByFrame()
885 return reg.HasObject() ? reinterpret_cast<uintptr_t>(reg.GetReference()) : reg.GetLong(); in GetVRegValue()
894 return reg.HasObject() ? PtFrame::RegisterKind::REFERENCE : PtFrame::RegisterKind::PRIMITIVE; in GetVRegKind()

Completed in 19 milliseconds