slightly smarter
This commit is contained in:
parent
d51f6627b3
commit
0e6fce058f
2 changed files with 20 additions and 40 deletions
|
|
@ -66,26 +66,26 @@ fn get_opcode(opcodes: &[u8], c: &mut usize) -> Opcode {
|
|||
23 => FLOAD(read_u8(opcodes, c)),
|
||||
24 => DLOAD(read_u8(opcodes, c)),
|
||||
25 => ALOAD(read_u8(opcodes, c)),
|
||||
26 => ILOAD_0,
|
||||
27 => ILOAD_1,
|
||||
28 => ILOAD_2,
|
||||
29 => ILOAD_3,
|
||||
30 => LLOAD_0,
|
||||
31 => LLOAD_1,
|
||||
32 => LLOAD_2,
|
||||
33 => LLOAD_3,
|
||||
34 => FLOAD_0,
|
||||
35 => FLOAD_1,
|
||||
36 => FLOAD_2,
|
||||
37 => FLOAD_3,
|
||||
38 => DLOAD_0,
|
||||
39 => DLOAD_1,
|
||||
40 => DLOAD_2,
|
||||
41 => DLOAD_3,
|
||||
42 => ALOAD_0,
|
||||
43 => ALOAD_1,
|
||||
44 => ALOAD_2,
|
||||
45 => ALOAD_3,
|
||||
26 => ILOAD(0),
|
||||
27 => ILOAD(1),
|
||||
28 => ILOAD(2),
|
||||
29 => ILOAD(3),
|
||||
30 => LLOAD(0),
|
||||
31 => LLOAD(1),
|
||||
32 => LLOAD(2),
|
||||
33 => LLOAD(3),
|
||||
34 => FLOAD(0),
|
||||
35 => FLOAD(1),
|
||||
36 => FLOAD(2),
|
||||
37 => FLOAD(3),
|
||||
38 => DLOAD(0),
|
||||
39 => DLOAD(1),
|
||||
40 => DLOAD(2),
|
||||
41 => DLOAD(3),
|
||||
42 => ALOAD(0),
|
||||
43 => ALOAD(1),
|
||||
44 => ALOAD(2),
|
||||
45 => ALOAD(3),
|
||||
46 => IALOAD,
|
||||
47 => LALOAD,
|
||||
48 => FALOAD,
|
||||
|
|
|
|||
|
|
@ -34,26 +34,6 @@ pub(crate) enum Opcode {
|
|||
WIDE_DLOAD(u16),
|
||||
ALOAD(u8),
|
||||
WIDE_ALOAD(u16),
|
||||
ILOAD_0,
|
||||
ILOAD_1,
|
||||
ILOAD_2,
|
||||
ILOAD_3,
|
||||
LLOAD_0,
|
||||
LLOAD_1,
|
||||
LLOAD_2,
|
||||
LLOAD_3,
|
||||
FLOAD_0,
|
||||
FLOAD_1,
|
||||
FLOAD_2,
|
||||
FLOAD_3,
|
||||
DLOAD_0,
|
||||
DLOAD_1,
|
||||
DLOAD_2,
|
||||
DLOAD_3,
|
||||
ALOAD_0,
|
||||
ALOAD_1,
|
||||
ALOAD_2,
|
||||
ALOAD_3,
|
||||
IALOAD,
|
||||
LALOAD,
|
||||
FALOAD,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue