JavaScript:SpiderMonkey:Refactor2010

From MozillaWiki
Revision as of 23:34, 7 October 2010 by Nnethercote (talk | contribs) (Created page with "== Refactor jstracer.cpp == Tracking bug is [https://bugzilla.mozilla.org/show_bug.cgi?id=602695 bug 602695]. * Create tracejit/. * Rename trace-tests (it's used for testing t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Refactor jstracer.cpp

Tracking bug is bug 602695.

  • Create tracejit/.
  • Rename trace-tests (it's used for testing the methodjit as well).
  • 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?