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

[drlvm][jit] Jitrino fails to compile interlaced subroutines

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • DRLVM
    • None
    • Windows ia32
    • Patch Available
    • Advanced

    Description

      JET fails to compile a subroutine. I have attached the test I used to reproduce the problem and an attempt to localize it (in jasmin).

      jitrino.dll!Jitrino::Jet::JFrame::operator=() Line 84 + 0x3 C++
      jitrino.dll!Jitrino::Jet::BBState::operator=() + 0x10 C++
      jitrino.dll!Jitrino::Jet::Compiler::comp_gen_insts(unsigned int pc=3, unsigned int parentPC=7, unsigned int jsr_lead=4294967295) Line 881 + 0x8 C++
      jitrino.dll!Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int pc=3) Line 819 + 0xe C++
      jitrino.dll!Jitrino::Jet::Compiler::compile(void * ch=0x0013f42c, Method * method=0x02bc7a00, const OpenMethodExecutionParams & params=

      {...}) Line 394 C++
      jitrino.dll!Jitrino::Jet::compile_with_params(void * jit_handle=0x011e7ac0, void * ch=0x0013f42c, Method * method=0x02bc7a00, OpenMethodExecutionParams params={...}

      ) Line 523 + 0x2c C++
      [...]

      Attachments

        1. combined.diff
          19 kB
          Mikhail Fursov
        2. HARMONY-3098-JET-quickfix.patch
          2 kB
          George Timoshenko
        3. HARMONY-3098-JET-quickfix.patch
          2 kB
          George Timoshenko
        4. HARMONY-3098-OPT.patch
          30 kB
          George Timoshenko
        5. HARMONY-3098-regression-test.patch
          1 kB
          George Timoshenko
        6. JsrNoRet.class
          0.2 kB
          Alexei Fedotov
        7. JsrNoRet.j
          0.4 kB
          Alexei Fedotov
        8. JsrNoRet2.class
          0.2 kB
          Alexei Fedotov
        9. JsrNoRet2.j
          0.4 kB
          Alexei Fedotov

        Activity

          People

            mfursov Mikhail Fursov
            leshik Alexei Fedotov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: