weixin_39977934 2020-11-21 20:02
浏览 0

Compilation object cleanup

Change the Compilation object's region member type to a reference, allowing comp->region() to return the same region used by heap memory.

Clean up the initializer list of OMR::Compilation so that members initialization are specified in the same order as their declaration inside the class definition. (Which is the order they get initialized anyway, regardless of their order in the initializer list.)

Change permissions of _signature member and replace its external uses with a call to the signature() method. _signature should still be the first member, as this can significantly ease defect investigations.

Remove _aotClassInfo from OMR::Compilation as it never gets used.

Signed-off-by: Luc des Trois Maisons

该提问来源于开源项目:eclipse/omr

  • 写回答

5条回答 默认 最新

  • weixin_39977934 2020-11-21 20:02
    关注

    This change will require downstream changes from projects that extend the definition of OMR::Compilation

    评论

报告相同问题?