Fix putfield object/value order

This commit is contained in:
Adam
2015-09-08 13:33:46 -04:00
parent 9c16bc7ede
commit 7b440adc0c

View File

@@ -43,9 +43,9 @@ public class PutField extends Instruction implements SetFieldInstruction
InstructionContext ins = new InstructionContext(this, frame);
Stack stack = frame.getStack();
StackContext object = stack.pop();
StackContext value = stack.pop();
ins.pop(object, value);
StackContext object = stack.pop();
ins.pop(value, object);
frame.addInstructionContext(ins);
}