Commit Graph

22338 Commits

Author SHA1 Message Date
Jason Orendorff
a03774931c Bug 789239 - Unravel 30-line if condition in Parser.cpp. Part 2 - Rewrite IsValidForStatementLHS using early returns. r=Waldo. 2012-09-18 06:03:22 -05:00
Jason Orendorff
77138fa36b Bug 789239 - Unravel 30-line if condition in Parser.cpp. Part 1 - Move the condition into a helper function. r=Waldo. 2012-09-18 06:03:22 -05:00
Jason Orendorff
f5d02cae64 Bug 728079 - "Assertion failure: pn2->pn_u.binary.iflags & 0x1" with JS 1.7, for-of loop, and destructuring. r=Waldo.
--HG--
extra : rebase_source : c395a34587756bcc5e418e2ed04ec9d055ab230d
2012-09-13 07:56:52 -05:00
Jeff Walden
76a7d750ba Bug 790349 - Convert all fooAtom uses to simply foo. r=jorendorff 2012-09-11 10:32:33 -07:00
Jeff Walden
3ca93096a0 Bug 790349 - Make JSAtomState store FixedHeapPtr<PropertyName> so that cached-name uses don't have to be rooted. r=jorendorff 2012-09-10 20:42:08 -07:00
Jeff Walden
9199ae6951 Fix all clang warnings introduced by the Ionmonkey landing (and one or two predating it). No bug, r=dvander over IRC
--HG--
extra : rebase_source : 60d83d511c3e1cb7c1673f5c5e7800996716fcc1
2012-09-17 18:02:29 -07:00
Jeff Walden
ce22e935f0 Bug 790349 - Allow atoms to be referred to by |cx->names().foo| where |foo| is the text of the atom (except in cases where the text of the atom isn't a C++ identifier). r=jorendorff
--HG--
extra : rebase_source : dcd3f2af4b9e9f9ea0fc98cd4f5ad3559cde4358
2012-09-10 13:27:19 -07:00
Jeff Walden
de64264fdd Bug 790349 - Define keywords with a higher-order macro. r=jorendorff
--HG--
extra : rebase_source : 728450bd46473d7d741c119ecfcf4c3c3f98cbad
2012-09-10 13:27:18 -07:00
Jeff Walden
a546087964 Bug 789635 - Clean up JSAtomState so that all atom fields are macro-defined, and move the atoms set into JSRuntime directly. r=jorendorff
--HG--
extra : rebase_source : ed461a1092fde477a199499e4519885598be7079
2012-09-06 13:48:40 -07:00
Jeff Walden
4a03fff300 Bug 789635 - Convert the prototype list into a higher-order macro, to facilitate easier use of it in other higher-order macros. r=jorendorff
--HG--
extra : rebase_source : 07457587091f60e788a8bddf577514069177b217
2012-09-07 14:42:33 -07:00
Nicholas Nethercote
8ec35ae331 Bug 791608 (part 6) - Fix compile warnings about ObjectImpl::writeBarrierPre(). r=jwalden.
--HG--
extra : rebase_source : 57115245e52573641978199620c6b5abb6528f79
2012-09-17 17:20:00 -07:00
Nicholas Nethercote
f89131c7a7 Bug 791608 (part 5) - Fix compile warning about signed/unsigned comparison. r=jwalden.
--HG--
extra : rebase_source : a8b8c61addc606a0d17520f3cfac18762836c164
2012-09-17 17:18:32 -07:00
Nicholas Nethercote
8faad9e827 Bug 791608 (part 4) - Fix compile warnings about ObjectImpl::getClass(). r=jwalden.
--HG--
extra : rebase_source : dc15218ede7135a3487cb31997e532abccd0d256
2012-09-17 17:16:57 -07:00
Nicholas Nethercote
e0b4a1beaa Bug 791608 (part 3) - Fix compile warnings about JSContext::{enter,leave}Compartment(). r=jwalden.
--HG--
extra : rebase_source : 8b184f95cdcff660b9837490e62dbb5c15f267b2
2012-09-17 17:16:23 -07:00
Nicholas Nethercote
ba81fac192 Bug 791608 (part 2) - Fix compile warnings about JSContext::typeInferenceEnabled(). r=jwalden.
--HG--
extra : rebase_source : e086bc6c421b2892cf2648c24a0af798159e98f5
2012-09-17 17:15:54 -07:00
Nicholas Nethercote
bd8bae54c6 Bug 791608 (part 1) - Fix compile warnings about JSObject::isFunction. r=jwalden.
--HG--
extra : rebase_source : 32e1bd6d65d4c2f6002b40ac0cbdd4955f2ddcdd
2012-09-17 17:11:54 -07:00
Jan de Mooij
77f1f71f9a Bug 779411 - Require use-at-start or fixed registers at call instructions. r=sstangl 2012-09-17 17:16:03 -07:00
Javi Rueda
33e1586046 Bug 530099 - Remove extensions.getMore* preferences. r=dtownsend 2012-09-17 18:42:36 -04:00
Jeff Walden
f0306c6359 Backed out changeset b6855b090307, possible memory leak. r=graphserver
--HG--
extra : rebase_source : f7e5b460f3c96ee74a0ba2abbd122c436e134063
2012-09-17 15:11:24 -07:00
Jeff Walden
1a9be94bdf Backed out changeset 17d36418f4d6, possible memory leak. r=graphserver
--HG--
extra : rebase_source : ce0a13c66211ad536eca08722cf15b2214e0d8da
2012-09-17 15:10:47 -07:00
Jeff Walden
dde78b4799 Backed out changeset 9eadf573bb38, possible memory leak. r=graphserver
--HG--
extra : rebase_source : 06d158261952934bfb60c0cc1ce38e1cbcede53a
2012-09-17 15:07:42 -07:00
Jeff Walden
52c123e54c Backed out changeset 2cdc9370922f, possible memory leak. r=graphserver
--HG--
extra : rebase_source : 465017bdf909f3fa390e2e676b3421a75c6f5b04
2012-09-17 15:06:58 -07:00
Jeff Walden
7816643d7f Backed out changeset cf239b55242a, possible memory leak. r=graphserver
--HG--
extra : rebase_source : 5dc4920582bd2e73e7fa3346ba7b4ec8148a9d0c
2012-09-17 15:06:16 -07:00
Jeff Walden
d79629b328 Backed out changeset d3d8807c6c59, possible memory leak. r=graphserver
--HG--
extra : rebase_source : f1b208bb368083e8685619a5f0e11fb6c2ffd09b
2012-09-17 15:04:21 -07:00
Terrence Cole
0a92ab063e Bug 790836 - Don't mark the fields of IonJSFrameLayout twice; r=pierron
This also skips poisoning stack roots owned by Ion in the rooting analysis.

--HG--
extra : rebase_source : 006079bc3f443bd6630f5a3c32135fbddc279f1d
2012-09-17 11:13:20 -07:00
Jeff Walden
6f6a379cab Bug 790349 - Convert all fooAtom uses to simply foo. r=jorendorff
--HG--
extra : rebase_source : b0b255d242dbb8cef2df3c758bec82e88699ecdd
2012-09-11 10:32:33 -07:00
Jeff Walden
d6e3e21556 Bug 790349 - Make JSAtomState store FixedHeapPtr<PropertyName> so that cached-name uses don't have to be rooted. r=jorendorff
--HG--
extra : rebase_source : f9113497185b3404415603da4fc8c43125d9052c
2012-09-10 20:42:08 -07:00
Jeff Walden
9641f5c879 Bug 790349 - Allow atoms to be referred to by |cx->names().foo| where |foo| is the text of the atom (except in cases where the text of the atom isn't a C++ identifier). r=jorendorff
--HG--
extra : rebase_source : b07052fa40f006d22f0fbd584ab0a28507cae1d3
2012-09-10 13:27:19 -07:00
Jeff Walden
1b2206853c Bug 790349 - Define keywords with a higher-order macro. r=jorendorff
--HG--
extra : rebase_source : 1f8e8e61af6407d4e164c0e8d6a7e29b4358a7dc
2012-09-10 13:27:18 -07:00
Jeff Walden
d892582d8e Bug 789635 - Clean up JSAtomState so that all atom fields are macro-defined, and move the atoms set into JSRuntime directly. r=jorendorff
--HG--
extra : rebase_source : 83316d60be6a58b5a4b51058331068bf68ec0626
2012-09-06 13:48:40 -07:00
Jeff Walden
b89a5856a7 Bug 789635 - Convert the prototype list into a higher-order macro, to facilitate easier use of it in other higher-order macros. r=jorendorff
--HG--
extra : rebase_source : 7adb1efe9f87467767ea498b85182b7e6aa7cf17
2012-09-07 14:42:33 -07:00
Jeff Walden
ebd7f5c29b Bug 790349 - Implement a FixedHeapPtr class to replace raw pointers to GC-managed things, which will implicitly convert to a handle. r=billm
--HG--
extra : rebase_source : 2a0091031ec8f6083aaeda06163d6a063c32e4ac
2012-09-04 10:01:53 -07:00
Jeff Walden
736d91284b Use MOZ_DELETE on the copy/assignment operators for various hash classes. No bug, r=lumpy
--HG--
extra : rebase_source : f9fb08566c17f62c189b1469e3730554b6fbe1ce
2012-09-10 13:27:04 -07:00
Jeff Walden
f7d62e2bcd Tweak an assertion in HashTable.h to use initialized() rather than !null, for clarity. No bug, r=sparky
--HG--
extra : rebase_source : a6110712d528e52323293cdbff4b171c5fda6401
2012-09-10 13:17:55 -07:00
Nicolas B. Pierron
3d1b625fd2 Bug 791122 - IonMonkey, fix bogus DOM exit frame assertion. r=efaust 2012-09-17 10:34:07 -07:00
James Kitchener
1272e4ff62 Bug 730859 - Replace JSAtom with PropertyName in JSOP_DELPROP. r=jandem
--HG--
extra : rebase_source : 10cfedf5457090832910d436b8191e7af8e906b2
2012-09-17 17:19:26 +02:00
Peter Van der Beken
71b55b1f68 Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Ms2ger
8976774677 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Bill McCloskey
2b5c5c30ba Bug 790865 - Add more compartment assertions (r=terrence) 2012-09-14 17:19:53 -07:00
Bill McCloskey
707b83567c Bug 791371 - IonMonkey: ContextStack::currentScript needs check (r=dvander) 2012-09-14 16:23:43 -07:00
Bill McCloskey
7f4261cbf6 Bug 791376 - Simplify JSObject::swap (r=bholley) 2012-09-14 16:20:04 -07:00
Takanori MATSUURA
003daee28d Bug 790868 - Remove duplicated --disable-ion definition. r=njn 2012-09-14 16:04:47 -04:00
Andrew Quartey
f408860a65 Bug 791091 - Fix build warnings in XPConnect. r=jorendorff 2012-09-14 15:00:01 -04:00
Ehsan Akhgari
46f6a1d616 Bug 579517 follow-up: Remove NSPR types that crept in 2012-09-14 14:55:01 -04:00
Jan de Mooij
4666771c44 Bug 764743 - Port RegExp.exec -> RegExp.test optimization to IonMonkey. r=sstangl 2012-09-14 18:39:53 +02:00
Gary Kwong
5bd546c887 Bug 727223 - Add test, r=me 2012-09-14 08:33:33 -07:00
Jan de Mooij
be14075016 Bug 790108 part 2 - Use AutoValueArray to root argv array. r=terrence 2012-09-14 13:47:43 +02:00
Jan de Mooij
076607a353 Bug 790108 part 1 - Use HandleObject, MutableHandleValue for pop/shift/push stubs. r=dvander 2012-09-14 13:44:15 +02:00
Norbert Lindenberg
1f492e6a0e Bug 784300 - Make self-hosted non-constructor functions not have a prototype. r=tschneidereit 2012-09-13 11:33:00 +02:00
Nicholas Nethercote
dfbdbe81e0 Bug 782802 (part 4) - Still more exact rooting in jsreflect.cpp. r=terrence.
--HG--
extra : rebase_source : 713f1d186fdae009fe3d349f3e6fcb6aebdbfdc9
2012-09-12 22:10:51 -07:00