Commit Graph

7138 Commits

Author SHA1 Message Date
Andreas Gal
b75eef6411 Add an internal API to query the current JSThread (524841, r=brendan). 2009-10-27 17:55:34 -07:00
David Mandelin
6378284cae Backed out changeset 723a2622ad4a: tracemonkey tinderbox build failures 2009-10-27 17:46:09 -07:00
Jim Blandy
48cec69361 Bug 514585: Move 'grouped' to explicit param of JS_NEW_PRINTER. r=igor
Make all the JSPrinter status bits explicit flags to JS_NEW_PRINTER.
Only in public-facing functions like JS_DecompileFunction should we be
peeling bits out of indent values and turning them into flags;
internally, we can change interfaces to make more sense.

This is preparation for adding another flag to JS_NEW_PRINTER.
2009-10-27 16:38:09 -07:00
Jim Blandy
fb80546171 Bug 523139: Add an ECMAScript 5 value to the JSVersion type. r=brendan 2009-10-27 14:17:01 -07:00
Jason Orendorff
b08414afa7 Tweak test js1_8_1/regress/regress-524743.js to not use Math.random. no_r=me. 2009-10-27 16:15:50 -05:00
Jason Orendorff
d2943dea25 Bug 524743 - Shape regeneration still does not touch most empty scopes. r=brendan.
--HG--
extra : rebase_source : 13a7f72bef38f2bfb8615a907c0cb47e31f55e1d
2009-10-27 16:00:26 -05:00
Ben Combee
b832a6a72f Bug 510052 - JS fails to build in debug config in scratchbox. r=vlad 2009-10-27 13:48:06 -07:00
Jason Orendorff
f5ef3c2a57 Bug 524490 - js/src/trace-test/tests/sunspider/check-date-format-xparb.js is broken everywhere but the US. r=gal.
--HG--
extra : rebase_source : e93d741aee512aef3bb4779d386107fd992e2155
2009-10-27 13:33:22 -05:00
Igor Bukanov
71c7fe1cf8 backout merge 2009-10-27 19:22:17 +03:00
Igor Bukanov
8785797ba7 Backed out changeset 14c76164f4c2 - patch for bug 524346 caused test fails 2009-10-27 19:21:47 +03:00
Bob Clary
8b5986f020 Bug 524666 - update jsreftest manifests to reflect change in reftest sandbox. 2009-10-27 07:12:34 -07:00
Igor Bukanov
ed4f6edf7f bug 524346 - using jsval, not jsdouble *, for nan and +-oo. r=brendan 2009-10-27 13:26:57 +03:00
Makoto Kato
e3678e082a Bug 515545 - Add EXECUTE_TREE_TIMER code for Windows x64. r=dvander 2009-10-27 18:00:15 +09:00
David Anderson
ab74b2ff81 Added calleValue()/calleObject() inline helpers to JSStackFrame (bug 512371, r=brendan). 2009-10-26 17:28:56 -07:00
Luke Wagner
fe59499ad3 Bug 523515 - pretty up TraceRecorder (r=dvander) 2009-10-26 13:06:17 -07:00
David Mandelin
2592879abd Bug 524400: make trace-test.py return nonzero exit code if there were test failures, r=jorendorff
--HG--
extra : rebase_source : e3658606a5fbeb971c7dda101af9943e8d6278ad
2009-10-26 13:02:19 -07:00
Brendan Eich
02c0dc3df2 Factor jsscopeinlines.h out, clean up #include order (524267, r=gal/jorendorff). 2009-10-26 13:39:39 -07:00
Robert Sayre
dd8b93c5d3 Merge mozilla-central to tracemonkey. 2009-10-26 13:29:48 -04:00
Boris Zbarsky
3aef7b8edb Bug 507448. Expose the names of the function arguments on jsdIScript. r=timeless,brendan
--HG--
rename : content/base/test/Makefile.in => js/jsd/test/Makefile.in
2009-10-26 09:30:40 -04:00
Ginn Chen
6a61d86670 Bug 522157 Make -D__FUNCTION__=__func__ global for Sun Studio on Solaris r=benjamin 2009-10-26 14:25:40 +08:00
Nicholas Nethercote
684ab28f88 Bug 522612 - TM: kill new skips-with-payloads. r=graydon. 2009-10-26 10:39:44 +11:00
Igor Bukanov
16b7fbf959 bug 524121 - avoiding double boxing of time in Date methods. r=brendan 2009-10-24 22:42:29 +04:00
Graydon Hoare
c22f99d364 Bug 524236 - ARM actually needs to check used-ness of call instruction in asm_call, r=gal. 2009-10-23 17:48:41 -07:00
Graydon Hoare
89d3fa8350 Bug 524230 - adjust asm_ld_imm assertion in ARM, r=gal. 2009-10-23 17:33:06 -07:00
Graydon Hoare
b19eee7d5a Bug 524231 - catch lirasm up with recent changes, r=gal. 2009-10-23 17:19:56 -07:00
Graydon Hoare
545839b15a Bug 522591 - Followup fix for opt builds, r=burningtree. 2009-10-23 15:32:19 -07:00
Graydon Hoare
108c884253 Bug 522591 - move reader pipeline from assemble() to compile(), r=gal. 2009-10-23 14:58:10 -07:00
Graydon Hoare
c287bc3151 Bug 522314 - Make x86 virtual stack pointer code optional, g=gal.
--HG--
extra : rebase_source : c0feec3b6f94580fab0e8569a817bf36db7ed1ab
2009-10-23 13:46:09 -07:00
David Anderson
136174c2cb Fixed JSOP_SETELEM+JSOP_POP pairs using wrong stack depth on deep bail (bug 519244, r=brendan). 2009-10-23 14:34:07 -07:00
David Anderson
e40deebae7 Fixed decompiler assertion related to JSOP_TRACE (bug 522624, r=brendan). 2009-10-23 14:28:35 -07:00
Jason Orendorff
eed5fefef2 Bug 523670 - Add assertion to detect proto-less dense arrays. r=brendan. 2009-10-23 14:40:36 -05:00
Jason Orendorff
e66886b51c Bug 515885 - Assertion failure: !scope->owned(), at ../jsobj.cpp. r=brendan. 2009-10-23 14:35:53 -05:00
Jason Orendorff
efdbb8da44 Bug 505003 - TM: Different values for modulo of negative number (-2 % 2). r=graydon.
--HG--
extra : rebase_source : 73987a251e045b77ddc1cf1eb7c1516da46b2b9f
2009-10-23 13:15:10 -05:00
Graydon Hoare
5c2cdd754c Bug 524158 -re-enable immediate-load optimization on ARM, r=gal.
--HG--
extra : rebase_source : 0faa0de34ff7732b1e0f96ed4b691a55242d6acb
2009-10-23 11:10:07 -07:00
Graydon Hoare
951aacba56 Bug 523952 - typos and cleanup from tamarin, r=gal.
--HG--
extra : rebase_source : da1dcdcc6c1f21f73b2223dcdb611c17a9018190
2009-10-22 14:29:37 -07:00
David Anderson
7d3329fbfb 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
8540cd6e92 Added debug-break to JS_Assert for gcc x64 (bug 524143, r=gal). 2009-10-23 10:28:06 -07:00
David Anderson
f0bc130dc8 Fix GCC uninit-var warning (no bug, r=brendan). 2009-10-23 09:28:04 -07:00
Igor Bukanov
a5c9e85705 bug 523688 - avoiding spurious OOM messages when on trace. r=brendan 2009-10-23 11:03:17 +04:00
David Anderson
8231c0b9ee Clear argsobj private on trace (bug 522024, r=dmandelin). 2009-10-22 17:56:46 -07:00
Luke Wagner
f723becfb6 Remove execute permissions on source files 2009-10-22 10:41:19 -07:00
Brendan Eich
797e4c7194 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
d35b22af3f Merge. 2009-10-21 20:01:40 -07:00
David Anderson
d2f328b55e Fixed large displacements messing up the tracker on ARM (bug 521190, r=gal). 2009-10-21 20:01:16 -07:00
Graydon Hoare
24d43ed812 Bug 523505 - Followup build fixes, r=gal on IRC. 2009-10-21 19:58:21 -07:00
Graydon Hoare
344543af05 Bug 523766 - move jump tables to allocator, r=gal. 2009-10-21 19:50:35 -07:00
Graydon Hoare
399e52afa4 Bug 523505 - move icache flushing logic around, r=gal. 2009-10-21 16:26:52 -07:00
Daniel Holbert
09b7f28999 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
5a9f22f10c Fixed return value propagation and demotion bugs in recursion (bug 521447, r=gal). 2009-10-21 15:14:01 -07:00
Jeff Walden
58c4037788 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
0c5e3d3554 Bug 522123: Don't reify lazy scope chain blocks twice in 'eval'. r=mrbkap 2009-10-21 14:34:55 -07:00
Jim Blandy
085d36271a Bug 522123: Test case for indirect eval scope chain bug. r=mrbkap 2009-10-21 14:34:55 -07:00
Igor Bukanov
9c47282440 bug 523370 - fixing bogus OOM with empty double free lists. r=dmandelin 2009-10-22 01:03:56 +04:00
David Anderson
cf1ff8bbde Merge. 2009-10-21 13:58:45 -07:00
David Anderson
20d18679cc Backed out changeset 31a4c08387f1 (orange). 2009-10-21 13:54:15 -07:00
Jason Orendorff
326aa1d148 Bug 522590 - FF 3.7 crash on startup with chromebug. r=brendan. 2009-10-21 15:27:35 -05:00
Blake Kaplan
229925b044 Bug 520511 - Add some tvrs. r=brendan 2009-10-21 11:46:07 -07:00
Brendan Eich
891d4e8447 Restore script local before goto error, duh (523280, r=igor). 2009-10-21 11:34:58 -07:00
Brendan Eich
3df941c39b 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
f2463b486e 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
6c85d0482a 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
01e1cd9921 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
ee7110502b Fixed return value propagation and demotion bugs in recursion (bug 521447, r=gal). 2009-10-20 20:17:51 -07:00
Andreas Gal
09041f31f7 Explicitly call destructor instead of delete (follow-up for 521859, r=dvander). 2009-10-20 20:11:32 -07:00
Graydon Hoare
349ddddea8 Bug 523262 - further ARM differences from tamarin, r=gal.
--HG--
extra : rebase_source : a39c39c0d6a66886c7a068324187bb3fd50796bd
2009-10-20 17:43:13 -07:00
Andreas Gal
5f0bb44449 Build fix for 521859 (again). 2009-10-20 17:45:30 -07:00
Andreas Gal
64a5aaa7dd Build fix for 521859. 2009-10-20 17:29:36 -07:00
Andreas Gal
e5c5e2e6c1 Always use GCChunks (521859, r=brendan). 2009-10-20 16:18:31 -07:00
Andreas Gal
ebb3f8e3e1 Replace JSPtrTable with js::Vector (523463, r=luke). 2009-10-20 15:08:28 -07:00
Graydon Hoare
c8132ae487 Bug 523416 - fix the blx_lr_broken implementation, r=sayrer. 2009-10-20 12:28:37 -07:00
Robert Sayre
8a46c69485 Merge. 2009-10-20 15:05:49 -04:00
Robert Sayre
6c87af99a3 Merge m-c to tracemonkey. 2009-10-20 15:02:54 -04:00
David Mandelin
b5cd5e2201 Bug 522817: move on-trace method write barrier after shape guard, r=brendan 2009-10-20 10:55:15 -07:00
Boris Zbarsky
9e8e8dfe2e 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
966787652d Bug 516318 Multiple cases in trace-test failed on SPARC platform r=brendan 2009-10-20 14:28:19 +08:00
Ginn Chen
7cce950adf Bug 516318 Multiple cases in trace-test failed on SPARC platform r=brendan 2009-10-20 14:05:05 +08:00
Robert Sayre
ca3f6c3582 Add inline requested in bug 523257. 2009-10-19 21:54:52 -04:00
Robert Sayre
402272136f Bug 523257 - remove some ComputeThis code duplication. r=mrbkap 2009-10-19 21:48:30 -04:00
Andreas Gal
aecd20f5d4 NativeARM.cpp: don't free reservation prematurely [nanojit] (523221, r=graydon). 2009-10-19 16:17:23 -07:00
Daniel Holbert
16d6c9d4d9 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
9f9a05b0c3 Don't build a stack frame to execute empty scripts (516827, r=igor). 2009-10-18 17:41:24 -07:00
Igor Bukanov
8d6fe936eb forcing tinderbox rebuild to force Linux/Windows rebuild for bug 521390 2009-10-18 22:23:27 +04:00
Igor Bukanov
d615c5e729 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
a5ef524204 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
8f8e40faaa Bug 510360 - early return in json.cpp might skip necessary postamble (r=sayrer) 2009-10-17 23:30:40 -07:00
Brendan Eich
7931ae3667 Fix js_Emit1 return value tests (522920, r=dvander). 2009-10-17 18:42:58 -07:00
Robert Sayre
87a106a5ac WINCE bustage fix 2009-10-17 13:54:48 -04:00
Robert Sayre
56eec53a57 Merge tracemonkey to mozilla-central. 2009-10-17 11:54:50 -04:00
Olli Pettay
79701a2085 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
ac8b823506 bug 522775 - fixing GC free list management. r=brendan 2009-10-17 12:57:14 +04:00
Graydon Hoare
e976f3e19b Bug 522834 - Minor merge bits from Tamarin, r=gal. 2009-10-16 18:01:54 -07:00
Graydon Hoare
a74cf73b08 Bug 522773 - pick up some ARM changes, r=dvander.
--HG--
extra : rebase_source : e17665fc13bc4ad6e8e7f963d426145fe1dc9f5d
2009-10-16 14:26:17 -07:00
Blake Kaplan
c5601bd36b Make this message not catch the tinderbox's error parser. 2009-10-16 18:03:54 -07:00
Steven Johnson
22c340a45f Bug 522772 - add missing ifdef FEATURE_NANOJIT, r=dvander.
--HG--
extra : rebase_source : 502eecf14545dd14a4404a2d2cb418dafb36a2fb
2009-10-15 16:39:00 -07:00
Igor Bukanov
af1a5810f7 bug 505315 - constructing GC free lists during finalization. r=brendan 2009-10-16 10:10:54 +04:00
Atul Varma
bdb1e8e0d6 Bug 522764 - Add mochitests for COWs. r=mrbkap 2009-10-16 15:19:01 -07:00
Robert Sayre
66f2fef6c4 Merge tracemonkey to mozilla-central. 2009-10-16 13:22:19 -04:00
Graydon Hoare
a32e357aaa Bug 522587 - clean up variadic macro avoidance code, r=gal. 2009-10-15 16:04:55 -07:00
Graydon Hoare
426e720124 Bug 522413 - remove uses of static avmcore::config, r=gal. 2009-10-15 16:02:59 -07:00
David Anderson
9936709fd7 Fixed another bogus assertion (bug 522569, r=brendan). 2009-10-15 15:57:15 -07:00