public void visit_ret(final Instruction inst) {
		final int index = ((LocalVariable) inst.operand()).index();

		if (index + 1 > maxLocals) {
			maxLocals = index + 1;
		}

		if (index < 256) {
			addOpcode(Opcode.opc_ret);
			addByte(index);
		} else {
			addOpcode(Opcode.opc_wide);
			addByte(Opcode.opc_ret);
			addShort(index);
		}

		stackHeight += 0;
	}