Commit Graph

16850 Commits

Author SHA1 Message Date
Bill McCloskey
e1aa2341e0 Bug 699298 - Overhaul GC statistics gathering (r=gwagner) 2011-11-09 13:32:17 -08:00
Boris Zbarsky
098046172c Bug 699528. Make pausing/unpausing JSD try to turn off/on debug mode as needed. r=sfink
The new boolean argument to SetDebugModeWhenPossible is needed because if we allow sync-disable of debug mode we seem to crash when loading pages with Firebug active.
2011-11-09 16:11:39 -05:00
Chris Leary
a6430d4e60 Bug 700915: Diagnostic for GC helper thread crashes. (r=billm) 2011-11-09 12:24:07 -08:00
Chris Leary
72a7212280 Bug 700822: Randomize JIT VirtualAlloc location on win32. (r=dmandelin) 2011-07-18 20:39:13 -07:00
Chris Leary
41bc510b10 Bug 700822: Add javascript.options.jit_hardening pref, default enabled. (r=dmandelin) 2011-11-08 13:28:49 -08:00
Jan de Mooij
ce234d64bb Bug 686381 - JSOP_AND/JSOP_OR should always leave the value on the stack. r=dvander 2011-11-09 17:43:46 +01:00
Jan de Mooij
0c9c517ff5 Bug 684384 - Add JSOP_LABEL opcode for IonMonkey. r=dvander 2011-11-09 17:42:27 +01:00
Peter Van der Beken
1776ef0e69 Bug 700668 - Don't enumerate all compartments for every traversal of a XPCWrappedNative. r=mrbkap. 2011-11-08 18:06:40 +01:00
Jeff Walden
9732b0dd63 Bug 700910 - Implement MOZ_DELETE to encapsulate C++11 = delete syntax. r=cjones
--HG--
extra : rebase_source : 0fc4bc154923c84fd91e52be99fdac78f7c6dbc4
2011-11-08 19:19:44 -08:00
Nicholas Nethercote
c32cc3b4fa Bug 699724 - Shrink js::HashTable. r=luke. 2011-11-08 21:02:11 -08:00
Jeff Walden
aacd616ea2 Bug 700802 - Define private overrides of all JSString methods with vacuous behavior for a given subclass, on that subclass. This will prevent someone from accidentally attempting to, say, linearize a linearly-typed string. r=luke 2011-11-08 14:18:29 -08:00
Jeff Walden
0f8c91fd48 Bug 700752 - Fix erroneous build warning about a may-be-used-uninitialized variable. r=cdleary 2011-11-08 14:17:58 -08:00
Marco Bonardo
de58c7bf0f Merge mozilla-central to mozilla-inbound 2011-11-08 23:58:10 +01:00
Steve Fink
43e6381597 indent the #ifdef tree for readability (no bug, r=firebot)
--HG--
extra : rebase_source : 3113540e5c9f1fc39e6f195d69899f795e964445
2011-11-08 13:08:43 -08:00
Christian Legnitto
6473113ad0 Bug 700688, Version bump 2011-11-08 09:12:57 -08: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
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
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