JavaScript:SpiderMonkey:Refactor2010: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 3: Line 3:
Tracking bug is [https://bugzilla.mozilla.org/show_bug.cgi?id=602695 bug 602695].
Tracking bug is [https://bugzilla.mozilla.org/show_bug.cgi?id=602695 bug 602695].


* Create tracejit/ (will be done as part of https://bugzilla.mozilla.org/show_bug.cgi?id=602703 bug 602703]).
* Create tracejit/ (will be done as part of [https://bugzilla.mozilla.org/show_bug.cgi?id=602703 bug 602703]).


* Rename trace-tests (it's used for testing the methodjit as well).
* Rename trace-tests (it's used for testing the methodjit as well). ([https://bugzilla.mozilla.org/show_bug.cgi?id=605374 bug605374])


* Create a layer over Nanojit's LIR creation API ([https://bugzilla.mozilla.org/show_bug.cgi?id=602703 bug 602703]).  This will pull quite a few functions out of TraceRecorder, as well as encapsulating the LIR writer pipeline.
* Create a layer over Nanojit's LIR creation API ([https://bugzilla.mozilla.org/show_bug.cgi?id=602703 bug 602703]).  This will pull quite a few functions out of TraceRecorder, as well as encapsulating the LIR writer pipeline.

Revision as of 03:26, 19 October 2010

Refactor jstracer.cpp

Tracking bug is bug 602695.

  • Create tracejit/ (will be done as part of bug 602703).
  • Rename trace-tests (it's used for testing the methodjit as well). (bug605374)
  • Create a layer over Nanojit's LIR creation API (bug 602703). This will pull quite a few functions out of TraceRecorder, as well as encapsulating the LIR writer pipeline.
  • Move Tracker into its own file.
  • Move Oracle into its own file.
  • Move TraceMonitor into its own file.
  • Move TreeFragment into its own file.
  • Move TypeMap into its own file.
  • Move all that slot visiting code into its own file or files.

Other stuff

  • Replace JSBool with bool throughout?
  • Move lots of stuff into the js namespace, remove js_ prefixes?