shaver@mozilla.org
|
b0ad41b5ab
|
fix opcode math with the mighty hammer of casting
|
2008-07-10 20:41:55 -04:00 |
|
Andreas Gal
|
bc8f19facf
|
Merge.
|
2008-07-10 17:41:45 -07:00 |
|
Andreas Gal
|
c506cb686e
|
nanojit doesn't support loads with non-constant offsets so don't do that
|
2008-07-10 17:41:24 -07:00 |
|
shaver@mozilla.org
|
c673ef75a9
|
the rest of the stdint defs, no idea why I didn't do them before
|
2008-07-10 20:25:57 -04:00 |
|
Andreas Gal
|
3e9da8925c
|
Merge.
|
2008-07-10 17:05:13 -07:00 |
|
Andreas Gal
|
dffeaf5997
|
Steal the reference to cx from the BoxDouble call instead of observing the load.
|
2008-07-10 17:03:59 -07:00 |
|
Andreas Gal
|
929143b685
|
Fixed the setelem a[i] bug.
|
2008-07-10 16:55:37 -07:00 |
|
David Anderson
|
421a4d9058
|
Nanojit needs a LINUX define (which may be my fault), fixing it here for now
|
2008-07-10 16:26:28 -07:00 |
|
shaver@mozilla.org
|
4a4a43e952
|
use VirtualAlloc for Windows, since it lacks valloc
|
2008-07-10 18:39:51 -04:00 |
|
shaver@mozilla.org
|
4a120b6af6
|
interp needs tracer.h
|
2008-07-10 17:31:38 -04:00 |
|
shaver@mozilla.org
|
325fb165a9
|
Decouple jscntxt.h from jstracer.h so that xpconnect doesn't try to include all of
nanojit.
|
2008-07-10 17:29:16 -04:00 |
|
shaver@mozilla.org
|
7ee1731d53
|
FASTCALL for Windows
|
2008-07-10 17:16:31 -04:00 |
|
shaver@mozilla.org
|
ff2b500e91
|
int32_t, now available on Windows
|
2008-07-10 16:58:08 -04:00 |
|
shaver@mozilla.org
|
86412904af
|
Unlike software developers, g++ doesn't like variable-sized arrays. Have some alloca!
|
2008-07-10 16:48:42 -04:00 |
|
shaver@mozilla.org
|
344d5edbe7
|
merge
|
2008-07-10 16:47:12 -04:00 |
|
David Anderson
|
229e5b4a36
|
Fixed guarding of eq+ifeq/ifne fusions and enabled tracing JSOP_GOTO (no-op)
|
2008-07-10 13:35:17 -07:00 |
|
Andreas Gal
|
6f69a35718
|
Root all strings and objects first when unboxing. Then box values that might trigger the GC (doubles/ints). This probably needs some performance tuning over time.
|
2008-07-10 13:24:49 -07:00 |
|
Andreas Gal
|
e42a82831b
|
Merge.
|
2008-07-10 09:24:59 -07:00 |
|
Andreas Gal
|
63e8552ce0
|
Don't concede an inch to ISO C++. Substract the size of array[1] from the overall struct size when allocating.
|
2008-07-10 09:22:01 -07:00 |
|
shaver@mozilla.org
|
65319f7c27
|
update trace-test.js, now crashes calling lsh() the second time
|
2008-07-10 10:45:11 -04:00 |
|
shaver@mozilla.org
|
9218d7f8e3
|
MSVC knows about intptr_t, and doesn't like our remix
|
2008-07-10 10:21:29 -04:00 |
|
shaver@mozilla.org
|
66ff430be2
|
I'm going to just keep bludgeoning these typedefs until they stick
|
2008-07-10 10:18:22 -04:00 |
|
shaver@mozilla.org
|
131f5aca33
|
try to find malloc on Linux; this buildbot thing rules the school
|
2008-07-10 10:03:45 -04:00 |
|
shaver@mozilla.org
|
7357ba307c
|
use typedefs instead of stdint.h, because someone forgot to tell MSVC it was 2008
|
2008-07-10 09:52:34 -04:00 |
|
shaver@mozilla.org
|
ee71713651
|
can't have zero-sized arrays in ISO C++, says gcc
|
2008-07-10 09:29:42 -04:00 |
|
shaver@mozilla.org
|
3f3e4c108b
|
use stdint.h instead of typedefs to help Linux find intptr_t
|
2008-07-10 09:20:36 -04:00 |
|
shaver@mozilla.org
|
2ffa61c5b4
|
build nanojit
|
2008-07-10 09:12:53 -04:00 |
|
shaver@mozilla.org
|
edb9d11c27
|
Make nanojit arch selection explicit in config/*, though for now only OS X and Linux
on x86.
|
2008-07-10 09:12:17 -04:00 |
|
shaver@mozilla.org
|
4b07cd2663
|
rename builtins.tbl *back*, because nanojit expects that name, and whatever
--HG--
rename : js/src/jsbuiltins.tbl => js/src/builtins.tbl
|
2008-07-10 08:53:03 -04:00 |
|
shaver@mozilla.org
|
0ed71e422d
|
rename builtins.tbl to our usual form
--HG--
rename : js/src/builtins.tbl => js/src/jsbuiltins.tbl
|
2008-07-10 08:51:44 -04:00 |
|
shaver@mozilla.org
|
8413035cda
|
fix include ordering for THREADSAFE build
|
2008-07-10 08:40:43 -04:00 |
|
shaver@mozilla.org
|
f105edebe6
|
fix compilation, but possibly not logic, of shared-object defense
|
2008-07-10 08:05:25 -04:00 |
|
shaver@mozilla.org
|
19e59bdda5
|
revert ancient shuffling of js_CompareAndSwap decl to fix THREADSAFE build
|
2008-07-10 07:57:18 -04:00 |
|
shaver@mozilla.org
|
c66b22b530
|
some build fixes to help in-browser and other-arch build
|
2008-07-10 07:56:36 -04:00 |
|
Andreas Gal
|
dd9aee02b8
|
Prime the page cache during VM startup. This makes us eat the page cache allocation overhead there instead of during the first use. This is just a hotfix. We still need a rewrite of the page cache.
|
2008-07-09 23:47:17 -07:00 |
|
Andreas Gal
|
106c582c79
|
Merge.
|
2008-07-09 23:42:46 -07:00 |
|
Andreas Gal
|
cb1318a185
|
Backed out changeset 234230320093 (reducing code cache size due to startup issue.)
|
2008-07-09 23:42:27 -07:00 |
|
Andreas Gal
|
e5989165b9
|
Merge.
|
2008-07-09 19:12:09 -07:00 |
|
Brendan Eich
|
1168c30a0a
|
Always allocate gvars for top-level scripts if any global names are used -- may hurt some microbenchmarks but we can fix it via bug 441686.
|
2008-07-09 19:10:01 -07:00 |
|
Andreas Gal
|
520e1d0567
|
Assert if no gvar is allocated for an undeclared global.
|
2008-07-09 18:51:08 -07:00 |
|
Andreas Gal
|
9690bf6254
|
Merge.
|
2008-07-09 18:25:36 -07:00 |
|
Andreas Gal
|
1a2aead6ae
|
varobj is not passed through the chain. Make sure to use global->varobj for gvar access.
|
2008-07-09 18:25:10 -07:00 |
|
shaver@mozilla.org
|
96af6df932
|
More tests, working on crashes.
|
2008-07-09 21:09:11 -04:00 |
|
Brendan Eich
|
0ce52c7d2d
|
Merge.
|
2008-07-09 17:58:19 -07:00 |
|
Andreas Gal
|
ff827bd70c
|
Reduce code cache size until we fix the page allocation code to not touch all the pages at startup (nanojit issues, assigned to gal).
|
2008-07-09 17:37:41 -07:00 |
|
Andreas Gal
|
429ebf8d6c
|
Fixed name/setname code to just track the value move instead of touching memory since we have global variables in our native frame now. We have to fix the page cache issues before we can benchmark this.
|
2008-07-09 17:15:27 -07:00 |
|
Brendan Eich
|
a86297702a
|
Condition fp->arg*/*vars usage on fp->callee, not fp->down.
|
2008-07-09 17:10:42 -07:00 |
|
Andreas Gal
|
a529e2f6b2
|
Add verbose native stack frame printing.
|
2008-07-09 17:09:22 -07:00 |
|
Brendan Eich
|
25d02bc059
|
Memoize implicit gvars in the interpreter, on assignment (JSOP_BINDNAME/JSOP_SETNAME); fix recoder l/r operand order bug.
|
2008-07-09 16:37:31 -07:00 |
|
Brendan Eich
|
046cf0942e
|
1. Fix inc to address the right result stack slot; 2. Require via assertions that the interpreter memoize implicit gvars (patch to do that next; bitwise-and will assert until that lands).
|
2008-07-09 15:15:32 -07:00 |
|