mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-10-08 00:24:00 +00:00
review code fix
Signed-off-by: surpassgoodchao <surpassgoodchao@qq.com>
This commit is contained in:
parent
d15fafc5ac
commit
1c36b50587
@ -1139,6 +1139,7 @@ void DoSafepoint()
|
||||
} else if (info.first == FP_DWARF_REG_NUM) {
|
||||
address = reinterpret_cast<uintptr_t **>(reinterpret_cast<uint8_t *>(rbp) + info.second);
|
||||
}
|
||||
// print ref and vlue for debug
|
||||
std::cout << std::hex << "ref addr:" << address;
|
||||
std::cout << " value:" << *address;
|
||||
std::cout << " *value :" << **address << std::endl;
|
||||
|
@ -57,7 +57,7 @@ public:
|
||||
thread_(thread)
|
||||
{
|
||||
thread_->SetCurrentSPFrame(newFp);
|
||||
|
||||
// print newfp and type for debug
|
||||
std::cout << "CallRuntimeTrampolinesScope newFp: " << newFp << " oldRbp_ : " << oldRbp_
|
||||
<< " thread_->fp:" << thread_->GetCurrentSPFrame() <<std::endl;
|
||||
FrameType type = *(reinterpret_cast<FrameType*>(
|
||||
@ -66,6 +66,7 @@ public:
|
||||
}
|
||||
~CallRuntimeTrampolinesScope()
|
||||
{
|
||||
// print oldfp and type for debug
|
||||
std::cout << "~CallRuntimeTrampolinesScope oldRbp_: " << oldRbp_ <<
|
||||
" thread_->fp:" << thread_->GetCurrentSPFrame() << std::endl;
|
||||
FrameType type = *(reinterpret_cast<FrameType*>(
|
||||
|
Loading…
Reference in New Issue
Block a user