Complete merging of loads and converts

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: None
    • Component/s: 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).

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

              Created:
              Updated:
              Resolved: