public static int zero ( int tc ) { switch ( tc ) { case INTcode : case BYTEcode : case SHORTcode : case CHARcode : return iconst_0 ; case LONGcode : return lconst_0 ; case FLOATcode : return fconst_0 ; case DOUBLEcode : return dconst_0 ; default : throw new AssertionError ( "zero" ) ; } }
The opcode that loads a zero constant of a given type code .