Home
last modified time | relevance | path

Searched refs:line_inc (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/runtime_core/libpandafile/tests/
Dfile_items_test.cpp42 for (auto [pc_inc, line_inc] : incs) {
43 ASSERT_TRUE(item.EmitSpecialOpcode(pc_inc, line_inc));
44 …data.push_back((line_inc - LineNumberProgramItem::LINE_BASE) + (pc_inc * LineNumberProgramItem::LI…
/arkcompiler/runtime_core/assembler/tests/
Demitter_test.cpp182 uint8_t GetSpecialOpcode(uint32_t pc_inc, int32_t line_inc) in GetSpecialOpcode() argument
184 return (line_inc - panda_file::LineNumberProgramItem::LINE_BASE) + in GetSpecialOpcode()
263 int32_t line_inc; in TEST() local
264 …std::tie(line_inc, size, is_full) = leb128::DecodeSigned<int32_t>(&constant_pool[constant_pool_off… in TEST()
267 EXPECT_EQ(line_inc, 12); in TEST()
Dassembler_emitter_test.cpp48 uint8_t GetSpecialOpcode(uint32_t pc_inc, int32_t line_inc) in GetSpecialOpcode() argument
50 return static_cast<uint8_t>(line_inc - panda_file::LineNumberProgramItem::LINE_BASE) + in GetSpecialOpcode()
292 int32_t line_inc; in __anon9d5bb8020902() local
293 …std::tie(line_inc, size, is_full) = leb128::DecodeSigned<int32_t>(&constant_pool[constant_pool_off… in __anon9d5bb8020902()
296 EXPECT_EQ(line_inc, 5); in __anon9d5bb8020902()
/arkcompiler/runtime_core/assembler/
Dassembly-emitter.cpp1560 uint32_t pc_inc, int32_t line_inc) const in EmitNumber()
1562 if (!program->EmitSpecialOpcode(pc_inc, line_inc)) { in EmitNumber()
1565 if (!program->EmitSpecialOpcode(0, line_inc)) { in EmitNumber()
1566 program->EmitAdvanceLine(constant_pool, line_inc); in EmitNumber()
1570 program->EmitAdvanceLine(constant_pool, line_inc); in EmitNumber()
1579 int32_t line_inc = static_cast<int32_t>(GetLineNumber(instruction_number)) - prev_line_number; in EmitLineNumber() local
1580 if (line_inc) { in EmitLineNumber()
1582 EmitNumber(program, constant_pool, pc_inc, line_inc); in EmitLineNumber()
Dassembly-function.h175 int32_t line_inc) const;
/arkcompiler/runtime_core/libpandafile/
Dfile_items.cpp1516 bool LineNumberProgramItem::EmitSpecialOpcode(uint32_t pc_inc, int32_t line_inc) in EmitSpecialOpcode() argument
1518 if (line_inc < LINE_BASE || (line_inc - LINE_BASE) >= LINE_RANGE) { in EmitSpecialOpcode()
1522 …auto opcode = static_cast<size_t>(line_inc - LINE_BASE) + static_cast<size_t>(pc_inc * LINE_RANGE)… in EmitSpecialOpcode()
Dfile_items.h630 bool EmitSpecialOpcode(uint32_t pc_inc, int32_t line_inc);