Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8356328

Some C2 IR nodes miss size_of() function

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 11, 17, 21, 25
    • hotspot
    • generic
    • generic

      C2 IR nodes should keep this invariant

      this->size_of() == sizeof(*this)

      I wrote a test to check every nodes defined in opto/classes.hpp . And I found some of them miss size_of() function and break the invariant.

            kwei Kuai Wei
            kwei Kuai Wei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: