LibJS: Remove unused InstructionStreamIterator::source_code getter

This commit is contained in:
Andrew Kaster 2025-04-15 15:58:42 -06:00 committed by Andrew Kaster
parent 703abac9c8
commit 59b1fb23a9
Notes: github-actions[bot] 2025-04-16 16:43:32 +00:00
2 changed files with 0 additions and 6 deletions

View file

@ -105,11 +105,6 @@ UnrealizedSourceRange InstructionStreamIterator::source_range() const
};
}
RefPtr<SourceCode> InstructionStreamIterator::source_code() const
{
return m_executable ? m_executable->source_code.ptr() : nullptr;
}
Operand::Operand(Register reg)
: m_type(Type::Register)
, m_index(reg.index())

View file

@ -205,7 +205,6 @@ public:
}
UnrealizedSourceRange source_range() const;
RefPtr<SourceCode> source_code() const;
Executable const* executable() const { return m_executable; }