mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibJS: Remove unused InstructionStreamIterator::source_range()
This commit is contained in:
parent
f37063e2a1
commit
e7388646bb
Notes:
github-actions[bot]
2025-11-21 08:47:28 +00:00
Author: https://github.com/awesomekling
Commit: e7388646bb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6888
2 changed files with 0 additions and 13 deletions
|
|
@ -78,17 +78,6 @@ size_t Instruction::length() const
|
|||
#undef __BYTECODE_OP
|
||||
}
|
||||
|
||||
UnrealizedSourceRange InstructionStreamIterator::source_range() const
|
||||
{
|
||||
VERIFY(m_executable);
|
||||
auto record = m_executable->source_map.get(offset()).value();
|
||||
return {
|
||||
.source_code = m_executable->source_code,
|
||||
.start_offset = record.source_start_offset,
|
||||
.end_offset = record.source_end_offset,
|
||||
};
|
||||
}
|
||||
|
||||
Operand::Operand(Register reg)
|
||||
: m_type(Type::Register)
|
||||
, m_index(reg.index())
|
||||
|
|
|
|||
|
|
@ -122,8 +122,6 @@ public:
|
|||
m_ptr += dereference().length();
|
||||
}
|
||||
|
||||
UnrealizedSourceRange source_range() const;
|
||||
|
||||
Executable const* executable() const { return m_executable; }
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue