Fork of Adobe/Mozilla lightweight library for generating machine code from C++
C++ Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
.gitignore
Assembler.cpp
Assembler.h
Fragmento.cpp
Fragmento.h
LICENSE
LIR.cpp
LIR.h
LIRopcode.tbl
Native.h
NativeARM.cpp
NativeARM.h
NativeSparc.cpp
NativeSparc.h
NativeThumb.cpp
NativeThumb.h
Nativei386.cpp
Nativei386.h
README
RegAlloc.cpp
RegAlloc.h
TraceTreeDrawer.cpp
TraceTreeDrawer.h
avmplus.cpp
avmplus.h
js-config.h
jsapi.h
jsautocfg.h
jsinttypes.h
jsotypes.h
jsstdint.h
jstypes.h
makefile
mozilla-config.h
nanojit.h
update.sh

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