Example #1
0
 public static void pop(GeneratorAdapter adapter, Type type) {
   if (type.equals(Types.DOUBLE_VALUE)) adapter.pop2();
   else if (type.equals(Types.VOID)) ;
   else adapter.pop();
 }
Example #2
0
 /**
  * @param adapter
  * @param expr
  * @param mode
  */
 public static void pop(GeneratorAdapter adapter, Expression expr, int mode) {
   if (mode == Expression.MODE_VALUE && (expr instanceof ExprDouble)) adapter.pop2();
   else adapter.pop();
 }