'devirt' - devirtualization of virtual and interface calls

Guarded devirtualization of virtual method calls reduces their run-time cost and enables the compiler to inline their targets.
Provided exact type information, this optimization can convert a virtual call into a more efficient direct call.
When no type information is available, the most probable target of the virtual method can be predicted, and the optimization devirtualizes the call by guarding it with a fast run-time class test to verify that the predicted method is in fact the target.

header file: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/devirtualizer.h
implementation file: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/devirtualizer.cpp

Jitrino_OPT/devirt (last edited 2009-09-20 21:55:32 by localhost)