summaryrefslogtreecommitdiffstats
path: root/src/org/jetbrains/java/decompiler/code/instructions/IF_ICMPLT.java
blob: 107519e7d91e15b82e9647c1b50bb7006bad283a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.jetbrains.java.decompiler.code.instructions;

import java.io.DataOutputStream;
import java.io.IOException;

import org.jetbrains.java.decompiler.code.JumpInstruction;

public class IF_ICMPLT extends JumpInstruction {

	public void writeToStream(DataOutputStream out, int offset) throws IOException {
		out.writeByte(opc_if_icmplt);
		out.writeShort(getOperand(0));
	}	
	
	public int length() {
		return 3;
	}
	
}