Graydon Hoare
4ebe86d4d6
Bug 523952 - typos and cleanup from tamarin, r=gal.
...
--HG--
extra : rebase_source : da1dcdcc6c1f21f73b2223dcdb611c17a9018190
2009-10-22 14:29:37 -07:00
David Anderson
d58ade6e88
Fixed slurp-fail anchors trying to import and read from the tracker (bug 524061, r=gal).
2009-10-23 11:16:05 -07:00
David Anderson
68ef4d94cc
Added debug-break to JS_Assert for gcc x64 (bug 524143, r=gal).
2009-10-23 10:28:06 -07:00
David Anderson
68a2e228b9
Fix GCC uninit-var warning (no bug, r=brendan).
2009-10-23 09:28:04 -07:00
Igor Bukanov
65167b3b55
bug 523688 - avoiding spurious OOM messages when on trace. r=brendan
2009-10-23 11:03:17 +04:00
David Anderson
409629ab00
Clear argsobj private on trace (bug 522024, r=dmandelin).
2009-10-22 17:56:46 -07:00
Luke Wagner
1d94deddcc
Remove execute permissions on source files
2009-10-22 10:41:19 -07:00
Brendan Eich
c3f1c5c313
Fix old ES3 lexing bug where 3in scanned as 3 and in (523401, r=jorendorff).
2009-10-22 10:07:56 -07:00
David Anderson
54edcd9d12
Merge.
2009-10-21 20:01:40 -07:00
David Anderson
343ba2a4f1
Fixed large displacements messing up the tracker on ARM (bug 521190, r=gal).
2009-10-21 20:01:16 -07:00
Graydon Hoare
e8fadaac4d
Bug 523505 - Followup build fixes, r=gal on IRC.
2009-10-21 19:58:21 -07:00
Graydon Hoare
fa459a4922
Bug 523766 - move jump tables to allocator, r=gal.
2009-10-21 19:50:35 -07:00
Graydon Hoare
6943ce8e71
Bug 523505 - move icache flushing logic around, r=gal.
2009-10-21 16:26:52 -07:00
Daniel Holbert
c5b58991fe
Bug 523166: Switch to use c-style comments in jsutil.h to fix build warning. r=igor
2009-10-21 15:46:33 -07:00
David Anderson
a720f0619e
Fixed return value propagation and demotion bugs in recursion (bug 521447, r=gal).
2009-10-21 15:14:01 -07:00
Jeff Walden
6f939693c8
Bug 523686 - Kill fun_enumerate, since it's no longer necessary now that bug 514603 is fixt. r=jorendorff
2009-10-21 15:00:51 -07:00
Jim Blandy
62e4240deb
Bug 522123: Don't reify lazy scope chain blocks twice in 'eval'. r=mrbkap
2009-10-21 14:34:55 -07:00
Jim Blandy
a43e57c273
Bug 522123: Test case for indirect eval scope chain bug. r=mrbkap
2009-10-21 14:34:55 -07:00
Igor Bukanov
de2ea4381b
bug 523370 - fixing bogus OOM with empty double free lists. r=dmandelin
2009-10-22 01:03:56 +04:00
David Anderson
e07fcf44ce
Merge.
2009-10-21 13:58:45 -07:00
David Anderson
d5f66d06f0
Backed out changeset 31a4c08387f1 (orange).
2009-10-21 13:54:15 -07:00
Jason Orendorff
aec52db517
Bug 522590 - FF 3.7 crash on startup with chromebug. r=brendan.
2009-10-21 15:27:35 -05:00
Blake Kaplan
1fcc32bd91
Bug 520511 - Add some tvrs. r=brendan
2009-10-21 11:46:07 -07:00
Brendan Eich
555e8ff575
Restore script local before goto error, duh (523280, r=igor).
2009-10-21 11:34:58 -07:00
Brendan Eich
9beb9010e9
Don't use the emptyScript singleton for a function that had upvars whose uses were optimized away (523284, r=igor).
2009-10-21 11:33:21 -07:00
Bob Clary
d74e2dde71
bug 520240 - enable js1_5/extensions/regress-420869-01.js, js1_5/extensions/regress-424683-01.js
2009-10-21 06:06:00 -07:00
Bob Clary
82d3cc2f9b
bug 521549 - disable js1_5/Regress/regress-351116.js for debug 32bit linux browser, r=sayrer
2009-10-21 06:06:00 -07:00
Bob Clary
3241302b5f
bug 514139 - e4x/Regress/regress-319872.js allow InternalError: script stack space quota is exhausted
2009-10-21 06:06:00 -07:00
David Anderson
345f846273
Fixed return value propagation and demotion bugs in recursion (bug 521447, r=gal).
2009-10-20 20:17:51 -07:00
Andreas Gal
9253e36038
Explicitly call destructor instead of delete (follow-up for 521859, r=dvander).
2009-10-20 20:11:32 -07:00
Graydon Hoare
5725061f5a
Bug 523262 - further ARM differences from tamarin, r=gal.
...
--HG--
extra : rebase_source : a39c39c0d6a66886c7a068324187bb3fd50796bd
2009-10-20 17:43:13 -07:00
Andreas Gal
5a5d15ddc7
Build fix for 521859 (again).
2009-10-20 17:45:30 -07:00
Andreas Gal
8e7979aed6
Build fix for 521859.
2009-10-20 17:29:36 -07:00
Andreas Gal
97c4011fed
Always use GCChunks (521859, r=brendan).
2009-10-20 16:18:31 -07:00
Andreas Gal
4a2d8f9ccc
Replace JSPtrTable with js::Vector (523463, r=luke).
2009-10-20 15:08:28 -07:00
Graydon Hoare
a8c71cc37f
Bug 523416 - fix the blx_lr_broken implementation, r=sayrer.
2009-10-20 12:28:37 -07:00
Robert Sayre
59d0205360
Merge.
2009-10-20 15:05:49 -04:00
Robert Sayre
5a37346b44
Merge m-c to tracemonkey.
2009-10-20 15:02:54 -04:00
David Mandelin
1e4ad3b192
Bug 522817: move on-trace method write barrier after shape guard, r=brendan
2009-10-20 10:55:15 -07:00
Boris Zbarsky
2d2499eabd
Bug 521364. Make sure that TMFLAGS=stats shows all jitstats other than the platform-specific ones. r=lw
2009-10-20 13:42:02 -04:00
Ginn Chen
e0c2609341
Bug 516318 Multiple cases in trace-test failed on SPARC platform r=brendan
2009-10-20 14:28:19 +08:00
Ginn Chen
373871ca7e
Bug 516318 Multiple cases in trace-test failed on SPARC platform r=brendan
2009-10-20 14:05:05 +08:00
Robert Sayre
5a4f144564
Add inline requested in bug 523257.
2009-10-19 21:54:52 -04:00
Robert Sayre
456eab8e4f
Bug 523257 - remove some ComputeThis code duplication. r=mrbkap
2009-10-19 21:48:30 -04:00
Andreas Gal
ae8fb96aba
NativeARM.cpp: don't free reservation prematurely [nanojit] (523221, r=graydon).
2009-10-19 16:17:23 -07:00
Daniel Holbert
cd18d8284e
Bug 521677: Use fputs instead of printf/fprintf in a few cases, to fix "format not a string literal and no format arguments" build warnings. r=dbaron
2009-10-19 08:03:00 -07:00
Brendan Eich
7bbe5bcd01
Don't build a stack frame to execute empty scripts (516827, r=igor).
2009-10-18 17:41:24 -07:00
Igor Bukanov
515b46d86c
forcing tinderbox rebuild to force Linux/Windows rebuild for bug 521390
2009-10-18 22:23:27 +04:00
Igor Bukanov
ab47abb015
bug 521390 - avoid checking for malloc memory pressure when allocating GC things from free lists. r=brendan
2009-10-18 19:40:19 +04:00
Makoto Kato
cc4efd34d3
Bug 522360 - [js-ctypes] Support opening of DLLs without full path using the system PATH. r=dwitte
2009-10-18 20:11:52 +09:00
Luke Wagner
f570fef7f9
Bug 510360 - early return in json.cpp might skip necessary postamble (r=sayrer)
2009-10-17 23:30:40 -07:00
Brendan Eich
0df3feeb42
Fix js_Emit1 return value tests (522920, r=dvander).
2009-10-17 18:42:58 -07:00
Robert Sayre
37fdf0cb2f
WINCE bustage fix
2009-10-17 13:54:48 -04:00
Robert Sayre
8752a8a2ad
Merge tracemonkey to mozilla-central.
2009-10-17 11:54:50 -04:00
Olli Pettay
33365a4e60
Bug 506961 - Add a method to get jsdIValue from JS implemented event listeners, r=bz
...
--HG--
extra : rebase_source : 93d446c1c94512be8cc0dc208c0bf8f1cd3cc936
2009-10-17 17:40:44 +03:00
Igor Bukanov
9a72bdfc06
bug 522775 - fixing GC free list management. r=brendan
2009-10-17 12:57:14 +04:00
Graydon Hoare
450c1aba4f
Bug 522834 - Minor merge bits from Tamarin, r=gal.
2009-10-16 18:01:54 -07:00
Graydon Hoare
6e8c9a6cd7
Bug 522773 - pick up some ARM changes, r=dvander.
...
--HG--
extra : rebase_source : e17665fc13bc4ad6e8e7f963d426145fe1dc9f5d
2009-10-16 14:26:17 -07:00
Blake Kaplan
b9fcae7b24
Make this message not catch the tinderbox's error parser.
2009-10-16 18:03:54 -07:00
Steven Johnson
f8900ba460
Bug 522772 - add missing ifdef FEATURE_NANOJIT, r=dvander.
...
--HG--
extra : rebase_source : 502eecf14545dd14a4404a2d2cb418dafb36a2fb
2009-10-15 16:39:00 -07:00
Igor Bukanov
9abb566b74
bug 505315 - constructing GC free lists during finalization. r=brendan
2009-10-16 10:10:54 +04:00
Atul Varma
a55cc3112d
Bug 522764 - Add mochitests for COWs. r=mrbkap
2009-10-16 15:19:01 -07:00
Robert Sayre
694f3b1f1e
Merge tracemonkey to mozilla-central.
2009-10-16 13:22:19 -04:00
Graydon Hoare
a54b1fa116
Bug 522587 - clean up variadic macro avoidance code, r=gal.
2009-10-15 16:04:55 -07:00
Graydon Hoare
9aa0b3b61c
Bug 522413 - remove uses of static avmcore::config, r=gal.
2009-10-15 16:02:59 -07:00
David Anderson
1129f365c3
Fixed another bogus assertion (bug 522569, r=brendan).
2009-10-15 15:57:15 -07:00
David Anderson
7abcf4f2cf
Removed bogus, noisy assertion related to JSOP_CALL and TRACE pairing (bug 522520, r=brendan).
2009-10-15 14:33:58 -07:00
Igor Bukanov
efcd517140
Backed out changeset 487b81c753c0 - landing of bug 505315 caused talos crashes across platforms.
2009-10-15 13:53:40 +04:00
Igor Bukanov
19344618cf
bug 505315 - constructing GC free lists during finalization. r=brendan
2009-10-15 11:41:08 +04:00
Andreas Gal
5d580251ba
Mostly cosmetic arm merges, merge ARM fcmp(e)d changes (522403, r=graydon).
2009-10-14 17:53:31 -07:00
Andreas Gal
1d31d23d00
Follow-up for 522341, hide TM-specific configuration in NativeARM.h
2009-10-14 17:08:23 -07:00
Andreas Gal
99a0e916b6
Pickup indirect call and microsoft emulator bugfix from redux (522377, r=graydon).
2009-10-14 16:30:48 -07:00
Andreas Gal
bb7ad8bc26
Leave choice of runtime or compile-time customization of ARM arch to embedding (522341, r=rreitmai).
2009-10-14 15:45:45 -07:00
Graydon Hoare
6baa446e5d
Bug 522363 - remove debug-break, unused parameters on displacement check, r=dvander.
...
--HG--
extra : rebase_source : 13ef7b6d16e5b66bb70816cfdd417ab4f9bcd758
2009-10-14 15:30:00 -07:00
David Anderson
535047e78d
Removed bogus assert related to recursion (bug 522311, r=gal).
2009-10-14 15:19:23 -07:00
Graydon Hoare
95f52752f3
Bug 522316 - more miscellaneous drift from tamarin, r=dvander.
...
--HG--
extra : rebase_source : 7b92362823d4ef60ebced322c1588b6cd9f445e4
2009-10-14 13:48:00 -07:00
Andreas Gal
4af41cb172
Fall off trace if Number.toString() reports an error (522330, r=brendan).
2009-10-14 13:41:40 -07:00
Andreas Gal
4cef221208
Avoid malloc and JS_dtobasestr for single digit numbers base != 10 (522195, r=brendan).
2009-10-14 13:25:20 -07:00
David Anderson
8096b702b0
When traversing fragments, don't forget to count peers (bug 521169, r=gal).
2009-10-14 03:00:34 -04:00
Graydon Hoare
862381850b
Bug 522153 - lirasm --random should use rand() not random(), r=nnethercote.
2009-10-13 18:29:55 -07:00
Graydon Hoare
082fa83432
Bug 521506 - fix lirasm puts tests, r=gal.
...
--HG--
extra : rebase_source : 094bdb4389d33c0908f28b0da0ccccafca3621df
2009-10-13 18:24:57 -07:00
David Anderson
9567078c27
Cap JIT frames to the interpreter inline call count (bug 522136, r=brendan).
2009-10-13 17:22:11 -07:00
David Anderson
4fd62a7f27
Eagerly release frame marks during recursion (bug 521476, r=brendan).
2009-10-13 15:14:46 -07:00
Robert Sayre
f6125d447a
Merge mozilla-central to tracemonkey.
2009-10-13 03:57:21 -04:00
Andreas Gal
345c670a3d
Avoid JSArena as temp buffer in TraceRecorder::snapshot (variation of patch in bug 521880, r=me).
2009-10-12 22:41:08 -07:00
Andreas Gal
7ecfa805b6
Backed out changeset 1a747dd43904 (bug 521880).
2009-10-12 18:00:48 -07:00
Andreas Gal
d5385bfdf9
Avoid JSArena as temp buffer in TraceRecorder::snapshot (521880, r=luke).
2009-10-12 14:40:06 -07:00
Dave Yeo
a168f4dfba
[OS/2] Bug 520418 - build break due to empty short DLL names, r=pweilbacher
2009-10-12 10:33:20 +02:00
Brendan Eich
9ba86403a5
Fix assertion to allow for generator entry point (521694, r=dvander).
2009-10-11 22:12:51 -07:00
Jacek Caban
40ba9b3e66
Fixed compilation on mingw where PRUnichar != jschar. b=518721, r=dwitte
2009-10-11 16:22:42 -07:00
Nicholas Nethercote
1d1c2d559c
Bug 519873 - NJ merge: lirasm --random mode. r=graydon.
2009-10-12 08:48:13 +11:00
Robert Sayre
574b9316a9
Merge tracemonkey to mozilla-central.
2009-10-10 20:42:24 -05:00
Phil Ringnalda
1f92d17fc3
Bug 520339 - Remove leftovers from MOZ_COMPONENTLIB, r=bsmedberg
2009-10-10 18:07:43 -07:00
Graydon Hoare
34b0362129
Bug 521340 - TM merge: more build infrastructure (tracemonkey side), r=nnethercote.
2009-10-09 12:58:39 -07:00
David Anderson
9fcf9c08e0
Removed arena reservations from ExecuteTree (bug 521309, r=gal).
2009-10-08 19:58:41 -07:00
Luke Wagner
7784e328fb
Followup to bug 520590 - forgot some bits (r=dvander)
...
--HG--
extra : rebase_source : edd2fd48b652ac9e17c40bab8203b3c5edc1bd43
2009-10-08 14:45:04 -07:00
Jim Blandy
9e67db4af8
Bug 517990: Remove unused 'TS' parameter from NewNameNode and NewBindingNode. r=mrbkap
2009-10-08 10:29:03 -07:00
Jim Blandy
c976c782c3
Bug 515233: Move the TSF_DESTRUCTURING flag to the tree context. r=igor
...
The flag TSF_DESTRUCTURING is used by the parser to modify the way
variables in the destructuring pattern get represented in the parse
tree. It is never set or used by the tokenizer. This patch moves it
to JSTreeContext::flags, where it belongs, now that that field is wide
enough to hold it.
It also renames the flag TCF_DECL_DESTRUCTURING, since the flag is
only used for destructuring patterns that occur in declarations; it is
not set when processing assignment-like destructuring patterns.
2009-10-08 10:29:03 -07:00
Jim Blandy
744e7161ea
Bug 515233: Widen JSTreeContext::flags to 32 bits. r=igor
...
All the bits in this uint16 field are currently in use. Adding bits
for projects like strict mode entails relocating existing flags, which
is additional work. Furthermore, it seems that this has already
inspired people to put flags in places they don't belong:
TSF_DESTRUCTURING is a JSTokenStream flag, but is only used by the
parser.
This patch widens the field to 32 bits, and adjusts JSFunctionBox and
a few other places to match.
We should really replace these all with bitfields.
2009-10-08 10:29:03 -07:00
Jim Blandy
2b9bcea9dc
Bug 515233: Make the static level its own parameter to JSCompiler::compileScript. r=igor
...
Pre-patch, the initial static level at which a script should be
compiled to run is passed in the upper sixteen bits of the tcflags
parameter to JSCompiler::compileScript; because JSTreeContext::tcflags
is a uint16, while the tcflags parameter is a uint32, we know the
parameter's upper bits are free.
However, we would like to enlarge JSTreeContext::tcflags to 32 bits,
as we already have a handful of new flags that belong there. This
patch moves the static level to its own parameter, which has a default
argument.
2009-10-08 10:29:03 -07:00