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

Complete merging of loads and converts

XMLWordPrintable

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

      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).

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

              Created:
              Updated:
              Resolved: