Return the correct instruction size

This commit is contained in:
Ben Gruver
2012-10-28 15:01:57 -07:00
parent 43b6b5f200
commit eee0ff70fd

View File

@ -127,7 +127,7 @@ public abstract class ImmutableInstruction implements Instruction {
public abstract Format getFormat();
public int getCodeUnits() {
return getFormat().size * 2;
return getFormat().size / 2;
}
@Nonnull