Skip to content

Commit d7b4a23

Browse files
committed
Virtual machine arguments that populate lists don't need to have an unused type. They only did when virtual machine arguments had an upper limit.
1 parent 0f9a33b commit d7b4a23

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Source/DFPSR/implementation/machine/VirtualMachine.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ static ReadableString getName(AccessType access) {
7676

7777
// Types used in machine instuctions
7878
enum class ArgumentType {
79-
Unused,
8079
Immediate,
8180
Reference
8281
};
@@ -107,7 +106,7 @@ struct Variable {
107106

108107
// Virtual Machine Argument
109108
struct VMA {
110-
const ArgumentType argType = ArgumentType::Unused;
109+
const ArgumentType argType;
111110
const DataType dataType;
112111
const FixedPoint value;
113112
explicit VMA(FixedPoint value)

0 commit comments

Comments
 (0)