feat: remove unused imports, todos and typos

This commit is contained in:
2026-01-01 16:09:51 +01:00
parent ad17a59d65
commit 8a2d98e69e
2 changed files with 1 additions and 28 deletions

View File

@@ -32,7 +32,7 @@ namespace IR
StringView m_symbol;
};
// TODO: Make function return value (i.e. inhreit the OpValued class instead)
// TODO: Make function return value (i.e. inherit the OpValued class instead)
class FnOp : public Op
{
public:
@@ -87,30 +87,6 @@ namespace IR
ValueHandle::Type *m_typ;
};
// class LoadConstOp : public OpValued
// {
// public:
// LoadConstOp(ValueHandle *dest, long value)
// : OpValued(dest), m_value(value) {}
// ~LoadConstOp() {}
// OP_TYPE(LOAD_CONST)
// public:
// StringView Format(int indent) const override
// {
// StringBuilder sb;
// sb.AppendIndent(indent);
// sb << result()->Format() << " = LOAD_CONST " << m_value;
// return sb.view();
// }
// public:
// long value() const { return m_value; }
// private:
// long m_value;
// };
class LoadOp : public OpValued
{
public: