Commit Graph

16835 Commits

Author SHA1 Message Date
Steve Fink
be32728023 Bug 687102 - Check line2pc, pc2line argument range (r=cdleary)
--HG--
extra : rebase_source : a746956e36e1ecb24b540c25f3e5716e67fee152
2011-09-16 16:00:00 -07:00
Terrence Cole
14e2bd234f Bug 697322 - Add easier to use reset method to CallReceiver; r=luke
All users of InvokeArgsGuard that use calleeHasBeenReset use it before
setting a new callee/this in a loop.  We should make it easier to use
by combining the reset with the setup with the setting of the new
callee.
2011-11-08 10:17:25 -08:00
Jeff Walden
a51b0d1c3f 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
Jeff Walden
52300d0417 Bug 697795 - Replace TOK_ASSIGN with separate kinds for each op it covers. r=cdleary
--HG--
extra : rebase_source : 00422b0c005bfbed5ad214f6d37463e4ffb56acf
2011-10-26 01:15:51 -07:00
Jeff Walden
100a2a21be Bug 697795 - Replace TOK_PRIMARY with separate kinds for each op it covers. r=cdleary
--HG--
extra : rebase_source : 170789e91bb378baf735fb99571924af83198514
2011-10-25 23:52:39 -07:00
Jeff Walden
263394f07b Bug 697795 - Replace TOK_DIVOP with TOK_DIV and TOK_MOD. r=cdleary
--HG--
extra : rebase_source : 17f89d9f41b9bab4ed12060d52b99aec3619ab15
2011-10-25 23:51:52 -07:00
Jeff Walden
e28581fa2e Bug 697795 - Replace TOK_SHOP with separate kinds for each op it covers. r=cdleary
--HG--
extra : rebase_source : 0b688db6762213793f1db7ac7916e11bff58a73a
2011-10-25 23:51:50 -07:00
Jeff Walden
5f54847d5e Bug 697795 - Replace TOK_RELOP with separate kinds for each op it covers. r=cdleary
--HG--
extra : rebase_source : bdc26f48b7915209567c9223718f4e47311a90af
2011-10-25 23:51:28 -07:00
Jeff Walden
447638f732 Bug 697297 - Replace TOK_UNARYOP with separate kinds for each op it covers, in both the tokenizer and in the parser (with different semantics in each!). r=dherman, r=cdleary
--HG--
extra : rebase_source : 8aca4520370b8ad3f5c0e7cb11e77fa9f486d9be
2011-10-25 16:04:48 -07:00
Jeff Walden
e91a58c2c7 Bug 697179 - Remove initializers from almost all TokenKind enumerations. Yay for simpler, more easily maintained code! r=cdleary
--HG--
extra : rebase_source : 1fd7105bba011f098e777387346702852da646aa
2011-10-25 16:03:53 -07:00
Jeff Walden
9fe9598f41 Bug 697179 - Split out appending behavior from js::ParseNode::newBinaryOrAppend into a new method, for a simpler-to-read algorithm. r=cdleary
--HG--
extra : rebase_source : 4788600a32be4d9dde31b218c5d45fda6cc426de
2011-10-24 19:39:20 -07:00
Jeff Walden
c156bbc34f Bug 697175 - Replace TOK_EQOP with separate kinds for each op it covers. r=cdleary
--HG--
extra : rebase_source : 71724c457d5563e67931a355ce5f93504f97a280
2011-10-24 19:39:20 -07:00
Kyle Huey
2f925f589e Back out Bug 687511 since it doesn't work in pymake. 2011-11-08 11:49:54 -05:00
Joey Armstrong
341e569d8a bug 687511 - edits allowing make-makefile to be run from sandbox root. Unit tests added - r=khuey 2011-10-24 09:59:39 -04:00
Boris Zbarsky
81399488cf Bug 699826. Fix nodelist access out of bounds to correctly forward to the proto. r=peterv 2011-11-08 07:59:38 -05:00
Jacek Caban
a3a1968a0b Bug 699170 - Tons of JS_* redefined warnings on mingw r=ted 2011-11-08 10:25:51 +01:00
Ed Morley
b66adf55e2 Merge last green changeset of mozilla-inbound to mozilla-central 2011-11-08 08:01:18 +00:00
Terrence Cole
65b8697281 Bug 700357 - Run GC_SHRINK more frequently; r=billm
Currently we only run this on idle when allocating memory.  There
are plans in place to also run these when clicking the Minimize
Memory button in about:memory, and when we are under memory
pressure.  This change causes GC_SHRINK to also run when doing so
will result in "lots" of pages being decommitted to the OS.
2011-11-07 13:47:14 -08:00
Ben Turner
dbd7d35169 Bug 658178 - 'Make XHR2 response/responseType work in Web Workers'. r=jst+sicking+mrbkap. 2011-11-07 17:01:29 -08:00
Jeff Walden
8a84ed2439 Bug 699691 - Remove an unused argument from ino2name in pathsub.{c,h}. r=ted 2011-11-04 18:36:40 -07:00
Jeff Walden
2083d65f42 Remove js::tl::ArraySize and js::tl::ArrayEnd. They're unused, and mozilla::ArrayLength and mozilla::ArrayEnd supersede them regardless. No bug, r=lumpy 2011-11-04 01:37:53 -07:00
Jeff Walden
781a43526c Bug 700498 - Change StringBuffer::append to take a JSLinearString*, not a JSAtom*. r=cdleary 2011-11-07 16:28:37 -08:00
Chris Leary
c3ed758f26 Bug 634654 - Add RegExpPrivate cache. (r=Waldo) 2011-11-07 13:42:31 -08:00
Dave Mandelin
3a3c5caace Bug 679986: Deoptimize unnecessary regexps. (r=cdleary)
--HG--
extra : rebase_source : 63f2d3865ea362fd2071751edce00737ab83ae26
2011-11-07 11:42:02 -08:00
Luke Wagner
e7180dc786 Bug 696813 - Hoist function out of Decompile JSOP_POPV case for later reuse (r=jorendorff)
--HG--
extra : rebase_source : 49b7adbbaf2e9d3fbf2f4756cefdc659109488d3
2011-11-07 11:46:26 -08:00
Luke Wagner
b93fb2c304 Bug 696813 - Hoist two functions out of Decompile JSOP_ENTERBLOCK case for later reuse (r=jorendorff)
--HG--
extra : rebase_source : f9c0a19d1926efc7cc89ff64fa0eca3e73775830
2011-11-07 11:46:26 -08:00
Luke Wagner
04b64ac7ef Bug 696813 - Simplify Decompile (r=waldo)
--HG--
extra : rebase_source : 452ffc58a6dc2f9d152fe6cbc2a1206fd3db0e27
2011-11-07 11:46:25 -08:00
Luke Wagner
ea85e35e23 Bug 696813 - Remove dead Decompile parameter (r=waldo)
--HG--
extra : rebase_source : a97c2551cae6de7a1c5b345ce5b7ceee26868cff
2011-11-07 11:46:25 -08:00
Luke Wagner
81d9e6c903 Bug 696813 - Simplify several bytecode generator Emit* functions (r=jorendorff)
--HG--
extra : rebase_source : 2d85e4add09a9a99071755151ab8691299fc8c05
2011-10-24 11:15:34 -07:00
Luke Wagner
24dd17b1c9 Bug 696813 - Simplify Parser::forStatement (r=jorendorff)
--HG--
extra : rebase_source : 9e5d9eebffee46d35a55e869a45b8ec5db5877e6
2011-10-21 10:54:33 -07:00
Terrence Cole
19029087ac Bug 692547 - Split up array_extra; r=Waldo
Using array_extra as a common implementation method does not shave off many
bytes of code and makes understanding all of the functions it implements very
difficult.  This patch splits this mess up and makes these methods follow
ECMA steps.

