diff --git a/ecmascript/llvm_stackmap_parser.cpp b/ecmascript/llvm_stackmap_parser.cpp index ebc90143b6..50872fc85d 100644 --- a/ecmascript/llvm_stackmap_parser.cpp +++ b/ecmascript/llvm_stackmap_parser.cpp @@ -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); }