summaryrefslogtreecommitdiffstats
path: root/src/de/fernflower/code/instructions/INSTANCEOF.java
blob: abe9c0196cf2c4695eb76e8e5b431f0ec5be4750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package de.fernflower.code.instructions;

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

import de.fernflower.code.Instruction;

public class INSTANCEOF extends Instruction {

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