Add NegateInstruction

This commit is contained in:
Robert Marsh
2018-09-19 12:01:21 -07:00
parent a3c6b8e575
commit 08e9eea1f2

View File

@@ -761,6 +761,12 @@ class RemInstruction extends BinaryInstruction {
}
}
class NegateInstruction extends UnaryInstruction {
NegateInstruction() {
opcode instanceof Opcode::Negate
}
}
class BitAndInstruction extends BinaryInstruction {
BitAndInstruction() {
opcode instanceof Opcode::BitAnd