Exemplo n.º 1
0
 /**
  * Gets the input bytecode {@linkplain ResolvedJavaMethod#getCodeSize() size} from which this
  * graph is constructed. This ignores how many bytecodes in each constituent method are actually
  * parsed (which may be none for methods whose IR is retrieved from a cache or less than the full
  * amount for any given method due to profile guided branch pruning).
  */
 public int getBytecodeSize() {
   int res = method.getCodeSize();
   for (ResolvedJavaMethod e : inlinedMethods) {
     res += e.getCodeSize();
   }
   return res;
 }