Closed Bug 604029 Opened 14 years ago Closed 14 years ago

Compile/fast-path JSOP_FORGLOBAL

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 597455

People

(Reporter: bhackett1024, Unassigned)

References

Details

Scripts containing FORGLOBAL are currently interpreted.  The shell testcase in bug 514765 uses FORGLOBAL to load its input ROM into memory.  I get these times:

js -m: 193ms
jsc: 123ms
v8: 32ms

If I doctor the testcase to use FORLOCAL, I get these times:

js -m: 38ms
jsc: 118ms
v8: 31ms

I don't know if the gameboy website also uses FORGLOBAL.
Hmm.  I'm not seeing a shell testcase in bug 514765.  Am I just being blind?
Here is the link (it is a zip file, run tracemonkey_test.js):

https://bugzilla.mozilla.org/attachment.cgi?id=399791
Hrm, I've got a patch in my queue from bug 597455, will upload soon.
Depends on: 597455
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.