Commit Graph

63059 Commits

Author SHA1 Message Date
Andreas Gal
436b7e7f79 Don't shrink object slots during GC (bug 639727, r=bhackett). 2011-03-09 00:53:56 -08:00
Andreas Gal
e787b97701 Sweep compartments when no objects live in them (bug 639270, r=gregor). 2011-03-08 20:58:38 -08:00
Phil Ringnalda
d21d12b55b Back out 80d8431f209e (bug 639270) for failing to actually compile 2011-03-08 19:59:30 -08:00
Andreas Gal
033fce6c39 Sweep compartments when no objects live in them (bug 639270, r=gregor). 2011-03-08 18:10:47 -08:00
Blake Kaplan
cfa571b106 Fix some stuff brendan pointed out. 2011-03-08 18:08:59 -08:00
Nicholas Nethercote
155ec564ef Bug 638034 - Make scanning safer. r=brendan. 2011-03-08 16:10:51 -08:00
Blake Kaplan
0ba7e969d0 Bug 639501 - Setters can cause the handler to change. r=gal
--HG--
extra : rebase_source : 5cef14e53e2f9032218c725538ba2afbf467191c
2011-03-08 15:05:11 -08:00
Blake Kaplan
5d28072106 Bug 638026 - Make sure we hold onto the right JS object here. r=jst
--HG--
extra : rebase_source : 5ebebc39f689d0b76e51b2ca79fa432871b1404e
2011-03-08 15:04:59 -08:00
Blake Kaplan
c54ec6b730 Bug 639737 - JS_THIS_OBJECT can fail and we need to catch when it does. r=jst
--HG--
extra : rebase_source : 0ecd6f2666c506bbf5837ef14092fcb47c8e5b3b
2011-03-08 15:04:37 -08:00
Jeff Walden
6de99f0675 Bug 638997 - Remove the id field from PropDesc: users who needed it should manage the id separately. r=luke
--HG--
extra : rebase_source : eb2152a2259a81bca1d7a4f5521787f9385a3c6f
2011-03-04 17:24:15 -08:00
Tom Schuster
7c8c437951 Bug 635010 - new Error(undefined).hasOwnProperty("message") should be false. r=jorendorff. 2011-03-08 16:15:30 -06:00
Tom Schuster
818368b37a Bug 639915 - Remove some code in fun_getProperty that has been dead for 12 years. r=jorendorff. 2011-03-08 16:02:05 -06:00
Jason Orendorff
4e9c3393c6 Omit a variable used only in an assertion, to silence warnings in non-debug builds. no_r=me. 2011-03-07 11:21:16 -06:00
Paul Biggar
ae4095d507 Bug 639910 - JS_CHECK_RECURSION on !JS_TRACER path skipped |goto error|. (r=dvander) 2011-03-08 12:58:54 -08:00
Michael Wu
1beae988f1 Bug 429649 - Don't serialize the shortid in js_XDRBlockObject, r=igor 2011-03-08 08:59:01 -08:00
Michael Wu
485c7a99b4 Bug 329740 - Remove JSXDR_FREE, r=igor 2011-03-08 08:59:01 -08:00
Nicholas Nethercote
62bb333ede Bug 631106 - JM: simplify allocation of executable memory. r=dvander. 2011-03-07 20:15:56 -08:00
Andreas Gal
29c7365b34 Make empty shape initialization lazy (bug 639254, r=billm). 2011-03-07 18:42:04 -08:00
Brian Hackett
9a20a2ba1d Deoptimize name accesses within XML filters, bug 605200. r=brendan 2011-03-07 18:16:54 -08:00
Brendan Eich
c363c2122c Put #undef where it belongs. 2011-03-07 17:58:03 -08:00
Andreas Gal
0d8a57b2c1 Follow-up fix for bug 639235. 2011-03-07 17:20:12 -08:00
Andreas Gal
751570828f Mark watch points after the main GC phase (bug 639235, r=jorendorff). 2011-03-07 16:56:17 -08:00
Brian Hackett
779fedb80b Backout b1f8f4f84662 2011-03-07 16:43:26 -08:00
Nicholas Nethercote
baf03471ed Update nanojit-import-rev stamp. 2011-03-07 16:06:53 -08:00
Nicholas Nethercote
0ae0d30b3a Bug 639418 - nanojit: add OPCODE and IMM8 to i386 backend. r=rreitmai.
--HG--
extra : convert_revision : b0decf655268cee50660e996efc66e3c16d59cdc
2011-03-07 16:03:09 -08:00
Nicholas Nethercote
eeda08a028 Bug 547063 - nanojit: reinstate NJ_COMPILER_ARM_ARCH static assertion in njconfig.cpp. r=rreitmai.
--HG--
extra : convert_revision : 04f1b105cccd234217c8e2c1119a423cd6185e83
2011-03-07 15:54:10 -08:00
Cédric VINCENT
0f22a7b53a Bug 638402 - Improve the performance of the code emitted by NanoJIT/SH4 (r=rreitmai)
.
. attachment 516556 - Improve the performance of the code emitted by NanoJIT/SH4
.
User-Agent:       Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.7.62 Version/11.01
Build Identifier:

