Example #1
0
 public QuadStatement[] getQuadCode(TypeInfo[] stack, VariableTable varTable)
     throws TypeException {
   Variable s0 = varTable.getDefaultStackVariable(stack.length - 1);
   return new QuadStatement[] {new QuadTableswitch(getLowValue(), getHighValue(), s0)};
 }
Example #2
0
 public QuadStatement[] getQuadCode(TypeInfo[] stack, VariableTable varTable)
     throws TypeException {
   Variable s0 = varTable.getDefaultStackVariable(stack.length - 1);
   return new QuadStatement[] {new QuadNewArray(getArrayType(), s0, s0)};
 }