JM: PIC for arguments.length

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: dmandelin, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
See earley-boyer line 4185:

  function sc_list() {
    var res = null;
    var a = arguments;
    for (var i = a.length-1; i >= 0; i--)  // a.length gets PIC misses
      res = new sc_Pair(a[i], res);
    return res;
  }

Probably only a small speedup, but we will want it.
this is a quickie so taking. looks like ~5% win on earley-boyer.

http://hg.mozilla.org/users/danderson_mozilla.com/moo/rev/5408e0e3863b
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.