Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-4740

[drlvm][jit][jet] Subroutine (jsr - ret) processing in JET is incomplete

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • DRLVM
    • None
    • any
    • Guru

    Description

      The testcase JsrNoRet from the parent issue shows that Jitrino.JET can work only with "normal" bytecodes.
      It is quite easy to break it by manually written testcase with unnatural combinations of jsr and ret instructions.

      The idea how to fix it:

      Additional pass should be added between the current two. It should walk through the method in the execution manner to gather the information how 'return address' values migrates from jsr instruction to ret. It allows to know at the last pass to which points we should propagate the state from the point of ret.

      Attachments

        Issue Links

          Activity

            People

              mfursov Mikhail Fursov
              gatimosh George Timoshenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: