Displaying 1 result from an estimated 1 matches for "cfg_for_j2_".
Did you mean:
cfg_for_j1
2009 Nov 09
0
[LLVMdev] Optimizing class casts away
...lassCastException if the cast fails at runtime.
Would it be possible for some of you guys more familiar with vmkit to
explain me how it produces code for these casts and tests? I have separated
two CFG's. The first
here<http://www2.dcc.ufmg.br/laboratorios/llp/wiki/lib/exe/fetch.php?media=cfg_for_j2_.pdf>is
for the program below:
public class J2 {
Object o = new String;
}
The second CFG here<http://www2.dcc.ufmg.br/laboratorios/llp/wiki/lib/exe/fetch.php?media=cfg_for_j1.pdf>is
for the same program, without the cast:
public class J1 {
Object o = new String;
String s = (String)o;...