Commit Graph

16010 Commits

Author SHA1 Message Date
Brian Hackett
5782d27b2a [INFER] Maybe fix ARM build. 2011-08-09 17:19:42 -07:00
Brian Hackett
65c48b648b [INFER] Store base of data directly in typed arrays, bug 677743. 2011-08-09 17:12:52 -07:00
Brian Hackett
9b769204de Merge MC -> JM 2011-08-09 13:29:11 -07:00
Brian Hackett
08395b54ce [INFER] Trigger recompilation when changing or removing newScript information, bug 677006. 2011-08-09 09:52:55 -07:00
Brian Hackett
cbe02dc1d0 [INFER] Inline creation of objects for {}, [], Array() and monomorphic scripted new, bug 677006. 2011-08-09 09:26:08 -07:00
Luke Wagner
bfcd3382e4 Bug 676937 - Make entering a compartment and pushing a dummy frame an atomic stack operation (r=mrbkap)
--HG--
extra : rebase_source : 5c5bfe6968e92ae9039cc65af919bd1519260492
2011-08-05 14:06:33 -07:00
Jason Orendorff
fbb0edbd8d Merge jsdbg2 to mozilla-inbound. See bug 672829. 2011-08-13 13:29:18 -05:00
Jason Orendorff
a1ebe4283d Mark test regress-677589.js as shell-only, since it tests the shell-only clone() function. no_r=me. 2011-08-13 07:05:43 -05:00
Jason Orendorff
e1a7105345 Fix GCC bogus opt-only warning in jsoptparse.cpp. no_r=me. 2011-08-13 07:00:33 -05:00
Jason Orendorff
36ce3d311c Fix opt-only linker error due to missing #include (probably due to a bad merge). r=try_server_red. 2011-08-13 06:57:35 -05:00
Robert Sayre
84d46f8730 Bug 678656 - fix some warnings in js/src/jsemit.cpp. r=dmandelin. 2011-08-13 06:54:16 -05:00
Jason Orendorff
d0dae6067c Merge from mozilla-central to jsdbg2. 2011-08-12 18:18:59 -05:00
Jason Orendorff
b213ad1587 Address review comment from bhackett (bug 672829 comment 84). 2011-08-12 17:22:43 -05:00
Ms2ger
66ab4757eb Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Phil Ringnalda
d3b432509b Back out c8f38fb18c6a (bug 673631) for breaking the Shark shell build 2011-08-12 19:24:22 -07:00
Paul Biggar
373ea045df No bug: Fix comment where "new_array" should be "array_new" (rs=sfink). 2011-08-12 17:15:59 -07:00
Malini Das
a0832b693a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
da32b5cbd3 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Matt Brubeck
f2cba5adcb Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-12 06:41:55 -07:00
Jason Orendorff
d36ff061fa Address review comments from bhackett (bug 672829 comment 82). 2011-08-12 07:44:14 -05:00
Jason Orendorff
65e5022233 Remove a test that is redundant with Object-seal-01.js. 2011-08-12 07:42:38 -05:00
Jason Orendorff
1420796c6c Bug 678201 - Use CallArgs in Debugger.cpp. Part 6, add CallArgs to Object methods. r=luke. 2011-08-11 16:58:14 -05:00
Jason Orendorff
9fa8b7523e Bug 678201 - Use CallArgs in Debugger.cpp. Part 5, add CallArgs to Frame methods. r=luke. 2011-08-11 16:56:53 -05:00
Jason Orendorff
4527ec677f Bug 678201 - Use CallArgs in Debugger.cpp. Part 4, add CallArgs to Script methods. r=luke. 2011-08-11 16:52:44 -05:00
Jason Orendorff
c48c096916 Bug 678201 - Use CallArgs in Debugger.cpp. Part 3, add CallArgs to Debugger methods. r=luke. 2011-08-11 16:51:20 -05:00
Jason Orendorff
0a316b7c8b Bug 678201 - Use CallArgs in Debugger.cpp. Part 2, move THIS_DEBUGGER just before its first use. r=luke. 2011-08-11 16:49:17 -05:00
Jason Orendorff
385fa0774d Bug 678201 - Use CallArgs in Debugger.cpp. Part 1, specialize THISOBJ macro to THIS_DEBUGGER. r=luke. 2011-08-11 16:48:40 -05:00
Jason Orendorff
a84b890520 Address review comments from billm in bug 672829 comment 76. 2011-08-11 16:07:35 -05:00
Jason Orendorff
02efc70ce2 Fix Frame.arguments bug noticed by luke in bug 672829 comment 69. 2011-08-11 15:50:04 -05:00
Jason Orendorff
f3fcd7625a Address review comments from dmandelin (bug 672829 comment 68). 2011-08-11 09:40:25 -05:00
Jason Orendorff
eaa68e0207 Fix error messages to address review comments from sfink (bug 672829 comment 66). 2011-08-11 02:00:23 -05:00
Jason Orendorff
ed3e6bfd54 Add passing test Object-isSealed-01.js. no_r=me. 2011-08-11 01:33:19 -05:00
Jason Orendorff
9bca815475 Address review comments from billm (bug 672829 comment 65). 2011-08-11 00:58:28 -05:00
Jason Orendorff
59fd77e00c Trivial cleanups: do not export vm/Debugger.h; rename Debugger::mark to markAllIteratively, delete a stray space. No bug number, rs=jimb. 2011-08-10 12:57:30 -05:00
Jason Orendorff
bd42d5ffc4 Bug 677371 - [jsdbg2] Assertion failure: throwing, at jscntxt.h:1274. r=jimb 2011-08-09 18:01:38 -05:00
Jason Orendorff
d8123ebf1c Bug 677587 - [jsdbg2] Assertion failure: debuggees.has(global), at vm/Debugger.cpp:1564. r=jimb. 2011-08-09 16:23:20 -05:00
Jason Orendorff
7abbcaf6a7 Bug 677589 - [jsdbg2] Crash [@ JSObject::getClass] when cloning null. r=jimb. 2011-08-09 15:47:28 -05:00
Jason Orendorff
2b428cbaf2 Bug 677593 - [jsdbg2] Assertion failure: (ptrBits & 0x7) == 0, at ../jsval.h:705. r=jimb. 2011-08-09 15:46:41 -05:00
Jason Orendorff
6666d9cd42 Merge from mozilla-central to jsdbg2. 2011-08-09 10:21:12 -05:00
Ehsan Akhgari
6690ac6ddf Merge the latest green changeset on mozilla-inbound to mozilla-central 2011-08-09 08:09:13 -04:00
Jan Varga
5020b003ce Bug 617528 Part 2 - Core implementation r=smaug
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Jason Orendorff
ccf4fccf33 Various test fixes. Some tests are changed so that they will still pass when native frames are added. 2011-08-06 17:40:55 -05:00
Brian Hackett
3c5d0b72c8 [INFER] Fix ARM build. 2011-08-05 10:36:01 -07:00
Brian Hackett
ea7dab926a [INFER] Fix build break. 2011-08-05 09:49:42 -07:00
Igor Bukanov
96c71ac382 bug 665354 - page-independent free span. r=wmccloskey 2011-08-05 18:43:59 +02:00
Marty Rosenberg
71bc6c54d9 Fix fnegd_r() JaegerSpew. (Bug 676577, r=sstangl) 2011-08-10 17:51:00 -07:00
Marty Rosenberg
8b9979b33e Add GCC format attribute to JaegerSpew. (Bug 676577, r=sstangl) 2011-08-10 17:36:07 -07:00
Jason Orendorff
218e332f1c Bug 672804 - "Assertion failure: parent" with trap right after JSOP_ENTERBLOCK. r=billm. 2011-08-10 17:40:39 -05:00
Jason Orendorff
76846f1c5b Bug 677924 - JS shell: version(4096) asserts. r=cdleary. 2011-08-10 17:37:29 -05:00
Luke Wagner
7c1365819b Bug 676937 - Make entering a compartment and pushing a dummy frame an atomic stack operation (r=mrbkap) 2011-08-05 14:06:33 -07:00
Brad Lassey
146bdc79f5 backing out changesets 1baddb020156, d9456378c12d, 187ac0d7b154, 40e392d958e0 and f2e8ee893fe4 2011-08-10 18:18:09 -04:00
Brad Lassey
726deb160d follow up patch to fix orange from mismatched rules.mk r=orange 2011-08-10 17:53:37 -04:00
Luke Wagner
aadcfc804f Bug 670071 - make Invoke + InvokeArgsGuard less error prone (r=waldo)
--HG--
extra : rebase_source : 7c37385d649394b07dbb92b20e33d6b28874acb0
2011-08-05 08:22:53 -07:00
Luke Wagner
82b532273f Bug 678362 - HashTable should not require callers to bounds-check initial capacity (r=waldo)
--HG--
extra : rebase_source : d0bb0faa097cd04b5be0644f17a37fb96aaffc2d
2011-08-11 18:10:16 -07:00
Luke Wagner
82d1f93fca Bug 677367 - Update pc in mjit throw-handling to match interp (r=dvander)
--HG--
extra : rebase_source : f57e8869d09959c444e13416c960a864f407de4a
2011-08-11 16:59:55 -07:00
Luke Wagner
7bed016524 Bug 677367 - Debug eval-in-frame needs to compute this of enclosing frame (r=jorendorff)
--HG--
rename : js/src/jit-test/tests/bug666448.js => js/src/jit-test/tests/basic/bug666448.js
extra : rebase_source : 0e58378c7456739e305fe2ed10a06a85dedbe830
2011-08-10 17:34:34 -07:00
Ehsan Akhgari
bb6cfae3d6 Bug 680277 - Debug builds should always be compiled with frame pointers; r=khuey 2011-08-18 19:16:25 -04:00
Ms2ger
5406bc5b33 Merge m-c to m-i. 2011-08-18 22:01:33 +02:00
Terrence Cole
5db6e596e0 Bug 547875 - No OOM check on trace when creating a null closure in JSOP_LAMBDA r=dmandelin 2011-08-18 21:50:18 +02:00
Jason Orendorff
4235dced5c Bug 679879 - Change JSFunction macros to methods. Part 2, js/src changes. r=Waldo. 2011-08-18 12:39:44 -05:00
Jason Orendorff
e03d6ae0ab Bug 679013 - jsdbg2: Crash when a scripted proxy handler throws Error.prototype. r=Waldo. 2011-08-18 12:30:19 -05:00
Kyle Huey
c29ddcfaa4 Merge b-s to m-c. 2011-08-18 06:49:06 -04:00
Marco Bonardo
5f0e2fc98d Backout changeset e6d269bc23b9 (bug 674251) to investigate Tdhtml regression on Mac. 2011-08-18 10:18:08 +02:00
Kyle Huey
78de1cd29f Bug 678867: Commit the half of the patch that mysteriously vanished. r=ted 2011-08-17 17:39:11 -04:00
Kyle Huey
80800be4e5 Bug 678867: Eradicate VPATH abuse from js/src. r=ted 2011-08-17 14:15:06 -04:00
Kyle Huey
de6e8acfb3 Merge m-c to b-s. 2011-08-17 07:32:25 -04:00
Mike Hommey
889bc1e410 Backout changesets 66b336cc59b1 and dfe63797f67a (bug 676252) beause of Linux opt perma-red 2011-08-17 07:45:20 +02:00
Ehsan Akhgari
6ebbd9cd9e Bump the Firefox versions from 8 to 9 on mozilla-central 2011-08-16 14:24:21 -04:00
Luke Wagner
7fc4640d11 Bug 679251 - InlineReturn should advance the pc always (r=dvander) 2011-08-16 09:23:30 -07:00
Brian Hackett
24c7f785f6 Fix GC hazard, bug 679094. r=jorendorff. 2011-08-16 06:52:44 -05:00
Mike Hommey
06def372f6 Bug 672756 - Allow to populate startupcache on xulrunner applications built with the SDK. r=ted 2011-08-16 09:19:51 +02:00
Daniel Holbert
03ca49f291 merge m-c to m-i 2011-08-15 21:12:06 -07:00
Steve Fink
0c99ef82c8 Bug 679893 - Move up handling of -D js shell argument so that JSOPTION_PCCOUNTS is set before constructing the initial script for Function class (r=cdleary)
--HG--
extra : rebase_source : 4a075c9091fd0ca6bb66df908360e1c3828be496
2011-08-17 15:14:39 -07:00
Ehsan Akhgari
0217d4f515 Backout changeset b75337bbcf6b (bug 677864) because of xpcshell test failure 2011-08-17 17:11:23 -04:00
arno renevier
b9993b42fa Bug 677864 - Fixes components members class description. r=mrbkap
--HG--
extra : rebase_source : 881d2b170dfbbd75848600a6b723e27bbc5e71e3
2011-08-16 13:57:58 -07:00
arno renevier
c0c2fd819c Bug 677880 - Rename nsIScriptableInterfaces and nsIScriptableInterfacesByID. r=mrbkap
--HG--
extra : rebase_source : 3d4f7062b9a1c9b07d51660751e121b141bb968c
2011-08-16 13:57:23 -07:00
Brian Hackett
180947fa76 [INFER] Mark functions uninlineable when calling Invoke on an already-inlined frame, bug 676491. 2011-08-05 08:15:50 -07:00
Brian Hackett
9147feef8c [INFER] Handle recompilation hazard in NAME ICs, recompilation triggered by BINDNAME, bug 676764. 2011-08-05 07:41:11 -07:00
Brian Hackett
f2ab31c27b [INFER] Pin types against GC when splicing prototypes, bug 675232. 2011-08-05 06:47:22 -07:00
Brian Hackett
ca768c1ccf [INFER] More detailed opcode-level profiling, bug 676515. 2011-08-05 05:51:14 -07:00
Walter Meinl
a1c8316d83 Bug 648134 - [OS/2] follow-up Stop building intermediate static libs with fakelibs. r=glandium 2011-08-05 00:16:00 -04:00
Michael Wu
ccaba60ed1 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Ehsan Akhgari
2fa58bdab1 Merge mozilla-central and mozilla-inbound 2011-08-07 00:45:59 -04:00
Phil Ringnalda
ca4290d3a9 Bug 243453 - Fix a 10 year old comment typo to fix a 7 year old bug with a 6 year old review request, rs=jband's 7 year old comment 2 in the bug DONTBUILD 2011-08-06 18:16:28 -07:00
Paul Biggar
585912ae63 Bug 668936: Stringify String.prototype.replace's arguments in the right order (r=jwalden) 2011-08-05 19:28:31 -07:00
Marty Rosenberg
a4c9f645dc Bug 649202 - Implement fast typed arrays for ARM (r=jbramley) 2011-08-05 18:14:50 -07:00
Tom Schuster
f5be51a9c0 Bug 653175 - An array index with a null character could wrongly be considered to be valid. r=jorendorff 2011-08-06 00:37:54 +02:00
Tom Schuster
77950034de Bug 675896 - Expand Unicode ranges to handle chinese identifiers. Add UnicodeData.txt version 6.0.0 r=waldo
--HG--
rename : js/src/make_unicode.py => js/src/vm/make_unicode.py
2011-08-05 18:08:34 +02:00
Luke Wagner
fb02b93fcc Bug 676486 - Only compare args in StackIter when the StackFrame hasArgs (r=waldo) 2011-08-05 08:22:51 -07:00
Jason Orendorff
bba8ad1126 Address review comments from brendan (bug 672829 comment 42). 2011-08-03 19:43:39 -05:00
Brian Hackett
79c10e3b54 [INFER] Fix uninitialized variable. 2011-08-02 17:58:48 -07:00
Brian Hackett
723cccfffb [INFER] Fix merge botch. 2011-08-02 14:23:44 -07:00
Brian Hackett
1ea56ff32d [INFER] Fix merge botch, infinite loop. 2011-08-02 13:04:21 -07:00
Brian Hackett
5c6df0c03d Merge MC -> JM 2011-08-02 09:08:05 -07:00
Brian Hackett
f1d361e4ef [INFER] Fix broken test. 2011-08-02 08:45:49 -07:00
Brian Hackett
f08e4126fa [INFER] Watch for bytecodes with no fallthrough when rejoining the interpreter, bug 675921. 2011-08-02 08:39:33 -07:00
Brian Hackett
c2590db376 [INFER] Set script for type of Function.prototype, bug 675889. 2011-08-02 08:27:42 -07:00
Marco Bonardo
0dd7aa5da8 Merge mozilla-central and mozilla-inbound 2011-08-02 11:52:56 +02:00
Michael Wu
01b9a1bbf0 Back out bug 667047 for possible orange 2011-08-01 22:46:38 -07:00
Michael Wu
dda77b2c52 Backed out changeset 617081e0fdf5 (bug 667047) for possible orange 2011-08-01 22:46:17 -07:00
Brian Hackett
bee5deec97 [INFER] Improve precision when SETELEM is used on singleton objects, bug 675167. 2011-08-01 22:24:29 -07:00
Michael Wu
baf0595716 Merging backout (bug 664249) for possible orange r=killer 2011-08-01 21:20:23 -07:00
Michael Wu
8dd49dca83 Backed out changeset 3b9852666565 (bug 664249) for possible orange r=killer 2011-08-01 21:20:01 -07:00
Michael Wu
0a36bbf369 merge backout (bug 664249) for possible orange 2011-08-01 21:19:12 -07:00
Michael Wu
e6dce0d707 Backed out changeset f29ddae820bf (bug 664249) for possible orange r=killer 2011-08-01 21:18:48 -07:00
Ben Turner
716629108d Bug 674721 - 'Add memory reporting for web worker data'. r=jst+njn.
--HG--
extra : transplant_source : 9%D0%8D%BF%CE%B1Z%CC%85%EF%F5e%28%0B%A9%D1%18%99%21%11
2011-08-01 21:06:17 -07:00
Nikhil Marathe
a28285d0a7 Bug 664249 - API fixes for inlined TypedArray properties. r=mrbkap
--HG--
extra : rebase_source : fd068e786d6d49b4800a6efebf9811191a6309ef
2011-08-01 15:50:04 -07:00
Nikhil Marathe
0c583830ce Bug 664249 - Inline TypedArray properties into slots. r=mrbkap
--HG--
extra : rebase_source : 6e3cd2dd738f25b6e1fcf7ac61eaa7f14c238ffc
2011-08-01 15:49:51 -07:00
Jason Orendorff
0cc8abb074 Merge from mozilla-central to jsdbg2. 2011-08-01 17:46:33 -05:00
Nikhil Marathe
332c0da621 Bug 667047 - Ensure proper __proto__ behaviour as a normal property after setting it to null once. r=mrbkap
--HG--
extra : rebase_source : 7fc382055bd6b100c85b97189fbbf58742e87fea
2011-08-01 15:26:54 -07:00
Tom Schuster
6ea96fc45c Add tests for bug 497692 and bug bug 514808 r=Waldo over irc
--HG--
extra : rebase_source : 38e28d963570bcc79c59cb65f2e2294e9068cead
2011-08-02 00:29:12 +02:00
Brian Hackett
61733c8971 [INFER] Only allow expansion of all inline frames in a compartment, bug 675251. 2011-08-01 09:09:39 -07:00
Ben Turner
479e978cdd Bug 676376 - 'prevent multi-threaded JSRuntime access in new web worker memory reporters'. r=luke+sicking. 2011-08-06 18:03:46 -07:00
Marco Bonardo
c349396958 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-01 16:04:07 +02:00
Kyle Huey
aa3baea64a Merge m-c to b-s. 2011-08-01 08:06:23 -04:00
Brian Hackett
e18225f774 [INFER] Allow rejoining after GCs triggered within IterNext, bug 674391. 2011-07-31 08:54:17 -07:00
Brian Hackett
e5364e0c2d [INFER] Don't mark type sets and type objects as unknown when in an inconsistent object/property hash state, bug 674511. Allow compilation logging for specific scripts. 2011-07-31 08:40:46 -07:00
Brian Hackett
5cdd65541b [INFER] Use correct PC when calling lambda stubs, bug 674364. 2011-07-28 19:09:57 -07:00
Brian Hackett
6c3284f1e8 Merge MC -> JM.
--HG--
rename : dom/src/threads/Makefile.in => dom/workers/Makefile.in
rename : dom/src/threads/test/Makefile.in => dom/workers/test/Makefile.in
rename : dom/src/threads/test/WorkerTest.jsm => dom/workers/test/WorkerTest.jsm
rename : dom/src/threads/test/atob_worker.js => dom/workers/test/atob_worker.js
rename : dom/src/threads/test/chromeWorker_subworker.js => dom/workers/test/chromeWorker_subworker.js
rename : dom/src/threads/test/chromeWorker_worker.js => dom/workers/test/chromeWorker_worker.js
rename : dom/src/threads/test/closeOnGC_worker.js => dom/workers/test/closeOnGC_worker.js
rename : dom/src/threads/test/importScripts_worker.js => dom/workers/test/importScripts_worker.js
rename : dom/src/threads/test/importScripts_worker_imported1.js => dom/workers/test/importScripts_worker_imported1.js
rename : dom/src/threads/test/importScripts_worker_imported2.js => dom/workers/test/importScripts_worker_imported2.js
rename : dom/src/threads/test/json_worker.js => dom/workers/test/json_worker.js
rename : dom/src/threads/test/recursion_worker.js => dom/workers/test/recursion_worker.js
rename : dom/src/threads/test/relativeLoad_sub_worker.js => dom/workers/test/relativeLoad_sub_worker.js
rename : dom/src/threads/test/relativeLoad_worker.js => dom/workers/test/relativeLoad_worker.js
rename : dom/src/threads/test/simpleThread_worker.js => dom/workers/test/simpleThread_worker.js
rename : dom/src/threads/test/terminate_worker.js => dom/workers/test/terminate_worker.js
rename : dom/src/threads/test/test_404.html => dom/workers/test/test_404.html
rename : dom/src/threads/test/test_chromeWorker.html => dom/workers/test/test_chromeWorker.html
rename : dom/src/threads/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xul
rename : dom/src/threads/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xul
rename : dom/src/threads/test/test_close.html => dom/workers/test/test_close.html
rename : dom/src/threads/test/test_closeOnGC.html => dom/workers/test/test_closeOnGC.html
rename : dom/src/threads/test/test_errorPropagation.html => dom/workers/test/test_errorPropagation.html
rename : dom/src/threads/test/test_fibonacci.html => dom/workers/test/test_fibonacci.html
rename : dom/src/threads/test/test_importScripts.html => dom/workers/test/test_importScripts.html
rename : dom/src/threads/test/test_json.html => dom/workers/test/test_json.html
rename : dom/src/threads/test/test_longThread.html => dom/workers/test/test_longThread.html
rename : dom/src/threads/test/test_navigator.html => dom/workers/test/test_navigator.html
rename : dom/src/threads/test/test_recursion.html => dom/workers/test/test_recursion.html
rename : dom/src/threads/test/test_relativeLoad.html => dom/workers/test/test_relativeLoad.html
rename : dom/src/threads/test/test_simpleThread.html => dom/workers/test/test_simpleThread.html
rename : dom/src/threads/test/test_suspend.html => dom/workers/test/test_suspend.html
rename : dom/src/threads/test/test_terminate.html => dom/workers/test/test_terminate.html
rename : dom/src/threads/test/test_threadErrors.html => dom/workers/test/test_threadErrors.html
rename : dom/src/threads/test/test_threadTimeouts.html => dom/workers/test/test_threadTimeouts.html
rename : dom/src/threads/test/test_throwingOnerror.html => dom/workers/test/test_throwingOnerror.html
rename : dom/src/threads/test/test_xhr.html => dom/workers/test/test_xhr.html
rename : dom/src/threads/test/test_xhrAbort.html => dom/workers/test/test_xhrAbort.html
rename : dom/src/threads/test/threadTimeouts_worker.js => dom/workers/test/threadTimeouts_worker.js
rename : dom/src/threads/test/xhr_worker.js => dom/workers/test/xhr_worker.js
2011-07-28 18:10:31 -07:00
Brian Hackett
370ce71667 [INFER] Don't check isMarked() on type objects when a GC tracer with a callback is active. 2011-07-28 16:32:59 -07:00
Marco Castelluccio
fe9bc7f764 Bug 674014 - Remove "check whether mmap() sees write()s". r=glandium 2011-08-18 15:17:30 +02:00
Brian Hackett
872ca11752 [INFER] Allow the same shape to be shared by objects with different types, bug 674621. 2011-07-28 14:17:42 -07:00
Jason Orendorff
c4f527861a Merge from mozilla-central to jsdbg2. 2011-07-28 13:45:51 -05:00
Brian Hackett
beb3e0531e [INFER] Reduce inference-related script overhead, bug 674609. 2011-07-28 09:16:53 -07:00
Luke Wagner
30ebc3e8b0 Bug 676023 - Increment pc on error path out of JSOP_RETURN (r=dvander) 2011-08-04 23:15:35 -07:00
Mike Hommey
abdb4efbe6 Bug 674837 - Properly set android build options on NDK5+. r=ted 2011-07-28 14:58:15 +02:00
Jan de Mooij
79c55c5819 [INFER] LICM for typed arrays, bug 671084. r=bhackett 2011-07-28 11:53:29 +02:00
Jim Blandy
3ee5bd65a5 Bug 672728: Define MoveRef, an rvalue reference type; provide some support for move construction and assignment in js::Vector and js::HashTable. r=luke 2011-08-01 17:52:53 -07:00
Ginn Chen
ff6b6f01bb Bug 673854 - (TypeInference)Fix TI for Solaris x86. r=bhackett. 2011-07-28 09:24:56 +08:00
Jason Orendorff
75a71f51e8 Merge from mozilla-central to jsdbg2 branch. 2011-07-27 18:23:16 -05:00
Jason Orendorff
722572a323 Rename jsdbg.{h,cpp} to vm/Debugger.{h,cpp}. This addresses a review comment from brendan in bug 627829 comment 42.
--HG--
rename : js/src/jsdbg.cpp => js/src/vm/Debugger.cpp
rename : js/src/jsdbg.h => js/src/vm/Debugger.h
2011-07-27 18:03:34 -05:00
Brad Lassey
6e9ed3809d bug 661282 - make xpcshell run on android, follow up to not requre --appomni r=bsmedberg 2011-07-27 14:04:36 -04:00
Geoff Brown
cf4a559f2b Bug 668349 - changes to xpcshell.ini; r=jmaher 2011-08-10 16:56:49 -04:00
Siddharth Agarwal
7147e45572 Bug 615473 - Make ctypes.stdcall_abi and ctypes.winapi_abi aliases to the sole ABI on Win64. r=dwitte 2011-08-11 01:02:49 +05:30
Tom Schuster
b88a466d4d Bug 616744 - Add GetElement PIC for arguments objects r=dvander 2011-07-27 15:39:55 +02:00
Jeff Walden
4f15098148 Bug 674207 - Assertion attempting to convert the value of the 'it' property in the shell to a primitive. r=luke
--HG--
extra : rebase_source : 40334c0f47f4b0dcb30f1f8cf6dadf87b7b29ada
2011-07-26 23:33:58 -07:00
Steve Fink
1ec520583b Bug 673631 - Clean up probes and register (almost) all profiler control entry points in JS_DefineProfilingFunctions (r=luke,waldo,jst)
Previously, JS_DefineProfilingFunctions only defined a very basic set of
functions (startProfiling and stopProfiling), and various scattered places
added more specific ones (start/stop vtune, dumpProfile, etc.) This patch makes
jsdbgapi do all of it, so that all users get the same set.

