Commit Graph

628 Commits

Author SHA1 Message Date
Jeff Walden
8a2b96580e Bug 693469 - Use mozilla::ArrayLength and mozilla::ArrayEnd in preference to JS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : d89352e4f8c0e40853673d980d16d12dab04b44f
2011-10-10 23:00:28 -07:00
Jeff Walden
064476f76f Bug 692983 - Refactor Token and JSParseNode storage to distinguish atoms which are PropertyNames from atoms which might or might not be. r=cdleary
--HG--
extra : rebase_source : 27c93935e0904eb1f9337699f0edb80e71a22f76
2011-10-08 15:45:29 -07:00
Jeff Walden
623030fbb0 Bug 694454 - Make Function.caller skip over eval frames rather than cause stack-walking code to snarl into a loop on them. r=luke, r=bhackett
--HG--
extra : rebase_source : b77eaacf72248a9ea47bca27d523e16a8f84d466
2011-10-13 17:21:56 -07:00
Luke Wagner
179eb73d2a Bug 689362 - Remove empty jsstaticcheck.h (r=billm) 2011-10-12 10:28:56 -07:00
Justin Lebar
26e4ee32cd Back out rev 4c0e6b3f7791 (bug 689362) due to suspected mac x64 opt moth orange. 2011-10-12 23:07:04 -04:00
Luke Wagner
8d6c125463 Bug 689362 - Remove empty jsstaticcheck.h (r=billm)
--HG--
extra : rebase_source : d37d29af2a4f6b8c4f9a18468e57285ea8098824
2011-10-12 10:28:56 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
61aacb842c Bug 692983 - Refactor Token and JSParseNode storage to distinguish atoms which are PropertyNames from atoms which might or might not be. r=cdleary 2011-10-08 15:45:29 -07:00
Jeff Walden
bd8d321b37 Bug 639469 - Use mozilla::ArrayLength and mozilla::ArrayEnd in preference to JS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 23:00:28 -07:00
Luke Wagner
c7d3e6785c Bug 689362 - Create js/public (with the intention that its contents will eventually be the only INSTALLED_HEADERS), move Vector and HashTable to js/public and some dependencies (r=billm,sr=dmandelin)
--HG--
rename : js/src/jshashtable.h => js/public/HashTable.h
rename : js/src/jsvector.h => js/public/Vector.h
rename : js/src/mfbt/InlineMap.h => js/src/ds/InlineMap.h
extra : rebase_source : 818639b74653667b7a572bc1234398c0e4559a60
2011-10-04 15:33:00 -07:00
Igor Bukanov
c4a996026b bug 687966 - eliminating held/unheld scripts in the debugger. r=jorendorff 2011-09-20 21:49:12 +02:00
Bill McCloskey
b7fd4f51c6 Bug 688939 - Fix bogus script ownership assertion (r=dmandelin) 2011-10-05 14:51:37 -07:00
Brian Hackett
e89780c40d Remove jsobj.h from installed headers, bug 690943. r=luke 2011-10-04 07:06:54 -07:00
Chris Leary
14bc4cf54d Bug 684039: rewrite JS LIFO allocator, avoids thrashing. (r=luke)
--HG--
rename : js/src/jsarena.h => js/src/ds/LifoAlloc.h
extra : rebase_source : 098bf9561114f82363ebd0862213acf952709257
2011-09-22 13:22:30 -07:00
Luke Wagner
2c8c55d13f Bug 683361, part 2 - use CallArgs more (r=waldo)
--HG--
extra : rebase_source : 0825a9729a7e24706e9fa1f3fdfb1586c475d8cf
2011-09-08 21:02:26 -07:00
Luke Wagner
7ff16e4820 Bug 683361, part 1 - Strip JS prefix from proxy names since they are already in namespace js (r=gal)
--HG--
extra : rebase_source : 5eded8e02c36991322c94fca1092970910c2ceea
2011-09-08 20:29:15 -07:00
Jeff Walden
37632bfcb5 Bug 687621 - Convert getProperty to take a PropertyName*, and make getGeneric the only way to get a property for a jsid. r=luke 2011-09-15 11:44:10 -07:00
Luke Wagner
61f76ef0bd Bug 684526 - Remove Jsvalify/Valueify (r=waldo)
--HG--
extra : rebase_source : a3047338ed088c26a93486addd0be8092fe52934
2011-09-20 11:40:24 -07:00
Ehsan Akhgari
41c2a18909 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-20 10:22:17 -04:00
Brian Hackett
dd56af6e09 [INFER] Reapply c2726640029f 3330521cfa4a b68281262e15 (bug 557358), 6a8947bcc821 (bug 684943), 50d4f6fa00ce (bug 683714), f3dd7cf2d0b3 (bug 683999). 2011-09-17 19:14:22 -07:00
Ed Morley
3b89aa779a Backout latest JM merge for OSX 10.5 M-oth permaorange (see bug 687257) on a CLOSED TREE 2011-09-17 16:32:43 +01:00
Brian Hackett
cb6667a21f Merge MC->JM 2011-09-12 12:42:13 -07:00
Brian Hackett
f5364430bd Merge MC->JM 2011-09-08 09:59:59 -07:00
Ehsan Akhgari
dd1857e2c4 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-07 10:06:22 -04:00
Brian Hackett
0f6bc04a42 [INFER] Ensure type/prototype are preserved when cloning functions at method barriers, bug 683714. 2011-09-06 22:49:47 -07:00
Brian Hackett
a21793c57d Merge MC->JM 2011-09-06 00:45:22 -07:00
Brian Hackett
4797355341 [INFER] Don't use invalid activeCall when finishing an outer function frame, detect nesting in parents which add scope objects earlier, bug 663138. 2011-09-03 11:04:45 -07:00
Luke Wagner
357b5b8cf8 Bug 684110 - Clean JSObject::clasp usage (r=pbiggar) 2011-09-02 17:23:26 -07:00
Ed Morley
2d385ce59f Backout bug 684110 (08b6eaf6aad0, cf8b35fa1010, 25ee45edabe1, 659f5c7d2cc9, 870f6dd82586 & e1ad65d6a7fd) and bug 684344 (cd1957f6628d) on a CLOSED TREE; a=bustage-fairies 2011-09-03 03:21:25 +01:00
Luke Wagner
39242fcb8c Bug 684110 - Clean JSObject::clasp usage (r=pbiggar) 2011-09-02 17:23:26 -07:00
Brian Hackett
9128f54230 Merge MC -> JM 2011-09-01 13:41:12 -07:00
Brian Hackett
3e0ad0ceba [INFER] Improve performance for non-reentrant closures, bug 663138. 2011-09-01 12:20:30 -07:00
Brian Hackett
045638a1ea Merge MC -> JM 2011-08-26 11:23:35 -07:00
Brian Hackett
72f29e4500 Merge MC -> JM 2011-08-23 07:08:50 -07:00
Brian Hackett
45b8a69877 Merge MC -> JM 2011-08-21 16:00:26 -07:00
Igor Bukanov
cf19ff5d15 bug 680755 - replacing last frame checks with an auto class. r=jorendorff 2011-08-21 16:23:48 +02:00
Bill McCloskey
ca3db625cd Bug 679593 - Null out JSScript (r=dmandelin) 2011-08-22 14:33:32 -07:00
Igor Bukanov
712146a6db bug 686017 - avoid Cell::arenaHeader() on fast paths. r=bhackett1024 2011-08-16 12:27:34 +02:00
Igor Bukanov
cc337ac79c bug 674251 - making JSScript a GC-thing. r=jorendorff,bhackett1024 2011-08-09 10:51:59 +02:00
Igor Bukanov
3b06c78f95 bug 681884 - faster slow path of GC allocations. r=wmccloskey 2011-08-18 09:16:08 +02:00
Luke Wagner
b1e57a60f7 Fix bustage in d6242989d95d; pushInvokeArgs should just LeaveTrace and avoid the silly requirement on callers (r=orange)
--HG--
extra : rebase_source : 2e3f97f7d4bc10c6fa90e91b6a76802ed31f4a72
2011-09-06 11:58:19 -07:00
Brian Hackett
f3b5be7a42 [INFER] Allocate typeset data and properties from arenas, occasionally purge observed types in compartments, bug 679329. 2011-08-17 06:48:14 -07:00
Brian Hackett
06268c9f02 Merge MC -> JM 2011-08-14 19:51:16 -07:00
Brian Hackett
9b769204de Merge MC -> JM 2011-08-09 13:29:11 -07:00
Jason Orendorff
6666d9cd42 Merge from mozilla-central to jsdbg2. 2011-08-09 10:21:12 -05: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
Brian Hackett
5c6df0c03d Merge MC -> JM 2011-08-02 09:08:05 -07:00
Brian Hackett
c2590db376 [INFER] Set script for type of Function.prototype, bug 675889. 2011-08-02 08:27:42 -07:00
Jason Orendorff
0cc8abb074 Merge from mozilla-central to jsdbg2. 2011-08-01 17:46:33 -05: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