This patch improves the performance of the code emitted by
NanoJIT/SH4, it was validated with the "acceptance"
and "performance" testsuites.

This patch introduces:

* many small tweaks.

* a constant pool manager specific to the SH4, see the following
  link for details: http://pastebin.com/D8cuNRMp

* a "static" point in the frame to allow more efficient
  addressing on SH4, see the following link for details:
  69a6c19699


Reproducible: Always

--HG--
extra : convert_revision : 6d4c33b8124b854f07f733c52bf2c4a5c52e2d8c
2011-03-03 03:54:00 -08:00
Brian Hackett
00777d1240 Deoptimize name accesses within XML filters, bug 605200. r=brendan 2011-03-07 15:31:17 -08:00
Luke Wagner
6aecedc65b Bug 621526 - JSStackFrame::pc() should not look for 'next' frame for current frame of suspended segment (r=bhackett)
--HG--
extra : rebase_source : c88e3dac4abde576cdf30b69f894c69a101f79af
2011-03-07 09:55:41 -08:00
Jan de Mooij
c2a4d22511 Bug 628073 - Compile JSOP_CASE in the methodjit (r=dvander)
--HG--
extra : rebase_source : b08711e0550ee1addab6126fd9329a7cc3e894bc
2011-03-07 11:27:43 -08:00
Jeff Walden
ff7d62dfcb Bug 637905 - Add (asserted-infallible) append methods to js::Vector, for use when the vector in question has previously had space reserved, and use them a bunch of places. r=luke
--HG--
extra : rebase_source : 89002f1cb5160d89e90a22e54bdca1d57bf9deda
2011-02-18 18:32:29 -08:00
Jeff Walden
fc5075d1f7 Bug 608473 - |var eval = otherWindow.eval; eval(...)| should behave like indirectly calling that eval from a script in that other window. r=jorendorff
--HG--
extra : rebase_source : 9accca7e9a2b8304c2c823852cfd71b13c595afe
2011-03-02 20:56:37 -08:00
Jeff Walden
5c723ace4f Bug 637204 - Some unconditionally reserved words are reserved only in strict code. r=brendan
--HG--
extra : rebase_source : e8146c578dad40ca16690f4ff905b53aa3430ccc
2011-03-01 22:19:43 -08:00
Luke Wagner
f9fd8c583b Bug 618485 - Add missing 64-bit big-endian jsval_layout field (r=luke) 2011-03-07 09:50:58 -08:00
Luke Wagner
e2f1895f63 Bug 634594 - Ensure XPCCallContext string cache is aligned (r=mrbkap) 2011-02-16 16:43:15 -08:00
Luke Wagner
0d4fd14aa5 Bug 637246 - generator.close() should return undefined (r=brendan) 2011-03-07 09:33:55 -08:00
Andreas Gal
532405b940 Remove ObjectOps trace hook (bug 639227, r=dvander). 2011-03-06 22:31:43 -08:00
Andreas Gal
831efbf9e8 Backout bug 639227 due to orange. 2011-03-06 21:37:13 -08:00
Andreas Gal
52c4d6513a Remove ObjectOps trace hook (bug 639227, r=dvander). 2011-03-06 20:49:54 -08:00
Andreas Gal
700edc8d80 Proxies confuse clear and finalize (bug 637054, r=brendan). 2011-03-05 15:30:37 -08:00
Andreas Gal
f84f1941c4 Follow-up for bug 638291, remove stray ';' 2011-03-05 15:22:43 -08:00
Andreas Gal
f5b9aeb7d0 Remove obsolete JSMarkOp API (bug 638291, r=jorendorff). 2011-03-05 14:50:11 -08:00
Igor Bukanov
071d436568 bug 637280 - the conservative GC makes calling JS_KEEP_ATOMS unnecessary when invoking the resolve hook. r=jorendorff 2011-03-03 17:31:58 +01:00
Brian Hackett
8b14aaf92b Cleanup analysis state to avoid bogus assert, bug 616170. r=dvander 2011-03-04 10:56:18 -08:00
Nicholas Nethercote
ce865cc77b Bug 600734 - TM: some jstracer.h clean-ups. r=dmandelin. 2011-03-03 19:59:00 -08:00
Nicholas Nethercote
0517757fd5 Bug 629858 - improve a strict warning message. r=jwalden. 2011-03-03 16:27:07 -08:00
Chris Leary
30ecc46b76 Bug 614155: Lazily construct toSource cache. (r=lw)
--HG--
extra : rebase_source : cbf922c5ce45b7d656ef3fdbd4c872a4ff82aacc
2011-03-03 15:28:25 -08:00
Jeff Walden
1f98843746 Bug 557371 - Make JSON.stringify behavior on Boolean, String, and Number objects to-spec. r=jorendorff 2010-12-31 11:41:23 -06:00
Jeff Walden
e7f473ae7e Bug 637859 - Anchor a string for a bit. r=cdleary, a=bsmedberg 2011-03-03 13:41:11 -08:00
Jeff Walden
2db290c32a Bug 638312 - Add JS_IsBuiltinEvalFunction and JS_IsBuiltinFunctionConstructor APIs. r=gal 2011-03-02 19:57:44 -08:00