コード例 #1
0
 private HashSet<Integer> getAAStoreNewIds(OperandStack stack) {
   int currentSizeOfStack = stack.getCurrentSize();
   GCType type = (GCType) stack.get(currentSizeOfStack - 3);
   HashSet<Integer> toRet = type.getAllNewIds();
   toRet.remove(-1);
   return toRet;
 }
コード例 #2
0
 private HashSet<Integer> getAALOADNewIds(OperandStack stack) {
   HashSet<Integer> toRet = new HashSet<Integer>();
   try {
     int currentSizeOfStack = stack.getNumberOfTypesInStack();
     GCType type = (GCType) stack.get(currentSizeOfStack - 2);
     toRet = type.getAllNewIds();
     toRet.remove(-1);
   } catch (Exception d) {
     d.printStackTrace();
     System.exit(1);
   }
   return toRet;
 }