fix ark js stack message

https://gitee.com/openharmony/ace_ace_engine/issues/I4XKDL

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Id2592ee62dddc28961cd9099b2ccce5ee470daa6
This commit is contained in:
wengchangcheng
2022-03-12 22:59:49 +08:00
parent 0e0ebbb8f6
commit a984998891
+1 -1
View File
@@ -1678,7 +1678,7 @@ void Function::BuildLineNumberProgram(panda_file::DebugInfoItem *debug_item, con
uint32_t pc_inc = 0;
auto prev_line_number = static_cast<int32_t>(GetLineNumber(0));
auto prev_column_number = static_cast<int32_t>(GetColumnNumber(0));
auto prev_column_number = -1;
BytecodeInstruction bi(bytecode.data());
debug_item->SetLineNumber(static_cast<uint32_t>(prev_line_number));