View Javadoc

1   package serp.bytecode;
2   
3   /***
4    * A synchronization instruction.
5    *
6    * @author Abe White
7    */
8   public abstract class MonitorInstruction extends Instruction {
9       MonitorInstruction(Code owner, int opcode) {
10          super(owner, opcode);
11      }
12  
13      public int getStackChange() {
14          return -1;
15      }
16  }