All the provisions of law in relation to the listing, drawing, summoning and impaneling juries are directory merely, and a jury listed, drawn, summoned or impaneled, though in an informal or irregular manner, shall be deemed a legal jury after it shall have been impaneled and sworn, and it shall have the power to perform all the duties devolving on the jury.