mozilla

Compare Revisions

Nanojit

Change Revisions

Revision 53871:

Revision 53871 by msullivan on

Revision 53872:

Revision 53872 by msullivan on

Title:
Nanojit
Nanojit
Slug:
Nanojit
Nanojit
Tags:
SpiderMonkey, "Developing Mozilla"
SpiderMonkey, "Developing Mozilla"
Content:

Revision 53871
Revision 53872
n32g++ -DDEBUG -g3 -Wno-invalid-offsetof -include js-confdefs.h -I dn32g++ -DDEBUG -g3 -Wno-invalid-offsetof -fno-rtti -include js-confd
>ist/include/ -I.. -I ../nanojit -o jittest ../jittest.cpp libjs_s>efs.h -I dist/include/ -I.. -I ../nanojit -o jittest ../jittest.c
>tatic.a>pp libjs_static.a
nn41#include "jstracer.h"
n58        n59 
nn61        Allocator *alloc = new VMAllocator();
62        CodeAlloc *codeAlloc = new CodeAlloc();
63        Assembler *assm = new (&gc) Assembler(*codeAlloc, *al
 >loc, &core, &lc);
64        Fragmento *fragmento =
60        Fragmento *fragmento = new (&gc) Fragmento(&core,65                new (&gc) Fragmento(&core, &lc, CACHE
> &lc, CACHE_SIZE_LOG2);>_SIZE_LOG2, codeAlloc);
61        LirBuffer *buf = new (&gc) LirBuffer(fragmento);66        LirBuffer *buf = new (&gc) LirBuffer(*alloc);
n64        fragmento->labels = new (&gc) LabelMap(&core);n69        fragmento->labels = new (*alloc) LabelMap(*alloc, &amp
 >;lc);
65        buf->names = new (&gc) LirNameMap(&gc, fragmen70        buf->names = new (&gc) LirNameMap(&gc, *alloc,
>to->labels);> fragmento->labels);
n96        compile(fragmento->assm(), f);n101        compile(fragmentoassm, f, *alloc);
97        if (fragmento->assm()->error() != None) {102        if (assm->error() != None) {
n109 n
t193    <p style="text-align: left;">t
194      &nbsp;
195    </p>

Back to History