summaryrefslogtreecommitdiffstats
path: root/src/de/fernflower/code/instructions/IFNE.java
blob: 983fea2803e5ae045b92a3e724727621f3a140d8 (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 IFNE extends JumpInstruction {

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

	public int length() {
		return 3;
	}
	
}