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

Complete merging of loads and converts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8
    • None
    • core-libs
    • None

    Description

      We still have a lot of load(exp).convert(type) style expressions in CodeGenerator. They generate unnecessary static conversion code, e.g.

          invokedynamic dyn:call(Object;Object;String;)Object;
          invokestatic JSType.toBoolean(Object;)Z

      instead of the more natural

          invokedynamic dyn:call(Object;Object;String;)Z

      These remaining expressions should be changed to load(exp, type).

      Attachments

        Issue Links

          Activity

            People

              attila Attila Szegedi
              attila Attila Szegedi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: