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
Paul Biggar
e477ffaed6
Bug 660670: Report an error on OOM in Parser::analyzeFunction (r=jimb)
2011-06-06 14:24:11 -07:00
Paul Biggar
bb5db9ae57
Bug 660638: Add NULL check to Compiler::compileScript (r=jwalden)
2011-06-06 14:24:10 -07:00
David Mandelin
c76817cb26
Bug 662165: fix MSVC warning
2011-06-06 13:36:57 -07:00
Chris Leary
511f5c9006
Followup fix for merge, fix ifdef directive.
2011-06-06 09:58:15 -07:00
Chris Leary
b1d3530553
Merge mozilla-central to tracemonkey.
2011-06-06 09:41:22 -07:00
timeless@mozdev.org
fd209390e5
Bug 620182 [@ QuoteString | DecompileSwitch] when JSVAL_IS_DOUBLE(key) and SprintDoubleValue fails due to oom
...
r=jorendorff
2011-06-03 08:57:00 -07:00
Ed Morley
8b537ea0b4
Bug 316661 - Remove null-checks before delete: Part B; r=pbiggar,brendan,bzbarsky
2011-06-01 03:07:00 -07:00
Alon Zakai
6946b2b4af
Bug 644241 followup for compiler warning
2011-06-03 18:13:47 -07:00
Alon Zakai
65a404b13d
Bug 644241, part 2: Disabling OOMing tests. r=igor
2011-06-03 17:54:30 -07:00
Alon Zakai
827e2b7c67
Bug 644241, part 1 - Remove script stack quota. r=igor
2011-06-03 17:54:26 -07:00
Chris Leary
1385ee75b6
Bug 576828: Test self-referential backreference. (r=dmandelin)
...
--HG--
extra : rebase_source : 42b9319d8e9c5ae48a04e8f9e099ee2ea8d93294
2011-06-03 16:36:42 -07:00
Chris Leary
afa776f327
Bug 661770: Avoid call overhead atomizing from js_AtomizeChars. (r=njn)
...
--HG--
extra : rebase_source : 0bcacc47c6171886e6d200c1de093df5aa326e8d
2011-06-03 15:36:07 -07:00
Chris Leary
e5029c26e6
Bug 661770: Make shell's compile builtin compile-and-go. (r=dvander)
...
--HG--
extra : rebase_source : d6ad31d173ff1b4c115957db23af034d3cee7ba2
2011-05-31 20:38:02 -07:00
Bill McCloskey
f0333b1dd8
Bug 660778 - Deal with stack overflow in UnmarkGrayChildren (r=gal)
2011-06-03 13:08:21 -07:00
Nicholas Nethercote
5270309d78
Bug 546477 - add explicit/js/stack memory reporter. r=luke.
2011-06-02 19:40:57 -07:00
Phil Ringnalda
f4a9b1d48b
Interim bug 660497 bustage fix, use $(OS_TARGET) until ANDROID is usable as a makefile define
2011-05-28 20:25:30 -07:00
Luke Wagner
2600c726fe
Dial down recursion in new test added by abd2dcd555f4 so as to not chew up so much C stack when the mjit is disabled (r=orange)
2011-06-02 18:39:48 -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
Luke Wagner
a0b946dbbc
Bug 656171 - Just remove this mutual subsumption assertion; with document.domain it's not strictly true (r=mrbkap)
...
--HG--
extra : rebase_source : 78247eba80e9196c929d9136273557faa717407c
2011-06-02 16:35:31 -07:00
Bill McCloskey
89bc80293c
Fix jstest timeouts caused by patch for bug 650978
2011-06-02 15:07:01 -07:00
Gregor Wagner
61bb363333
Bug 660329 - GC: add reason for GC to GCTimer. r=igor
2011-06-02 13:02:21 -07:00
Brian Hackett
f228474a64
Fix bug 650673, r=dmandelin.
2011-06-02 12:22:39 -07:00
Igor Bukanov
8f3b3b9a9e
bug 656261 - followup to fix compilation warning
2011-06-02 19:36:59 +02:00
Paul Biggar
72c3fcdf60
Bug 660668: Fix Shape::search() assertion after OOM (r=nnethercote)
...
Shape::search() assumes hasTable() will be false if Shape::search() OOMs - make it so.
2011-06-02 10:06:36 -07:00
Paul Biggar
d954bf0b26
Bug 660630: Only error once in OOM in NewCompartment (r=igor)
2011-06-02 10:06:36 -07:00
Paul Biggar
daef7ba1e0
Bug 660610: Don't double-free execAlloc_ after OOM. (r=nnethercote)
2011-06-02 10:06:36 -07:00
Rafael Ávila de Espíndola
d54e9772d2
b=661145, r=bsmedberg Move the function declarations passed to AC_TRY_COMPILE out of the body of main.
2011-06-03 16:34:42 -04:00
Mike Hommey
a4f1cf3368
Bug 626035 - Modify the way arm compiler flags are set in configure. r=ted
2011-06-03 01:49:28 +02:00
Mike Hommey
5499a5672d
Bug 658251 - Fix MK{,C}SHLIB when using wrap-malloc. r=ted
2011-06-03 01:27:07 +02:00
Igor Bukanov
b069a3b46a
bug 656261 - better GC arena layout. r=wmccloskey
2011-05-19 21:01:08 +02:00
Bill McCloskey
ebcdca5a0d
Bug 650978 - Add gczeal setting to GC on every allocation (r=gwagner)
2011-06-01 17:48:52 -07:00
Bill McCloskey
9a7e3e93e0
Bug 652985 - Use off-the-books malloc in DumpHeap (r=pbiggar)
2011-06-01 17:48:02 -07:00
Makoto Kato
3d39ca35bd
Bug 660591 - Bug 625600 causes bustage on Win64. r=dmandelin
2011-06-01 14:05:36 +09:00
Justin Lebar
d9adce3739
Bug 660930 - Force InlineGetProp to be inlined. r=dmandelin
2011-05-31 19:57:36 -04:00
Igor Bukanov
3358c73657
bug 660430 - do not call the security manager during GC-marking of GC wrappers. r=gal
2011-05-30 21:36:16 +02:00
Luke Wagner
f7b558eb7e
Fix jit_test.py so that -g works again (rs=dmandelin)
2011-05-27 18:19:14 -07:00
Gregor Wagner
d55bcb3667
Bug 658041 - Stack based marking for JSRopes. r=igor
2011-05-27 15:17:47 -07:00
David Mandelin
d19eb2bbb6
Remove some stray Ctrl-M characters
2011-05-27 14:05:05 -07:00
timeless@mozdev.org
a1376de1b2
Bug 619794 DECOMPILE_CODE leaks xval on failure in Decompile
...
r=jorendorff
2011-05-27 10:58:28 -07:00
timeless@mozdev.org
b251d90d41
Bug 620251 js_CurrentThread and friends should have AndLockGC in their name
...
r=jorendorff
2011-05-27 10:58:26 -07:00
timeless@mozdev.org
c2bd5844c1
Bug 621153 Add JS_ALWAYS_TRUE markers to ValueToNumber() for cases where it should be so
...
r=jorendorff
2011-05-27 10:58:22 -07:00
Jan de Mooij
e045088f68
Bug 624298 - Add an IC for JSOP_CALLNAME. r=dvander
2011-05-27 13:56:11 +02:00
Luke Wagner
e591524e90
Bug 656490 - Fix direct-eval assert (r=dmandelin)
2011-05-26 17:23:21 -07:00
David Mandelin
0101f388cf
Bug 656282: Remove redundant declaration that causes an MSVC warning, r=luke
...
--HG--
extra : rebase_source : 42c6e9594f36fd7320bdea90fdb01c955bf07f4d
2011-05-16 16:17:19 -07:00
Chris Leary
3df1dd05de
Bug 657537: clean up jschar inflation/deflation. (r=Waldo)
2011-05-26 15:50:05 -07:00
Jim Blandy
1087242888
(no bug): Fix comments referring to allocation policies defined in jstl.h --- they're now in jsalloc.h.
2011-05-26 10:55:58 -07:00
Luke Wagner
29525f3ca5
Bug 659462 - remove no-op JS_ClearNewbornRoots and uses in xpconnect (r=mrbkap)
2011-05-13 08:56:25 -07:00
Paul Biggar
e05aaf6a51
Bug 634711 - Use nanojit::BitSet instead of avmplus::BitSet. r=nnethercote.
2011-05-25 22:47:49 -07:00
Nicholas Nethercote
0084ee0d28
Update nanojit-import-rev stamp.
2011-05-25 20:32:19 -07:00
Nicholas Nethercote
9abb109d24
Bug 634711: add BitSet::resetAndAlloc(). r=pbiggar.
...
--HG--
extra : convert_revision : 8eec2117b714ec754c483b681acb3737f63b994c
2011-05-25 19:46:02 -07:00
Makoto Kato
0ac1028c28
Bug 576247 - asm_stkarg not implemented for x86_64. r=edwsmith
...
--HG--
extra : convert_revision : 6176f4f11b273ddde0de661a2c2de0d2219515b2
2011-05-25 17:37:27 +09:00
Paul Biggar
f8dfb5b3c5
Bug 634711 - Remove BitSet implementation from avmplus.h, because it's a duplicate of the one in Containers.h. r=nnethercote.
...
--HG--
extra : convert_revision : 8bf26319d7f15c6d22d69557d8b6d95ff65cd381
2011-05-23 21:47:43 -07:00
Ed Morley
884792245a
Bug 656017 - Re-remove WinCE ifdef from js/src/vprof/vprof.cpp (was incorrectly added by bug 644900). r=jorendorff.
...
--HG--
extra : convert_revision : b6b89f27651adcc38be57ef25357ccc1d2e9ea8e
2011-05-23 21:13:06 -07:00
William Maddox
582567e523
Bug 658389 - Make sure branch and delay slot remain contiguous in function epilogue [chris@mips.com] (r=wmaddox)
...
--HG--
extra : convert_revision : 9ffbe7d3623c705593139412b82a79ba87786d08
2011-05-23 11:46:21 -07:00
Jacob Bramley
c00c1169d0
When NJ back-tracks _nIns in the ARM back-end, back-track _nInsAfter too. [bug 658526] [r=nnethercote]
...
--HG--
extra : convert_revision : 070ac9dc74702ec0658384b0ec2c44cfe10d3fdd
2011-05-23 11:37:47 +01:00
Rick Reitmaier
772ba657f0
Bug 609393 - resourceConsistencyCheck x87 stack assert can fire (r+wmaddox)
...
--HG--
extra : convert_revision : 87a15611dc195b0f520299c6f5f317f779eb31ba
2011-05-20 16:01:11 -07:00