mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-09 16:40:03 +01:00
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
@ -18,7 +18,7 @@ class Inst;
|
|||||||
* A representation of a value in the IR.
|
* A representation of a value in the IR.
|
||||||
* A value may either be an immediate or the result of a microinstruction.
|
* A value may either be an immediate or the result of a microinstruction.
|
||||||
*/
|
*/
|
||||||
struct Value final {
|
class Value final {
|
||||||
public:
|
public:
|
||||||
Value() : type(Type::Void) {}
|
Value() : type(Type::Void) {}
|
||||||
explicit Value(Inst* value);
|
explicit Value(Inst* value);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user