value: Change Value into a class (#19)

'struct' is a little bit of a misnomer, considering it has invariants
This commit is contained in:
Mat M 2016-09-05 06:53:56 -04:00 committed by Merry
parent 858796a029
commit 84336cf29d

View file

@ -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);