value: Change Value into a class (#19)
'struct' is a little bit of a misnomer, considering it has invariants
This commit is contained in:
parent
858796a029
commit
84336cf29d
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class Inst;
|
|||
* A representation of a value in the IR.
|
||||
* A value may either be an immediate or the result of a microinstruction.
|
||||
*/
|
||||
struct Value final {
|
||||
class Value final {
|
||||
public:
|
||||
Value() : type(Type::Void) {}
|
||||
explicit Value(Inst* value);
|
||||
|
|
Loading…
Reference in a new issue