Also rename JS_DumpProfile -> JS_DumpBytecode to avoid name conflict. The
bytecode dumps are how the counters ("profiles") are displayed, so the
DumpProfile name was bogus anyway.

--HG--
extra : rebase_source : 0e5ae9748cd497b9a0d2f51527799c4092f51fd0
2011-07-26 15:56:09 -07:00
Steve Fink
93cd3119ac Bug 673631 - Clean up probes and register (almost) all profiler control entry points in JS_DefineProfilingFunctions (r=luke,waldo,jst)
Previously, JS_DefineProfilingFunctions only defined a very basic set of
functions (startProfiling and stopProfiling), and various scattered places
added more specific ones (start/stop vtune, dumpProfile, etc.) This patch makes
jsdbgapi do all of it, so that all users get the same set.

Also rename JS_DumpProfile -> JS_DumpBytecode to avoid name conflict. The
bytecode dumps are how the counters ("profiles") are displayed, so the
DumpProfile name was bogus anyway.

--HG--
extra : rebase_source : 2d3e626ef43ac41c6da401a779775a63fc96a427
2011-07-26 15:56:09 -07:00
Chris Leary
44ce315942 Bug 675269: shell arguments bound to global |arguments|. (r=dvander) 2011-08-15 13:57:53 -07:00
Jeff Walden
98b0739498 Bug 678998 - Rename IsFunctionQName to GetLocalNameFromFunctionQName and make it infallible, now that QName's localName slot stores an atom and conversion to jsid can be infallible. r=luke
--HG--
extra : rebase_source : 5f0958ab3053b07ca87eb5955b274e3bd551d23d
2011-08-15 00:12:48 -04:00
Jeff Walden
dbd2819cf5 Bug 678998 - Make the QName localName slot store a local name that's been atomized, for simplicity. r=luke
--HG--
extra : rebase_source : 87d44a95111da809436322d95abd506e1c7beb00
2011-08-15 00:12:48 -04:00
Daniel Holbert
4f7855da4c (no bug) Use C-style instead of C++-style comment in jsopcode.h. rs=mrbkap 2011-08-15 12:11:41 -07:00
Daniel Holbert
429357d73b Bug 678845: Add "u" suffix to large integer literal values in testIndexToString.cpp, to fix GCC warning. r=Waldo 2011-08-15 11:44:17 -07:00
Mike Hommey
81319a847a Backed out changeset 884efa9dcbf9 due to OSX debug orange 2011-08-15 10:39:10 +02:00
Mike Hommey
c71d17420a Bug 672756 - Allow to populate startupcache on xulrunner applications built with the SDK. r=ted 2011-08-15 09:24:13 +02:00
Nicholas Nethercote
456abe9346 Bug 678126 - Add "tjit-data/trace-monitor" memory reporter. r=dmandelin. 2011-08-14 19:45:38 -07:00
Phil Ringnalda
34e9bd3e8e Bug 678781 - warnings-as-errors - format '%p' expects type 'void*', but argument 4 has type 'JSScript*' in InvokeHelpers.cpp:880:80, r=billm 2011-08-14 15:34:22 -07:00
Shu-yu Guo
263a4c38d2 [INFER] Fix more assertions, bug 673705. r=bhackett
--HG--
rename : js/src/jit-test/tests/basic/bug673705.js => js/src/jit-test/tests/basic/bug673705-1.js
2011-07-26 14:16:59 -07:00
Tom Schuster
5d42be833c Bug 652771 - Update Unicode character support for space categorization, also somewhat for uppercase and lowercase (although these will only be fully fixed in followup bugs). r=jwalden. Further (lumped together to address interdependencies): Bug 672760 - Don't pass the EOF non-character to any of the Unicode character-categorization functions. r=jwalden
--HG--
extra : rebase_source : f415de9c0c9e58e3a28d6cd7e474ab1370d2d244
2011-07-26 14:10:33 -07:00
Michael Wu
6a28121ce1 Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc 2011-07-26 23:43:37 -07:00
Mike Hommey
4bd677bc23 Bug 674910 - Statically link against libstdc++ on Android. r=blassey 2011-07-28 18:55:38 +02:00
Igor Bukanov
907a4b7654 bug 673795 - part2, using lists of avaiulable chunks for faster chunk selection. r=wmccloskey
--HG--
extra : rebase_source : ae4f5a82bc4042e341fdb5c08e3f0fe4b4ae8935
2011-07-26 09:55:23 +02:00
Rafael Ávila de Espíndola
37a7cdc2f2 bug 672501 - pass MOZ_OPTIMIZE_LDFLAGS when checking for __thread support. r=ted 2011-07-25 20:43:00 -04:00
Brian Hackett
58db813767 Merge. 2011-07-25 16:48:30 -07:00
Brian Hackett
361b7570ee [INFER] Mark overflows on TOID when result value is a non-integer, bug 674085. 2011-07-25 16:46:32 -07:00
Brian Hackett
9813d7c25d [INFER] Mark functionScript while tracing type objects, bug 673797. 2011-07-25 15:44:11 -07:00
Brendan Eich
f2d568f9a0 Tweak to skip-if not fail-if for bug 588061's shell-only test. 2011-08-01 14:45:57 -07:00
Steve Fink
cd923d1651 Bug 673612 - JS shell help was missing functions added through jsdbgapi (r=cdleary)
--HG--
extra : rebase_source : 67668380cdbf28d7bbdc1fc5e39beaf386eb05ab
2011-07-26 15:55:43 -07:00
Steve Fink
2d93efacce Bug 673627 - Make --enable-callgrind turn on --enable-profiling (r=dmandelin)
--HG--
extra : rebase_source : aefb887b05329fb2c80260160dcbd6f9b18ab815
2011-07-26 15:56:04 -07:00
Steve Fink
c319d416f7 Bug 673616 - Fix build with --enable-shared-js and --enable-shark (r=khuey)
--HG--
extra : rebase_source : 8ec038317f7381df27942bd529ef9225ebc6fb0e
2011-07-26 15:42:16 -07:00
Brian Hackett
568dfb4413 [INFER] Scan entire prototype chain for a lookupProperty hook when nop-ing accesses on singleton objects, bug 673788. 2011-07-25 15:00:42 -07:00
Brian Hackett
f3f515f0f4 [INFER] Check compartment when tracing TypeObject conservative roots during GC, bug 673792. 2011-07-25 14:48:22 -07:00
Brian Hackett
5154658e54 [INFER] Clear all frame ncode values on GC to avoid confusing the recompiler, bug 673812. 2011-07-25 13:57:29 -07:00
Shu-yu Guo
bd2fa16e79 [INFER] Fix assertion failure, bug 673705. r=bhackett 2011-07-25 11:02:44 -07:00
Brian Hackett
4b6dbc679c Move DECOMPOSE tests in Decompile() into individual cases, bug 673710. 2011-07-25 10:32:56 -07:00
Kyle Huey
6ab62c5552 Bug 673940: Don't accidentally overwrite the environment's PYTHONPATH. r=ted 2011-07-25 10:20:43 -07:00
Brian Hackett
ee0f798546 [INFER] Fix merge botch, bug 673767. 2011-07-25 09:33:41 -07:00
Brian Hackett
ead1d1ec71 [INFER] Don't dereference type->newScript immediately after checking against NULL, bug 673766. 2011-07-25 09:02:55 -07:00
Brian Hackett
1c29d97da1 [INFER] Only allow inlined frames to call other frames in the same VMFrame, bug 673763. 2011-07-25 08:57:00 -07:00
Brian Hackett
062072fa23 [INFER] Handle case in INCNAME on const vars which are morphed into GETGNAME by the emitter, bug 673731. 2011-07-25 07:42:46 -07:00
Brian Hackett
4a15c69088 [INFER] Add mising MakeTypeId when fixing properties in object literal types to double, bug 673713. 2011-07-25 07:28:07 -07:00
Brian Hackett
099c11fe90 [INFER] Always maintain flags on non-lazy type flags, bug 673715. 2011-07-25 07:13:02 -07:00
Igor Bukanov
d6d80f5a73 bug 673795 - part1, no empty chunk hashing. r=anygregor
--HG--
extra : rebase_source : 5700156556287ae6e72b78640451c5ceb1013df4
2011-07-25 13:04:02 +02:00
Igor Bukanov
1de6570b85 bug 678457 - remove assert about a pending exception in the scanner as OOM does not throw. r=luke
--HG--
extra : rebase_source : f71a1bac1d0271758ef9623156cd53d396346a2a
2011-08-12 10:15:29 +02:00
Landry Breuil
208630ac67 Bug 545222: treat powerpc-*-openbsd* as powerpc-*-freebsd*, r=gal 2011-08-12 13:47:22 -07:00
Jeff Walden
fec16d8559 Bug 678074 - Implement js::PropertyName, a subclass of JSAtom which represents a string which does not contain an unsigned 32-bit index. This type will eventually be used internally (and possibly at some point externally) for all guaranteed-non-element property accesses. r=luke
--HG--
extra : rebase_source : b5b7b975b7c5e3caa312784a0edc49c112d2aa09
2011-08-10 14:54:47 -07:00
Jeff Walden
90876d8d1e Bug 677820 - String.prototype.match should define properties for matches on the returned array, not set them. r=pbiggar
--HG--
extra : rebase_source : 9001b1f918f403c50fa4bba57f54cbb22e887a70
2011-08-10 14:54:36 -07:00
Jason Orendorff
48531c9e78 Bug 672892 - CloneLeftHandSide should not also clone the right-hand side. Well sure it sounds obvious when you write it out like that. r=dvander.
--HG--
extra : rebase_source : cfcaf1f4c681fc67fd70d20818bdccf5183cde94
2011-08-12 13:43:21 -05:00
Daniel Holbert
f5df3d50be Bug 677993 followup: Use uintptr_t instead of size_t for casting unsigned values to/from void*, in JSObject::getArrayLength & setArrayLength. rs=waldo 2011-08-12 11:28:51 -07:00
Chris Dearman
0c77d18255 Comment Bug 602389 - nanojit: make Register a non-numeric type on MIPS. r=nnethercote.
--HG--
extra : convert_revision : 8363264654d5e1cc9c552764e476476b634fabd9
2011-07-24 19:55:58 -07:00
Nicholas Nethercote
84505fba14 Bug 671150 - Add memory reporter for the JS PropertyTable. r=brendan. 2011-07-24 17:00:56 -07:00
Ehsan Akhgari
cadef9ec48 Merge mozilla-central and mozilla-inbound 2011-07-24 12:52:51 -04:00
Brian Hackett
796ba0c84c [INFER] Make sure prevpc() values are intact when returning into the interpreter via js_InternalThrow. 2011-07-23 08:10:18 -07:00
Ed Morley
665459d156 Bug 672046 - Valgrind suppression files are still generated in objdir even when building without --enable-valgrind; r=ted 2011-07-23 11:59:19 +02:00
Jeff Walden
cbfd8e2789 Bug 673647 - Explicitly identify which bits in JSObject::flags are available for new uses. r=dvander
--HG--
extra : rebase_source : 18f3edce0127110b0f9528dd21f8598ba97ff1a1
2011-07-22 19:10:54 -07:00
Brendan Eich
d94cff4ac3 Bug 588061 - bogus initial tokenizer position (r=cdleary). 2011-07-22 18:14:17 -07:00
Luke Wagner
495c630b33 Bug 672026 - JSObject::principals should return the compartment's principals if there is no object-principals-finder (r=mrbkap) 2011-07-22 15:22:05 -07:00
Brian Hackett
a96f171b21 [INFER] Clear propagated bit from property type sets on GC, update comments, bug 673469. 2011-07-22 12:55:52 -07:00
Ehsan Akhgari
3be0b6110e Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-22 15:48:18 -04:00
Shu-yu Guo
1704d2eeb1 [INFER] Fix bug in previous fix for bug 673341. r=bhackett 2011-07-22 12:47:16 -07:00
Shu-yu Guo
8383c08735 [INFER] Kill warning. 2011-07-22 12:15:15 -07:00
Blake Kaplan
d87a8b11e5 Bug 673503 - Make sure the prototype here is in the right compartment. r=wmccloskey 2011-07-22 12:14:02 -07:00
Shu-yu Guo
4ed56d317b [INFER] Fix liveness analysis for try block, bug 673341. r=bhackett 2011-07-22 11:53:18 -07:00
Brian Hackett
c46be499d6 [INFER] Fix orange. 2011-07-22 10:25:57 -07:00
Jason Orendorff
0a4b0df2c1 Address review comments from brendan (bug 627829 comment 35). 2011-07-22 10:54:36 -05:00
Tom Schuster
ffe5a02597 Bug 635017 - /undefined/.match() should succeed. r=jorendorff. 2011-07-22 09:46:07 -05:00
Marco Bonardo
55b2a4bd7e Merge mozilla-central and mozilla-inbound 2011-07-22 15:31:14 +02:00
Kyle Huey
21cdfe78c0 Merge m-c to b-s. 2011-07-22 00:03:35 -07:00
Brian Hackett
6147c6fd37 [INFER] Rejoin into the interpreter from js_InternalThrow, bug 672123. 2011-07-21 23:03:10 -07:00