Fix order of function method arguments to be (callee, thisObject)

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      Currently script functions are compiled to methods that take (Object thisObject, ScriptFunction callee) as first two arguments. However, actual callsites have these arguments in reverse order and we need to permute MethodHandle arguments for function that expect both this-object and callee arguments.

      Parameters of generated methods should be changed to match callsite arguments.

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

              Created:
              Updated:
              Resolved: