Commit Graph

63037 Commits

Author SHA1 Message Date
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
Jeff Walden
f6da9cb49a Bug 582717 - Make regular expressions not callable. r=brendan
--HG--
extra : rebase_source : 31508fd037fea395d4e1bbacd868e77f2f7a17a9
2011-03-01 09:59:37 -08:00
Jeff Walden
67bac5f7af Bug 560277 - Crash [@ JSObject::getParent] or [@ js_WrapWatchedSetter] or [@ js_GetClassPrototype]: add a test. r=dmandelin
--HG--
extra : rebase_source : 7a71c7e095beaf30372648fac3bf93bc295d609d
2010-04-19 17:34:15 -07:00
Nicholas Nethercote
f49a4233d3 nanojit: remove LIR_xtbl (TM-specific part). r=dmandelin. 2011-03-03 14:34:12 -08:00
Nicholas Nethercote
734def8da3 Update nanojit-import-rev stamp. 2011-03-03 14:27:57 -08:00
Nicholas Nethercote
16364ca183 nanojit: remove LIR_xtbl. r=edwsmith.
--HG--
extra : convert_revision : fd5ca562e1d1609c275dd0c0b9ff0b656309d4ac
2011-03-03 14:20:55 -08:00
timeless@mozdev.org
717ecc872c Bug 620291 - useless assert of free_block [@ CodeAlloc::free]. r=gal,edwsmith.
--HG--
extra : convert_revision : 265c5971702784c3acae2a8e6b710afacdfd6798
2011-03-02 21:09:15 -08:00
Jason Orendorff
9ca29e86c9 Mark evalcx-using test as shell-only. r=orange. 2011-03-03 15:54:38 -06:00
Jason Orendorff
b13b9ecc23 Bug 630218 - Reflect.parse("x.*") shouldn't mark the MemberExpression as computed. r=dherman.
--HG--
extra : rebase_source : 0bb714d5f76734fa88fdcd3c24718a13cc01f735
2011-03-03 15:09:00 -06:00
Jason Orendorff
84d99790b9 Bug 630213 - ASTSerializer::leftAssociate right-associates. r=dherman.
--HG--
extra : rebase_source : 18bbf8f963f4c76b1fe6d4e7acc9aa6b33381b73
2011-03-03 15:08:01 -06:00
Jason Orendorff
45e8859924 Bug 636818 - Crash [@ js::CallJSPropertyOpSetter] or [@ js_SetProperty] when assigning to a property inherited from a wrapper. r=gal. 2011-03-03 14:50:40 -06:00
Jason Orendorff
93894af161 Bug 636394 - "Assertion failure: canHaveMethodBarrier()" when cloning a METHOD property to an object of a different class. r=brendan. 2011-03-03 14:46:33 -06:00
Jason Orendorff
29ac094796 Bug 636697 - Crash calling null setter in js_watch_set. r=brendan. 2011-03-03 14:24:13 -06:00
Jason Orendorff
8366fbaf5b Fix GCC warning about space character in printf format. No bug, rs=sfink. 2011-03-03 14:14:26 -06:00
Steve Fink
f6ff2e9813 Bug 612368 - add headers, line numbers to source note dump (r=dmandelin)
--HG--
extra : rebase_source : 11e88670e6f207875be76e54d8eb5ac802d88c92
2010-11-15 12:35:03 -08:00
Steve Fink
d82dc470f0 Bug 633459 - Add in some missing calls to the new script hook (r=luke)
WrapEscapingClosure and js_XDRFunctionObject both created scripts without notification.

--HG--
extra : rebase_source : f98de033862337cba9f97540e4fec1a23a0bb173
2011-02-11 13:23:24 -08:00
Steve Fink
45c5ba20ad Bug 630898 - JS_CurrentThreadId should be js_CurrentThreadId (r=brendan)
--HG--
extra : rebase_source : 36df59e5bd180476bbc92ca6827263cc2b183ed6
2011-02-07 14:56:52 -08:00
Steve Fink
e6c27bfa1c Bug 630939 - JSD type error fetching construction function name (r=timeless)
--HG--
extra : rebase_source : 6199fbb193bf4b9471084055275e675629f1b95f
2011-02-01 12:44:41 -08:00
Steve Fink
b02657ea22 Bug 631377 - Add some compartment asserts for jsdbgapi (r=gal)
--HG--
extra : rebase_source : 98ed68f0e74c530d4c48d24a9e3e1d97504d7ecd
2011-01-27 18:32:16 -08:00
Steve Fink
d91b101420 Bug 631467 - NULL dereference on jsdc->dumbContext on error (r=gal)
--HG--
extra : rebase_source : 4f4bd83377302ccd97ab3c6b412ce9508971a320
2011-02-04 00:36:05 -08:00
Igor Bukanov
b9b1577eec bug 630209 - (Compile|Execute)Script that are GC-safe. r=jorendorff 2011-02-03 14:06:21 +01:00
Nicholas Nethercote
fd82ec12ca Fix ARM breakage from bug 617244 (TM-specific part). r=me. 2011-03-02 20:40:51 -08:00
Nicholas Nethercote
bf97cf9052 Update nanojit-import-rev stamp. 2011-03-02 20:38:22 -08:00