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

Some C2 IR nodes miss size_of() function

XMLWordPrintable

    • b24
    • 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:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: