Fix arm64 debug compiler error

issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5NXO7?from=project-issue

Signed-off-by: songzhengchao <songzhengchao@huawei.com>
Change-Id: Ib7c9f69af9d4358bd39badd2c56273b6d1d266d3
This commit is contained in:
songzhengchao 2022-08-24 17:57:05 +08:00
parent ca6e1da44a
commit 14e8d6d19b

View File

@ -92,7 +92,6 @@ void LLVMStackMapParser::CalcCallSite()
}
} else if (loc.location == LocationTy::Kind::DIRECT) {
if (j >= LocationTy::CONSTANT_FIRST_ELEMENT_INDEX && j <= lastDeoptIndex) {
ASSERT(loc.DwarfRegNum == GCStackMapRegisters::SP || loc.DwarfRegNum == GCStackMapRegisters::FP);
DwarfRegAndOffsetType info(loc.DwarfRegNum, loc.OffsetOrSmallConstant);
deoptbundles[callsite].push_back(info);
}