Commit Graph

23714 Commits

Author SHA1 Message Date
Nicholas Nethercote
605aa68d3c Bug 664647 - Work around MSVC 2005 PGO bug in GetJSObjectSlotsCallback and friends. r=khuey. 2011-06-20 09:01:37 +10:00
Igor Bukanov
0e73de0a0a bug 601075 - followup to fix MSVC warings and adjust the testStringBufferMallocAccounting.js test to overwrite all conservative GC roots. 2011-06-19 19:41:46 +02:00
Andrew McCreight
fd269a9094 Backout bug 653248 due to bug 667011 2011-06-15 10:55:58 -07:00
Andrew McCreight
91ffe75609 backing out patch for bug 653248 due to bug 667011 2011-06-15 10:55:58 -07:00
Ehsan Akhgari
ea86dfa105 Merge mozilla-central and mozilla-inbound 2011-06-28 18:43:09 -04:00
Joe Drew
075aa11a02 Merge m-c to m-i 2011-06-28 12:21:04 -04:00
Joe Drew
fb3508d786 Merge last green changeset from mozilla-inbound to mozilla-central. 2011-06-28 12:11:31 -04:00
Kyle Huey
875ae3ab9d Merge b-s to m-c. 2011-06-28 08:54:26 -07:00
Chris Leary
b6e46acdbd Merge mozilla-central and tracemonkey. 2011-06-27 11:07:22 -07:00
Igor Bukanov
a6e576e8ca bug 666091 - custom file for GCTIMER output. r=anygregor 2011-06-22 14:33:39 +02:00
Jeff Walden
eb803ca83b Style patrol followup to bug 665835. r=consistency
--HG--
extra : rebase_source : fe11c9f93246357209608ef6db85f2c147eb1b61
2011-06-24 14:36:13 -07:00
Chris Leary
909d951b40 Followup for bug 649576 GCC 4.3.3 warning. 2011-06-25 16:35:56 -07:00
Chris Leary
f1e0113af3 Bug 649576: Extricate JSHashTable from JSAtomList death grip. (r=luke) 2011-06-24 14:22:30 -07:00
Paul Biggar
45c3008821 Bug 666788: Remove JS_sscanf declaration, for which there is no definition (r=cdleary) 2011-06-24 16:12:40 -07:00
Luke Wagner
980bd7eabf Bug 666094 - InitJitFrameLatePrologue should do a better modeling generatePrologue (r=dvander) 2011-06-24 16:11:21 -07:00
David Mandelin
c79ee94bc2 Bug 666587: revert accidentally changed control flow in fun_getProperty, r=jwalden 2011-06-24 14:26:00 -07:00
Dave Herman
86de6be516 Bug 666852 - crash when yield occurs in comprehension RHS (r=cdleary) 2011-06-24 14:08:29 -04:00
Justin Lebar
5daed65b45 Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Shawn Gong
71e98c36a4 Fixed bug 632255: implemented FileReader.readAsArrayBuffer() API. r=sicking 2011-06-30 17:50:44 -07:00
Makoto Kato
5c8077f92b Bug 635617 - 64-bit crash [@ MakeDay] r=jwalden 2011-06-08 10:41:37 +09:00
Makoto Kato
43e17e2994 Bug 667076 - follow up for bustage on Win64. r=luke 2011-07-01 15:59:58 +09:00
Jeff Walden
eb505d304d Bug 657298 - Various bugs in setting the length of an array. r=dmandelin
--HG--
extra : rebase_source : f27bd4d0141df46d7ef054c91c2601d3b50d9690
2011-06-28 10:05:53 -07:00
Jeff Walden
e182be6d67 Bug 667527 - Remove the array-length limitation from the method used in certain cases to append values to newborn arrays, and name it more generally than previously. r=dmandelin
--HG--
extra : rebase_source : 1f7ee1dc5f5bd3185a8c7e02c5fdf8dcef765cb4
2011-06-28 10:05:40 -07:00
Nikhil Marathe
cbe391a287 Bug 665355 - Make delegate object and ArrayBuffer share same prototype. r=mrbkap
--HG--
extra : rebase_source : a7bd7dce5e0fbc53097f56065f5d5290046bc691
2011-06-29 17:42:03 -07:00
Nikhil Marathe
f3d65acc81 Bug 665355 - Fix __proto__ recursion. r=mrbkap
--HG--
extra : rebase_source : b97d692c2318e3e071e68e2e1cec38ca9e614cb0
2011-06-29 17:41:35 -07:00
Nikhil Marathe
58bad94550 Bug 665914 - ArrayBuffer.prototype['byteLength'] crashes. r=mrbkap
--HG--
extra : rebase_source : 09fda2860e11457f516c3b0b0614bde7e3ff3a91
2011-06-29 17:38:10 -07:00
Blake Kaplan
cfc7503a4c Bug 667630 - Don't treat the payload of a jsval as a pointer and make sure we unroot the value. r=luke
--HG--
extra : rebase_source : b3c5c3a29c859e2632ef97b0acc0a18842f9c52a
2011-06-29 17:36:09 -07:00
Blake Kaplan
f2051c534a Bug 664689 - Deal with wrappers-around-wrappers here. r=gal
--HG--
extra : rebase_source : af67e8aded9aa89874c0d74bc9fd48df2268eafc
2011-06-28 14:00:19 -07:00
Steve Fink
84a0405d58 Bug 667056 - Fix when function callbacks are invoked (r=luke) 2011-06-24 17:13:19 -07:00
Steve Fink
5a2aad9f3f Bug 667076 - Add a CHECK_EQUAL for testing whether non-jsval types are equal and report expected and observed values on failure (r=luke)
--HG--
extra : rebase_source : fb98cbdcaa63abbfe718d3dfc5b3ac1b0d3a64da
2011-06-24 13:11:28 -07:00
Chris Leary
57169dabe5 POD trait for |long long| family, attempt to rambo Winx64 back to life. (rs=luke) 2011-06-27 15:00:17 -07:00
Igor Bukanov
9e6d47a439 Bug 657198 - improving unreachable GC things detection in traces. r=gal 2011-05-31 10:01:09 +02:00
David Anderson
7af37c7b87 Fix ARM assert (no bug, r=cdleary). 2011-06-24 00:22:58 -07:00
Jeff Walden
e7a40351d4 Followup to fix tests relying on the mistaken absence of JSOPTION_ANONFUNFIX. r=orange 2011-06-23 18:48:55 -07:00
Brian Hackett
42227d5990 Bug 662132: Better coordination of GC and ICs, r=dvander 2011-06-23 18:19:57 -07:00
Gavin Barraclough
235b7e7999 Bug 653672: fix regexp offset handling, r=cdleary 2011-06-20 13:31:24 -07:00
Chris Leary
d46a59d72d Fix type-mismatched error return value. 2011-06-23 17:06:57 -07:00
Luke Wagner
a863d4e44c Bug 666292 - The decompiler does not deserve to use FrameRegsIter (it temporarily clobbers script->code) (r=waldo) 2011-06-23 16:41:59 -07:00
Jeff Walden
c35a61253a Bug 665835 - Remove JSOPTION_ANONFUNFIX. r=cdleary
--HG--
rename : js/src/tests/js1_5/extensions/regress-376052.js => js/src/tests/ecma_5/misc/unnamed-function.js
2011-06-21 09:53:19 -07:00
Jeff Walden
6feb9d1460 *Fewer* *occurrences*, not "less occurences". r=languagenazi 2011-06-23 11:07:27 -07:00
Dave Herman
a1e4edd603 Bug 665286 - crash on yield in arguments list (r=cdleary) 2011-06-23 18:20:31 -04:00
Dave Herman
289f1e78a5 Fixed broken test case (r=orange) 2011-06-23 16:40:58 -04:00
Paul Biggar
6ab0557bfb Bug 666052: Remove unused NSPR defines for events, hashtables and arenas (r=luke) 2011-06-23 13:27:04 -07:00
Luke Wagner
a9f846278a Update 'make check' OffTheBooks/Foreground accounting for 580ad572687b 2011-06-23 10:43:31 -07:00
Jeff Walden
fa96505235 Bug 660517 - Kill XML objects as prototypes. r=mrbkap
--HG--
extra : rebase_source : e2bf46111cab2bf97abe5a1bd8d0b25d97e8bfb9
2011-06-16 15:43:58 -07:00
Jeff Walden
672143f1ca Bug 587268 - Consolidate duplicate properties during enumeration of objects with custom enumeration behavior. r=dmandelin
--HG--
extra : rebase_source : ffd03f833471205e896815a7593326d2f7ea7bac
2011-06-21 16:52:25 -07:00
Luke Wagner
5672553177 Bug 665247 - Remove unused metering code (r=igor)
--HG--
extra : rebase_source : 78ec31e4236f63f8a91024f34b1b99a889dc47f5
2011-06-21 10:26:22 -07:00
Dave Herman
13f9da57ae Bug 632030 - Reflect.parse handling of duplicate var declarations (r=jorendorff) 2011-06-23 12:31:40 -04:00
Daniel Holbert
cd52b2537d Bug 666481: Remove set-but-not-used variable 'count' from jsatom.cpp. r=igor 2011-06-23 02:47:13 -07:00
Dave Herman
8073f558b1 Bug 632056 - Reflect.parse() constant-folding test 2011-06-23 03:44:56 -04:00
Dave Herman
a7006d44cf Bug 632029 - Reflect.parse() constant-folding 2011-06-23 03:31:12 -04:00
Dave Herman
d9346c17d1 Bug 632026 - Reflect.parse() constant folding test 2011-06-23 03:17:42 -04:00
Igor Bukanov
49581e5a08 bug 665781 - do not shrink XML arrays during GC. r=gal 2011-06-21 12:23:14 +02:00
Luke Wagner
4aca0c6fa2 Bug 666003 - Set 'script' after pushing inline frame in JSOP_CALL (r=waldo)
--HG--
extra : rebase_source : a3a922c32a1f68fcd5dcf72937d695b39bbb4770
2011-06-21 17:44:50 -07:00
Nicholas Nethercote
0c28b16953 Bug 665404 - Create JaegerCompartments lazily. r=luke. 2011-06-22 09:16:23 +10:00
Bob Clary
a28bff1c02 bug 662468 - JavaScript Tests - restore Object.prototype.string in e4x/Regress/regress-373082.js, r=igor. 2011-06-21 10:35:29 -07:00
Nicholas Nethercote
c66c156bbd Bug 661068 follow-up - Fix the --disable-tracejit bustage caused by 1e464e38591e. Oh the humanity! 2011-06-21 13:18:15 +10:00
Nicholas Nethercote
8fa8fbe7bc Bug 661068 - Create TraceMonitors lazily. r=luke. 2011-06-21 12:47:04 +10:00
Peter Van der Beken
df7a39a7e6 Fix for bug 659581 (Clear debugger activation callback after calling it). r=brendan.
--HG--
extra : rebase_source : 41c42ca1ba657b58cb91cb5ed616f9536789ef99
2011-05-25 10:46:51 +02:00
Justin Lebar
86f84ad118 Bug 669890 - Add missing comma to js/src/shell/js.cpp. rs=bz 2011-07-07 10:24:54 -04:00
Craig Topper
ab8bfddbb1 Bug 666135 - Disable -Wcast-align when building with clang 2011-05-13 14:18:52 -07:00
Igor Bukanov
3a56f020bc bug 601075 - bump-allocator for GC arenas. r=wmccloskey 2011-05-11 14:46:33 +02:00
Dave Herman
c865798cd4 disable constant folding for Reflect.parse (bug 571617, r=jorendorff) 2011-06-18 08:45:05 -07:00
Tom Schuster
e54467eba5 Bug 640593 - Remove Function.arity and other cleanup around function properties r=jorendorff
--HG--
rename : js/src/tests/ecma_5/strict/function-name-arity.js => js/src/tests/ecma_5/strict/function-name.js
2011-06-18 00:55:55 +02:00
Luke Wagner
c172a0e45a Fix test added by a5a8d503df69; apparently Proxy.fix is only available in debug builds (r=burning)
--HG--
extra : rebase_source : a39bd49833096b0db4baeb9b9ce5af98b3914e23
2011-06-17 17:34:09 -07:00
Paul Biggar
0c642e1a65 No bug: Remove js.mdp, which is some kind of Visual Studio thing (r=luke)
I accidentally overwrote this in March, and no-one has since complained, so
this is clearly useless.
2011-06-17 17:16:58 -07:00
Luke Wagner
9187bca801 Bug 664951 - Weaken CallJSNativeConstructor again (r=waldo) 2011-06-17 16:51:52 -07:00
Luke Wagner
0ef72d4736 Bug 663789 - InvokeSessionGuard needs to do a better job resetting the call frame (r=waldo) 2011-06-17 16:51:05 -07:00
Luke Wagner
be687431b6 Bug 660734, part 2 - Add back a ContextAllocPolicy that calls cx->malloc_ and use it in StringBuffer so that the new string's bytes are counted by the GC (r=igor)
--HG--
extra : rebase_source : a9e677e80574352125c93a7a3d775ef20303c551
2011-06-17 10:14:30 -07:00
Luke Wagner
d120c17229 Bug 660734, part 1 - s/ContextAllocPolicy/TempAllocPolicy/ since it doesn't call cx->malloc_ (r=igor)
--HG--
extra : rebase_source : 7ea0d6a7ed86a9c561efdd2d7b93623ea37c5b90
2011-06-17 10:11:33 -07:00
Igor Bukanov
0d48cdc3a6 bug 664677 - initializing number and script state when creating the runtime. r=anygregor
--HG--
extra : rebase_source : 7e16c8649723bb67205343c0c7cf230e7e04a8c0
2011-06-16 11:42:35 +02:00
Brendan Eich
a4caa74fea Object.getOwnPropertyNames considers enumerable getter inherited properties as own (636989, r=jorendorff/gal). 2011-06-17 00:01:21 -07:00
Dave Herman
e81d952262 Reflect.parse() stack overflow (bug 632024, r=jorendorff) 2011-06-16 23:27:26 -07:00
Craig Topper
463f240bed Bug 664667: Fix operator precedence issue in JSObject::slotsAndStructSize, r=jorendorff 2011-06-15 21:17:42 -07:00
Nikhil Marathe
6e753ee711 Bug 664577 - Make sure non-SpiderMonkey users don't require knowledge about JSObject when using ArrayBuffers. r=mrbkap 2011-06-16 15:46:39 -04:00
Blake Kaplan
d3d31d714a Backed out changeset 8b3dc129aed8. Missing bug number in the commit (bug 664577). 2011-06-16 16:57:51 -04:00
Nikhil Marathe
4600bb18b1 Make sure non-SpiderMonkey users don't require knowledge about JSObject when using ArrayBuffers. r=mrbkap 2011-06-16 15:46:39 -04:00
Kyle Huey
a47384ceb8 Bug 613066: Update structured clone algorithm to the latest spec. r=jorendorff 2011-06-16 11:22:37 -07:00
Andrew McCreight
b72cdbccf6 Bug 653248 - Mark any weak references reachable from XPCOM gray, not black. r=gal 2011-06-15 10:55:58 -07:00
Jeff Walden
0d557b47fe Bug 655192 - Update the initSharingEmptyShape comment to be more precise about what it requires of the provided proto, to avoid mentioning js_InitClass. r=jorendorff
--HG--
extra : rebase_source : 7008073db608db3f83ee31f9a7798f67ccc8d4b5
2011-05-09 13:06:52 -07:00
Jeff Walden
841d0bfb68 Bug 655192 - Declare variables as late as possible in js_InitXMLClass. r=jorendorff
--HG--
extra : rebase_source : 13cf4e90f5f6dc549ef1500cc91cb9507ce47d90
2011-05-04 16:54:24 -04:00
Jeff Walden
e1ddc27f16 Add a test for loose equality between Date objects and booleans. r=itsatest
--HG--
extra : rebase_source : daa612d30395f006b34795e967514a0ac07ee67d
2011-06-13 21:49:58 -07:00
Jeff Walden
f62341b01f Bug 663245 - Reduce exposure of jsbool.h, jsiter.h, and jsstr.h outside the JS engine to ding compile time less when they're touched. r=jimb
--HG--
extra : rebase_source : 426b168d126099956836c73cd082860bfc77f578
2011-06-10 11:44:16 -07:00
Jeff Walden
48176c74e2 Bug 470791 - Adjust prmjtime.cpp PRMJ_Now code to be more readable, and not just a direct translation of JSLL_* macros. r=jimb
--HG--
extra : rebase_source : a82ba7183aeb4c1a3dbbc199b465e0eef651ba9f
2011-06-09 01:13:17 -07:00
Jeff Walden
3b373ca621 Bug 470791 - Remove all users of the long-obsolete JSLL_* macros. r=jimb
--HG--
extra : rebase_source : 106b723b49d54dcd86ec67eaa50ca919bc8e5845
2011-06-09 01:13:03 -07:00
Jeff Walden
c4d955c11a Bug 662946 - Remove various headers from INSTALLED_HEADERS that shouldn't be there. r=jimb
--HG--
extra : rebase_source : a6028a859cac4625ef2f3227ce0fa3159b5e8556
2011-06-09 01:12:21 -07:00
Jeff Walden
2872d0dfd3 Bug 663547 - Make ecma_5/Object/* not dog-slow any more by disabling a particularly expensive assertion when they run. r=luke
--HG--
extra : rebase_source : c287c56c37c971eb9967e297602cf1e2c43ef017
2011-06-14 18:39:53 -07:00
Dave Herman
579efb6069 disallow yield and arguments in generator expressions (bug 634472, r=cdleary) 2011-06-16 08:20:18 -07:00
Luke Wagner
969edaae87 Bug 648438 - Don't assert about js_ReconstructStackDepth for imacros since apparently this only works for imacros in the top stack frame (r=jwalden)
--HG--
extra : rebase_source : a7059021f02113b41214080e4ec6a4fe5210c4a5
2011-06-16 08:14:19 -07:00
Nicholas Nethercote
642276f276 Bug 571249 - Add memory reporters for JSScripts, non-fixed object slot arrays, and string chars. r=igor. 2011-06-16 13:01:04 +10:00
David Anderson
012fd6ce4c Make alloc policy realloc() easier to implement (bug 664353, r=luke). 2011-06-15 18:11:59 -07:00
Brendan Eich
029df9a3ef Inherited non-configurable accessor properties mis-reported as own properties (637994, r=jwalden). 2011-06-14 23:48:59 -07:00
Brendan Eich
5cfae60d59 No else after return. 2011-06-14 19:32:33 -07:00
Jim Blandy
10db00cf8a Bug 660039: Provide a WeakMap usable from C++. r=jorendorff
Remove WeakMap class; implement the JavaScript object using functions static to jsweakmap.cpp.

Define a new WeakMap class template, parameterized by Key and Value types,
and accepting a MarkPolicy argument saying how to mark them.

Add assertions to check that we check and set the right mark bits, and
tests that trip them in the presence of mistakes in earlier revisions of
this patch.
2011-06-14 19:21:47 -07:00
Jim Blandy
add4733d5f Bug 661567: Use RuntimeAllocPolicy in JS WeakMap objects, not ContextAllocPolicy. r=jorendorff 2011-06-14 19:21:47 -07:00
Jim Blandy
86986ab2b0 Bug 661567: Implement RuntimeAllocPolicy, providing proper memory accounting in GC'd objects that live longer than a JSContext. r=luke 2011-06-14 19:21:47 -07:00
Jim Blandy
f2e2c9dc31 Bug 661567: Use ObjectValueMap typedef name where appropriate. r=gal 2011-06-14 19:21:47 -07:00
Luke Wagner
517fd9bb44 Bug 664159 - Fix eval-in-frame crash (r=waldo) 2011-06-14 17:35:19 -07:00
Nikhil Marathe
aef42c184e Bug 656519 - Add an interpreter fast-path for getting length from a typed array. r=mrbkap
--HG--
extra : rebase_source : b2d583778e14877cb0e01f0739d08cd31dc9c757
2011-06-14 15:35:54 -04:00
Nikhil Marathe
0f8a933fd5 Bug 656519 - Do a small size optimization for arraybuffer objects, possibly avoiding a second malloc entirely for small array buffers. r=mrbkap
--HG--
extra : rebase_source : 2dcaee6b42f47dafcfbb866a45ed2452f029a253
2011-06-14 15:34:06 -04:00
Nikhil Marathe
8ca5ee1b2a Bug 656519 - Avoid a malloc (and a finalizer) by storing the malloc'd array in our slots instead of in a separate malloc'd structure in our private field. r=mrbkap
--HG--
extra : rebase_source : 791ede2d8db96f56e4ef8478d491aec413d3e392
2011-06-14 15:33:11 -04:00
Chris Leary
06729060fc Avoid copy construction for paren info vector. (rs=dmandelin)
--HG--
extra : rebase_source : 659e9e5aa1946b2693645664584f98dfe068d19f
2011-06-14 11:53:14 -07:00
Michael Wu
53b677e2a1 Bug 648022: Backout bug 518230 due to startup crashes, r=igor 2011-05-16 09:20:40 -07:00
Jeff Walden
0ee427542f Bug 658069 - Rename GlobalObject::isEvalAllowed to indicate its actual meaning better. r=mrbkap 2011-06-10 11:44:16 -07:00
Jeff Walden
406e62f2df Bug 660438 - Update tracer for changed [[DefaultValue]] semantics to fall back for not-callable, not for not-primitive. r=luke 2011-05-31 11:10:19 -07:00
Jeff Walden
7589c39be1 Bug 646129 - [[DefaultValue]] on Date objects is wrong when called with no hint. r=luke 2011-04-01 15:24:21 -07:00
Jeff Walden
054bd60a95 Bug 645464 - js::ClassMethodIsNative doesn't return false when the object has a property of the given name which isn't the specified native method. r=luke
--HG--
extra : rebase_source : a9c6944975bec3b155dc537733643e0faa5f6b0b
2011-03-28 19:27:14 -07:00
Jeff Walden
da74ec69fe Remove the unused js_CoerceArrayToCanvasImageData. rs=luke
--HG--
extra : rebase_source : 040d3f596b2dcc1fa38c77d9cf16c484e252a243
2011-06-09 01:12:28 -07:00
Jeff Walden
6f80e10e6c Bug 663331 - Make U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR match the LineTerminator production when parsing code. r=njn
--HG--
extra : rebase_source : 9d6c02d03a5631e90b06fed4394d3867e5a29d5f
2011-06-10 11:22:06 -07:00
Jeff Walden
dae3ca83d2 Bug 663300 - Treat \u not followed by four hexadecimal digits, or \x not followed by two hexadecimal digits, as syntax errors in string literals. r=njn
--HG--
extra : rebase_source : 78f37bc91e44598ba99c1983b65b8627bed876b5
2011-06-10 11:21:57 -07:00
Jeff Walden
4844bb5c24 Bug 662231 - Stop installing the jsnum.h header (again). r=jimb
--HG--
extra : rebase_source : 23bfbf1d8d10ed3efd501338b65e509b1344ae26
2011-06-08 16:50:23 -07:00
Chris Leary
0f3ac4a82b Merge mozilla-central and tracemonkey. 2011-06-13 10:00:23 -07:00
Ted Mielczarek
b9712b1eab merge m-c and b-s 2011-06-13 09:09:43 -04:00
Ed Morley
8aaddd0334 Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Daniel Holbert
0bff5de53f Bug 662086: Convert recently-added comment in jsval.h to be C-style, to fix build warning. r=mrbkap DONTBUILD 2011-06-11 17:28:48 -07:00
Ms2ger
8915f62d3b Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv 2011-06-11 09:52:24 +02:00
Chris Leary
fabe8fa157 Bug 660453: Proper regexp bytecode deallocation. (r=dmandelin) 2011-06-09 14:48:03 -07:00
Ted Mielczarek
655b21063e merge m-c to b-s 2011-06-10 12:58:21 -04:00
Nicholas Nethercote
a576e69b6d Bug 662963 - Add JSString::charsHeapSize(). r=luke. 2011-06-09 09:20:12 +10:00
Jim Blandy
6634d5e6d3 Bug 599764: Define jsval in terms of a type we control, not a type defined, depending on circumstances, by either NSPR or our own headers. r=luke 2011-06-08 12:14:58 -07:00
Jim Blandy
f9bd757b4a Bug 662836: Don't require JS_EvaluateUCScriptInStackFrame to be able to extend call objects that the bytecode compiler didn't expect to be extensible. r=dvander 2011-06-08 12:10:39 -07:00
Makoto Kato
11f9f13192 Backed out changeset c25968f1f4f0 2011-06-08 15:56:43 +09:00
Makoto Kato
0b7fb8df23 Bug 635617 - 64-bit crash [@ MakeDay]. r=jwalden 2011-06-08 10:41:37 +09:00
Kyle Huey
82027de2b8 Fix MSVC warning. 2011-06-07 17:17:30 -07:00
Blake Kaplan
995b2c989e Bug 662114 - Don't use DummyFrameGuard directly to avoid Windows DLL-linkage warnings. r=luke
--HG--
extra : rebase_source : 8ef14ff1cecaa7f426adc55b3a1ad205f00d0b8c
2011-06-07 19:43:18 -04:00
Brendan Eich
bfa9aacd1f Strict mode early error (strict option warning) on assignment to declared const (383902, r=jwalden). 2011-06-07 16:24:33 -07:00
Steve Fink
62a01b2607 Bug 637393 - Give JSScript control over the lifetime of JSPCCounters, to allow freeing with cx (r=dmandelin)
--HG--
extra : rebase_source : 9e94ec8506bc3aac28c1dd0ef5b9047e33ff6e8d
2011-06-06 16:48:20 -07:00
Kyle Huey
f363a1dc43 Merge m-c to b-s. 2011-05-31 15:29:32 -07:00
Jonathan Protzenko
b7d8aa0bbc Bug 658351 - Add extra assertions to jsval.h to check for malformed JSBools r=mrbkap 2011-05-31 20:18:21 +02:00
Mitchell Field
c1eec06aa3 Merge mozilla-central to build-system. 2011-05-29 14:10:30 +10:00
Blake Kaplan
d817ad2114 Disable this test on Android as well since it's broken in Electrolysis. r=vingtetun 2011-05-24 11:21:42 +02:00
Ed Morley
5861162dc0 Bug 591611 - Clean up FIREFOX_VERSION handling; r=khuey 2011-05-28 14:33:07 +02:00
Ms2ger
86b93bb1ab Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz 2011-05-28 09:43:57 +02:00
Ms2ger
e5cf1395fc Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Michael Wu
028badbed1 Backed out changeset eaa69ae330ab (bug 592943) for extensions bustage 2011-05-28 00:15:25 -07:00
Mitchell Field
12645b96f1 Merge mozilla-central to build-system. 2011-05-15 16:07:45 +10:00
Masatoshi Kimura
5743297c1f Bug 508905 - /Zc:wchar_t- is no longer required 2011-05-12 12:02:54 +00:00
Steve Fink
234e978ea9 Bug 637393 - Add a -D option to the shell to disassemble all scripts, with per-op per-runmode execution counts, at shutdown
--HG--
extra : rebase_source : da191562758eb5dc64e76be79d55a09153cce391
2011-05-10 11:26:39 -07:00
Steve Fink
fa5dea8080 Bug 637393 - Add JS_DumpProfile, JS_DumpAllProfiles to disassemble one or all scripts' along with execution counts of each op
--HG--
extra : rebase_source : 58afddcf73ded6505fabe3ef42495faa5cb6915a
2011-05-10 11:26:39 -07:00
Steve Fink
9aeaace01a Bug 637393 - Add an option to count number of executions of each JSOp, broken down by "run mode" (method JIT/trace JIT/interpreter)
--HG--
extra : rebase_source : ba9a916197f8c2e449b3096f1c31fe2b154feef4
2011-05-10 11:26:39 -07:00
Luke Wagner
2afe24d969 Bug 656462, part 4 - Simplify stack code, keep track of native calls, create new iterator over native/scripted callstack, make JS_SaveFrameChain fallible (r=waldo,mrbkap)
--HG--
extra : rebase_source : 756a640568464d11fe6bb00104a2fdb6f6d02d02
2011-05-13 08:56:26 -07:00
Luke Wagner
749dfad05a Bug 656462, part 3 - Syntactic touchups (r=waldo)
--HG--
extra : rebase_source : 7a81c352a96b9e23fc8f7bee5cb1d095c5cdb998
2011-05-24 16:08:40 -07:00
Luke Wagner
801d31e1f4 Bug 656462, part 2 - Merge ContextStack::get* and push* operations (r=waldo)
--HG--
extra : rebase_source : bdc7a7ba9ee21435a20e77bf6cea8c4d34a840c9
2011-05-24 16:04:18 -07:00
Luke Wagner
de38701887 Bug 656462, part 1 - Remove StackSegment::initialVarObj (r=waldo)
--HG--
extra : rebase_source : 54ae58bec51c4c7fcc58db2148167be828dda8a3
2011-05-24 15:05:30 -07:00
Jeff Walden
38a2aa8233 Bug 662001 - Move js::RangeCheckedPointer<T> to mozilla::RangedPtr<T>, make it no longer implicitly convert to T*, and adjust users accordingly. r=cjones 2011-06-06 11:02:34 -07:00
Jeff Walden
eb44105205 Bug 657367 - Don't attempt to use the JSON parser to fast-path eval if the eval code contains either U+2028 or U+2029, which JSON permits within strings but which JavaScript doesn't permit in strings. (In case you missed it, this means that there's no subset relationship between JavaScript and JSON. (!)) r=njn
--HG--
extra : rebase_source : 5dfa4da6ec6b2238bc6e0e36bc349c9fabcbfd19
2011-06-03 16:53:31 -07:00
Nicholas Nethercote
c01ec8d3e6 Bug 645598 - Trim last bits of fat from the scanner, part 3 of 3. r=jwalden. 2011-06-07 13:48:55 +10:00
Nicholas Nethercote
1bafe318a4 Bug 645598 - Trim last bits of fat from the scanner, part 2 of 3. r=jwalden. 2011-06-07 13:48:21 +10:00
Nicholas Nethercote
781a158085 Bug 645598 - Trim last bits of fat from the scanner, part 1 of 3. r=jwalden. 2011-06-07 13:47:12 +10:00
Paul Biggar
619680dda0 Bug 660681: Add NULL check to LeaveFunction (r=jimb) 2011-06-06 14:24:11 -07:00