396 Commits

Author SHA1 Message Date
Brian Hackett
dd1be81b31 Move rarely set object flags to BaseShape, bug 694561. 2011-10-14 13:51:21 -07:00
Brian Hackett
1ca40e7627 Move scope chains of scope objects to reserved slots, bug 694247. 2011-10-12 22:29:43 -07:00
Brian Hackett
6a000c54e1 Remove JSObject::getFunctionPrivate, add call scope to JSFunction, bug 693754. 2011-10-11 15:28:54 -07:00
Brian Hackett
226f6d2a95 Move JSObject::newType to a hashtable, bug 684410. 2011-10-07 20:09:09 -07:00
Jeff Muizelaar
0935f45e0d Bug 695422. js: Return NULL instead of false. r=luke
Caught with clang

--HG--
extra : rebase_source : dbb9c4ffc8e38f30b467ee38d1923f0645ea8b2e
2011-10-18 15:20:02 -04:00
Jason Orendorff
89f41c57cb Bug 695094 - Move js{scan,parse,emit}.{h,cpp} into js/src/frontend/. r=luke.
--HG--
rename : js/src/jsemit.cpp => js/src/frontend/CodeGenerator.cpp
rename : js/src/jsemit.h => js/src/frontend/CodeGenerator.h
rename : js/src/jsparse.cpp => js/src/frontend/Parser.cpp
rename : js/src/jsparse.h => js/src/frontend/Parser.h
rename : js/src/jsscan.cpp => js/src/frontend/TokenStream.cpp
rename : js/src/jsscan.h => js/src/frontend/TokenStream.h
2011-10-17 16:54:28 -05:00
Jeff Walden
3486aea238 Bug 699227 - Change ParseNode::getKind() to use a type separate from TokenKind, for greater clarity. r=jorendorff
--HG--
extra : rebase_source : a7a0f9028f6094a29f013aafd1eeea4b22d08fa2
2011-10-28 16:06:14 -07:00
Bill McCloskey
213017df51 Bug 641027 - Add snapshot-at-the-beginning write barriers for incremental GC (r=luke,bhackett) 2011-10-25 16:07:42 -07:00
David Anderson
bac3c4eebc Remove LeaveTrace and related structures (bug 698201 part 5, r=luke). 2011-11-22 17:41:43 -05:00
Luke Wagner
9a4f70c9e6 Bug 683361, part 2 - use CallArgs more (r=waldo)
--HG--
extra : rebase_source : 0825a9729a7e24706e9fa1f3fdfb1586c475d8cf
2011-09-08 21:02:26 -07:00
Jeff Walden
2cd9f2fb48 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
Jeff Walden
943ff8aaf5 Bug 687621 - Introduce js::SpecialId, encapsulating the non-index, non-string bizarro property names. r=luke 2011-09-20 14:34:11 -07:00
Jeff Walden
bbb763fe0c Bug 687621 - Further split ObjectOps to add a third property type (and temporarily a fourth to use for a property of indeterminate type), to encapsulate object-valued jsids and properties that don't fit in the property name/element distinction. r=luke
--HG--
extra : rebase_source : 4cfd216dcbff77750cb54ea48b546e83bd555513
2011-08-12 14:26:48 -04:00
Luke Wagner
a9d6d33a65 Bug 684526 - Remove Jsvalify/Valueify (r=waldo)
--HG--
extra : rebase_source : a3047338ed088c26a93486addd0be8092fe52934
2011-09-20 11:40:24 -07:00
Luke Wagner
f1c2cdd326 Bug 684526 - Unify jsval and js::Value (r=jorendorff)
--HG--
extra : rebase_source : 5655602775d575bb5adba0a8fc4c20621f393a67
2011-09-19 09:34:49 -07:00
Jeff Walden
4507218e6f Bug 686582 - Begin to specialize ObjectOps::deleteElement to not just delegate to ObjectOps::deleteProperty. r=dvander
--HG--
extra : rebase_source : ea2bd6c2511e5be83fcb826b7d4b81b6d38260ce
2011-08-10 14:54:52 -07:00
Jeff Walden
bb472a9954 Bug 686582 - Begin to specialize ObjectOps::lookupElement to not just delegate to ObjectOps::lookupProperty. r=dvander
--HG--
extra : rebase_source : f04ec73fec1831c717e01779e0d692585f8ed74d
2011-08-10 14:54:52 -07:00
Chris Leary
aae1b5528e Bug 670049 - JSParseNode accessors. (r=dherman)
--HG--
extra : rebase_source : c83d7bafafe951e2365573c459e2fab2d5ba4362
2011-09-13 22:32:14 -07:00
Jeff Walden
8be62ad5ae Bug 677703 - Add element-valued methods to ObjectOps. Implement forward-to-property versions where necessary for classes which have custom ObjectOps. r=cdleary
--HG--
extra : rebase_source : b4f572a9d7f3f49d5c3ec555084ab794c8512cfa
2011-08-10 14:54:51 -07:00
Luke Wagner
293c7bcf13 Bug 684110 - Clean JSObject::clasp usage (r=pbiggar) 2011-09-02 17:23:26 -07:00
Ed Morley
5ad1e0be99 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
bddd0c80c3 Bug 684110 - Clean JSObject::clasp usage (r=pbiggar) 2011-09-02 17:23:26 -07:00
Brian Hackett
9ba7e372e9 Merge MC -> JM 2011-08-21 16:00:26 -07:00
Brian Hackett
c743913090 Merge MC -> JM 2011-08-09 13:29:11 -07:00
Tom Schuster
82842beaa5 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
Jason Orendorff
d440dd51a3 Bug 679879 - Change JSFunction macros to methods. Part 2, js/src changes. r=Waldo. 2011-08-18 12:39:44 -05:00
Brian Hackett
47b5c3287d 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
f631882466 Merge MC -> JM 2011-07-21 18:53:37 -07:00
Brian Hackett
2718453170 [INFER] Make TypeObject a GC thing, remove lazily created type objects on GC, bug 669969. 2011-07-21 07:28:01 -07:00
Jason Orendorff
f3bc25f319 Bug 637985 - Reimplement watchpoints using a JSObject bit. r=jimb. 2011-07-27 17:44:43 -05:00
Brian Hackett
987914bed5 Merge MC -> JM 2011-07-15 14:40:15 -07:00
Brian Hackett
48dc847ab3 [INFER] Lazily create type objects for singleton JS objects, bug 670185. 2011-07-15 10:14:07 -07:00
Tom Schuster
c91cb8d2a3 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
Luke Wagner
514e6958c1 Bug 670059 - Add some JS engine telemetry counters to measure occurrences of: E4X, __iterator__, mutable __proto__ (r=taras,waldo) 2011-07-07 15:40:33 -07:00
Luke Wagner
85997de937 Backout a22fad398472 and 373e6bd2705d because of burnage 2011-08-04 15:54:14 -07:00
Luke Wagner
6d4c06f84f Bug 670059 - Add some JS engine telemetry counters to measure occurrences of: E4X, __iterator__, mutable __proto__ (r=taras,waldo)
--HG--
extra : rebase_source : f77f2ad5521bf4543b518f7f6cc40a3778b7a74a
2011-07-07 15:40:33 -07:00
Brian Hackett
1e3ee7d7f9 Merge TM -> JM 2011-07-01 16:24:32 -07:00
Brian Hackett
9c9f7b50a9 [INFER] Read barriers for call results, bug 663381. 2011-06-10 19:03:57 -07:00
Brian Hackett
8820d59a12 Merge TM -> JM 2011-06-06 09:48:04 -07:00
Brian Hackett
adb1b2d979 [INFER] Apply stack review comments, bug 657412. 2011-06-05 22:39:45 -07:00
Brian Hackett
0eff21ceee [INFER] Move inference methods out of JSContext, bug 657412. 2011-06-02 10:40:27 -07:00
Brian Hackett
74c67eca59 [INFER] Reduce inference changes to JSAPI, bug 657412. 2011-05-30 13:28:01 -07:00
Luke Wagner
9f59f7c3f5 Bug 538293 - remove inlineCallCount and this STACK_QUOTA silliness (r=dvander)
--HG--
extra : rebase_source : 724910c67423b0720ca5c3732699bca4d64324ef
2011-05-27 18:15:39 -07:00
Brian Hackett
1942853df0 Merge TM -> JM 2011-05-27 15:08:04 -07:00
Brian Hackett
67613db263 [INFER] Remove type handler information for e4x, bug 660152. 2011-05-27 08:19:43 -07:00
Jeff Walden
a7f6c3ef8c Bug 670779 - Add LinkConstructorAndPrototype to encapsulate adding ctor.prototype and ctor.prototype.constructor. r=bhackett
--HG--
extra : rebase_source : 1216c2c096b866c94205c3f53fe0dd70225523c4
2011-06-15 10:15:37 -07:00
Brian Hackett
39f93deacb Merge TM -> JM 2011-05-22 08:59:06 -07:00
Brian Hackett
c8a04285b8 [INFER] Cleanup for review, bug 657412. 2011-05-16 22:59:40 -07:00
Chris Leary
3df1dd05de Bug 657537: clean up jschar inflation/deflation. (r=Waldo) 2011-05-26 15:50:05 -07:00
Brian Hackett
e67b2dd020 [INFER] Move addTypeProperty barriers under obj->setProperty, obj->defineProperty, bug 619693. 2011-05-16 16:15:37 -07:00