jdk/src/share/classes/sun/tools/tree/NewInstanceExpression.java
changeset 23740 1d63a6c00b26
parent 5506 202f599c92aa
child 25799 1afc4675dc75
equal deleted inserted replaced
23739:2815f34a64c5 23740:1d63a6c00b26
   485         codeCommon(env, ctx, asm, false);
   485         codeCommon(env, ctx, asm, false);
   486     }
   486     }
   487     public void codeValue(Environment env, Context ctx, Assembler asm) {
   487     public void codeValue(Environment env, Context ctx, Assembler asm) {
   488         codeCommon(env, ctx, asm, true);
   488         codeCommon(env, ctx, asm, true);
   489     }
   489     }
       
   490     @SuppressWarnings("fallthrough")
   490     private void codeCommon(Environment env, Context ctx, Assembler asm,
   491     private void codeCommon(Environment env, Context ctx, Assembler asm,
   491                             boolean forValue) {
   492                             boolean forValue) {
   492         asm.add(where, opc_new, field.getClassDeclaration());
   493         asm.add(where, opc_new, field.getClassDeclaration());
   493         if (forValue) {
   494         if (forValue) {
   494             asm.add(where, opc_dup);
   495             asm.add(where, opc_dup);