Fork of Adobe/Mozilla lightweight library for generating machine code from C++
C++ Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example Fix memory leak in example May 11, 2009
.gitignore Initial import May 11, 2009
Assembler.cpp Update to mozilla-central commit 968dfb Jun 25, 2009
Assembler.h Update to mozilla-central commit c11a84 May 30, 2009
Fragmento.cpp Update to mozilla-central commit 968dfb Jun 25, 2009
Fragmento.h Update to mozilla-central commit 968dfb Jun 25, 2009
LICENSE Initial import May 11, 2009
LIR.cpp Update to mozilla-central commit 968dfb Jun 25, 2009
LIR.h Update to mozilla-central commit 968dfb Jun 25, 2009
LIRopcode.tbl Update to mozilla-central commit 968dfb Jun 25, 2009
Native.h Update to mozilla-central commit 968dfb Jun 25, 2009
NativeARM.cpp Update to mozilla-central commit 968dfb Jun 25, 2009
NativeARM.h Update to mozilla-central commit 968dfb Jun 25, 2009
NativeSparc.cpp Update to mozilla-central commit 968dfb Jun 25, 2009
NativeSparc.h
NativeThumb.cpp Update to mozilla-central commit c11a84 May 30, 2009
NativeThumb.h Initial import May 11, 2009
Nativei386.cpp Update to mozilla-central commit 968dfb Jun 25, 2009
Nativei386.h Update to mozilla-central commit 968dfb Jun 25, 2009
README Deprecated this library in favour of nanojit-central Mar 22, 2010
RegAlloc.cpp Update to mozilla-central commit c11a84 May 30, 2009
RegAlloc.h Update to mozilla-central commit c11a84 May 30, 2009
TraceTreeDrawer.cpp Update to mozilla-central commit c11a84 May 30, 2009
TraceTreeDrawer.h
avmplus.cpp
avmplus.h Update to mozilla-central commit 968dfb Jun 25, 2009
js-config.h
jsapi.h Initial import May 11, 2009
jsautocfg.h
jsinttypes.h Initial import May 11, 2009
jsotypes.h
jsstdint.h
jstypes.h Initial import May 11, 2009
makefile Update to mozilla-central commit 968dfb Jun 25, 2009
mozilla-config.h Initial import May 11, 2009
nanojit.h Update to mozilla-central commit 968dfb Jun 25, 2009
update.sh Update to mozilla-central commit 968dfb Jun 25, 2009

README

[ Note: I've deprecated this library and will no longer be updating it ]
[ Mozilla and Adobe have recently merged their Nanojit implementations ]
[ and set up a shared repository to develop it further:                ]
[                                                                      ]
[   http://hg.mozilla.org/projects/nanojit-central                     ]
[                                                                      ]
[ I've created a git repository that mirrors this at:                  ]
[                                                                      ]
[   http://github.com/doublec/nanojit-central                          ]
[                                                                      ]

Nanojit
=======

Nanojit is a small cross platform C++ library that emits machine
code. It was originally part of Adobe's Tamarin ActionScript VM. It is
also used by Mozilla in their 'TraceMonkey' JavaScript implementation.

I'm using it in a couple of my projects so I pulled the source out of
those projects and made it into its own repository. The current source
was refreshed from Mozilla's mozilla-central repository at commit id
968dfb (http://hg.mozilla.org/mozilla-central).

I'll periodically update from the original repositories to get bug
fixes and improvements.

License
=======

The source code is tri-licensed under MPL 1.1/GPL 2.0/LGPL 2.1. See
the LICENSE file for details.

Build
=====

A makefile is provided. It currently only builds a version of nanojit
for x86 machine code generation. Feel free to tweak, submit patches,
etc to fix this.

Documentation
=============

See the documentation at the Mozilla developer site:

  https://developer.mozilla.org/En/Nanojit

The example program from that documentation is in the 'example'
subdirectory.

Contact
===============

The location of this version of nanojit is:

  http://github.com/doublec/nanojit

I can be reached:

  Chris Double
  chris.double@double.co.nz
  http://www.bluishcoder.co.nz