--HG--
extra : rebase_source : e31647801e4c54414534bc5770cabfa463c7d149
2011-11-04 15:56:40 -07:00
Luke Wagner
24ebb0ec95 Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
--HG--
extra : rebase_source : f18561fff556332789e05623ab0cec2e7faacf78
2011-07-01 14:11:31 -07:00
Ed Morley
6c0b453345 Bug 700166 - Hg rm dom/interfaces/threads/ since it's no longer built; r=bent 2011-11-07 15:44:11 +00:00
Peter Van der Beken
693361bf13 Bug 699796 - Note objects holding JSScript as roots in the CC. r=igor.
--HG--
extra : rebase_source : 68ef72cd709aed89ee6a1cc30bd6079d3e1ddf3d
2011-11-07 13:57:46 +01:00
Peter Van der Beken
ed7ffc3fae Bug 695867 - Crash [@ LookupPropertyById] with getPropertyDescriptor returning a NodeList. r=bz.
--HG--
extra : rebase_source : 7647c232594ab918b9c4488e8cb56d77dfea9b42
2011-10-27 19:31:37 +02:00
Peter Van der Beken
b63af58931 Bug 684938 - Proxy nsXPCWrappedJS::Release to the main thread. r=mrbkap.
--HG--
extra : rebase_source : faf9c46616c52bc03b776a4aae8fd3f87e11f132
2011-09-14 08:44:27 -07:00
Peter Van der Beken
0e028bfaf7 Bug 697643 - Crash [@ JS_IsExceptionPending] modifying a live NodeList. r=bz.
--HG--
extra : rebase_source : 1d2e5e17c76a04a88468d976e89576d127e4e54f
2011-10-27 19:39:03 +02:00
Tom Schuster
118d0e5fef Bug 698584 - Fix crash in RegExp.test in case of OOM. r=mrbkap 2011-11-06 16:29:33 +01:00
Bobby Holley
ed31a8bfba Bug 677788 - Remove use of length_is xpt value from gecko. r=mrbkap 2011-11-06 13:32:25 +01:00
Bobby Holley
0b4ff99312 Bug 677788 - Remove array/string 'capacity' argument from XPCConvert. r=mrbkap
Because length_is duplicates size_is, 'capacity' is just an alias for 'count'.
2011-11-06 13:32:25 +01:00
Bobby Holley
2de88b7c43 Bug 691781 - Generate IDL lexer and parser as part of the build system. r=khuey 2011-11-06 13:32:25 +01:00
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Terrence Cole
fdb5ec2f79 Bug 670596 - Mark ununused arenas as decommitted; r=?,njn
This patch tells the OS which pages we are not using after we do a GC_SHRINK.
The result is that the OS can do a better job managing memory, send less to
swap and will not count these pages against us in RSS.
2011-10-11 18:37:40 -07:00
Steve Fink
ec14aa4669 Bug 625639 - fix XPCConvert error handling (r=mrbkap) 2011-10-28 12:35:35 -07:00
Steve Fink
77bf8eb073 Bug 693907 - Once Upon a JSAPI (move JS_CallOnce from jslock.cpp to jsapi.cpp) (r=waldo)
--HG--
extra : rebase_source : 718fa503c0b73f0a4a94f50f28bc4a7981ef4202
2011-10-11 21:52:36 -07:00
Tom Schuster
70303788a7 no bug - Add 0 add the end of a char array rs=waldo
--HG--
extra : rebase_source : f0f7051cbb7842da215bf3163db49c68ada60bc3
2011-11-04 23:49:56 +01:00
ABE Hiroki
f64ab95bee Bug 675593 - Fix nspr4!1.pgc path mistake on NSPR PGO build (m-c part); r=ted 2011-11-04 21:26:53 +00:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Boris Zbarsky
3678f3ebd8 Bug 698495 followup: deal with uint32 being inconsistently defined by JS and NSPR in ways that break the Win64 build. r=waldo pending 2011-11-04 13:57:39 -04:00
Tom Schuster
92dba89a43 Backout 8b394bdb306f because of test failures 2011-11-04 18:50:09 +01:00