feat: remove unused imports, todos and typos
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user