Commit Graph

14751 Commits

Author SHA1 Message Date
Nicholas Nethercote
3d7ea7b395 Bug 661474 - Add per-compartment memory reporters. r=wmccloskey, dolske. 2011-06-30 15:44:17 +10:00
Kyle Huey
056c645035 Bug 667652: Add a JS_FRIEND_API to get at the current offset in a structured clone buffer. r=jorendorff. 2011-06-29 12:09:15 -07:00
Ted Mielczarek
cc36c6b004 merge mozilla-central and build-system 2011-06-29 09:42:11 -04:00
Ted Mielczarek
fe1a94b3cf bug 664197 - bustage fix, sync js/src/config 2011-06-28 08:32:29 -04:00
Kyle Huey
6306507768 Bug 515492: Make jemalloc work on VS 2010. r=ted,pbiggar 2011-06-27 12:44:51 -07:00
Kyle Huey
ecb9c8319d Merge b-s to m-c 2011-06-25 10:13:14 -07:00
Ehsan Akhgari
b485786497 Merge mozilla-central into mozilla-inbound 2011-06-24 21:17:16 -04:00
Kyle Huey
cc6d5e1c20 Bug 665969: Make C4553 fatal. r=ted 2011-06-24 07:22:35 -07:00
Kyle Huey
2abb32fe43 Backed out changeset dd46aab5d8aa 2011-06-24 10:14:24 -07:00
Joey Armstrong
c1df99116b Bug 661885: Followup to placate check-sync-dirs.py. r=khuey 2011-06-24 09:23:15 -07:00
Marco Bonardo
acc6a474c6 Revert to changeset a87ee7550f6a due to incomplete backout 2011-06-24 17:23:04 +02:00
Kyle Huey
ab0723ab13 Bug 665969: Make C4553 fatal. r=ted 2011-06-24 07:22:35 -07:00
David Anderson
56ac2a8214 Fix ARM assert (no bug, r=cdleary). 2011-06-24 00:22:58 -07:00
Jonas Sicking
6c4113f213 Bug 658714 Part 2: Merge nsIDOMNSEventTarget into nsIDOMEventTarget. r=smaug 2011-06-23 19:17:59 -07:00
Igor Bazarny
39a01edf21 bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Ehsan Akhgari
f742585a1f Merge mozilla-central into mozilla-inbound 2011-06-22 20:19:47 -04:00
Matheus Kerschbaum
8a21fc0886 Bug 662000 part 2: Remove XPC_IDISPATCH_SUPPORT from the build-system and XPConnect. r=mrbkap
--HG--
extra : rebase_source : c456802fe36eef1e49381be996dbbdf820781206
2011-06-22 11:56:47 -04:00
Matheus Kerschbaum
8ce2e316c8 Bug 662000 part 1: Remove interfaces and tests. r=mrbkap
--HG--
extra : rebase_source : bb144170f64b1a46fc1e39dc97221b3e1734ae7a
2011-06-22 11:56:04 -04:00
Jonas Sicking
caef7c47a8 Bug 661980: Add ability to make interfaces scriptable but not scriptimplementable. r=bsmedberg 2011-06-16 12:21:25 -07:00
Luke Wagner
3f185cc410 Bug 15529 - Add missing copyright boilerplate to files in js/src, remove dead files (r=brendan,graydon,jimb)
--HG--
rename : js/src/perfect.js => js/src/tests/js1_1/regress/perfect.js
2011-06-21 10:26:22 -07:00
Ehsan Akhgari
73e4f8616d Backout changeset 5fe20ec0229c (bug 15529) because it breaks jsreftests 2011-06-21 18:52:32 -04:00
Luke Wagner
0e59a6d626 Bug 15529 - Add missing copyright boilerplate to files in js/src, remove dead files (r=brendan,graydon,jimb)
--HG--
rename : js/src/perfect.js => js/src/tests/perfect.js
2011-06-21 10:26:22 -07:00
Chris Leary
7922cf2289 Merge mozilla central and tracemonkey. 2011-06-20 16:49:20 -07:00
Gregor Wagner
08eca5db6e Bug 656120 - Change MaybeGC trigger. r=igor 2011-06-20 14:44:26 -07:00
Ehsan Akhgari
38dc29243c Merge the last green changeset on mozilla-inbound to mozilla-central 2011-06-20 16:06:04 -04:00
Jesse Ruderman
93544312de Add crashtest from bug 603146 2011-06-20 11:42:05 -07:00
Jesse Ruderman
35e087a1de Add crashtest from bug 601284 2011-06-20 11:42:05 -07:00
Jesse Ruderman
7f7c03f6d7 Add crashtest from bug 616930 2011-06-20 11:42:05 -07:00
Landry Breuil
4b1dcd4660 Bug 665040: "-not" is not a POSIX-compliant argument to find. Use "!" (r=khuey) 2011-06-17 15:48:00 -07:00
Rafael Avila de Espindola
ddc2ddc4ac Bug 641232 - Make HAS_XCODE_2_1 detection compatible with Xcode 4 - Remove unused configure bits. r=khuey 2011-06-20 10:40:58 +01:00
Paul Biggar
9fbd2b1e02 Bug 649939: Prevent crash from too much recursion in Iterator.prototype.next() (r=jwalden) 2011-06-16 17:00:31 -07:00
Luke Wagner
de6d0e2330 Bug 665189 - hoist JSString and family into vm/String{.h, -inl.h, .cpp} (r=njn) 2011-06-20 11:44:20 -07:00
Ehsan Akhgari
0b938f2384 Bug 662969 - Silence the clang warnings issued because of alignment requirements increase when compiling jsparse.h; r=Waldo
--HG--
extra : rebase_source : 8286bd6fd8a82d855c95d8a1ded01b54d73ba5a1
2011-06-17 15:59:47 -04:00
Ehsan Akhgari
8e90994c37 Bug 662964 - Silence the clang warnings issued because of alignment requirements increase when compiling jscntxt.h; r=Waldo
--HG--
extra : rebase_source : ec398625623f3cafd7c4373a85b099024ba05183
2011-06-17 15:59:47 -04:00
Ehsan Akhgari
4669405867 Bug 662962 - Silence the clang warnings issued because of alignment requirements increase when compiling jsscript.h; r=Waldo
--HG--
extra : rebase_source : 0aa530499bf3961b372a24a1a98d949a81ee2065
2011-06-17 15:59:47 -04:00
Ehsan Akhgari
940b078fd2 Bug 662961 - Silence the clang warnings issued because of alignment requirements increase when compiling jsstr.cpp; r=Waldo
--HG--
extra : rebase_source : 984f986f3de6c92cdb45cadeff40bc84b36406ca
2011-06-19 17:04:48 -04:00
Nicholas Nethercote
4cc5c61803 Bug 664647 - Work around MSVC 2005 PGO bug in GetJSObjectSlotsCallback and friends. r=khuey. 2011-06-20 09:01:37 +10:00
Igor Bukanov
b64bc1fb04 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
3f1b66195e Backout bug 653248 due to bug 667011 2011-06-15 10:55:58 -07:00
Andrew McCreight
9ad333dda5 backing out patch for bug 653248 due to bug 667011 2011-06-15 10:55:58 -07:00
Ehsan Akhgari
d6b4429b37 Merge mozilla-central and mozilla-inbound 2011-06-28 18:43:09 -04:00
Joe Drew
770bb721ef Merge m-c to m-i 2011-06-28 12:21:04 -04:00
Joe Drew
952b32c999 Merge last green changeset from mozilla-inbound to mozilla-central. 2011-06-28 12:11:31 -04:00
Kyle Huey
a5cab656de Merge b-s to m-c. 2011-06-28 08:54:26 -07:00
Chris Leary
31076ac1d6 Merge mozilla-central and tracemonkey. 2011-06-27 11:07:22 -07:00
Igor Bukanov
ba5e71d38e bug 666091 - custom file for GCTIMER output. r=anygregor 2011-06-22 14:33:39 +02:00
Jeff Walden
55a71f2ebf Style patrol followup to bug 665835. r=consistency
--HG--
extra : rebase_source : fe11c9f93246357209608ef6db85f2c147eb1b61
2011-06-24 14:36:13 -07:00
Chris Leary
a71d61104b Followup for bug 649576 GCC 4.3.3 warning. 2011-06-25 16:35:56 -07:00
Chris Leary
0780a149be Bug 649576: Extricate JSHashTable from JSAtomList death grip. (r=luke) 2011-06-24 14:22:30 -07:00
Paul Biggar
0e43edd30e Bug 666788: Remove JS_sscanf declaration, for which there is no definition (r=cdleary) 2011-06-24 16:12:40 -07:00
Luke Wagner
822bc8b69e Bug 666094 - InitJitFrameLatePrologue should do a better modeling generatePrologue (r=dvander) 2011-06-24 16:11:21 -07:00
David Mandelin
4c436c89cd Bug 666587: revert accidentally changed control flow in fun_getProperty, r=jwalden 2011-06-24 14:26:00 -07:00
Dave Herman
4fa36afd9e Bug 666852 - crash when yield occurs in comprehension RHS (r=cdleary) 2011-06-24 14:08:29 -04:00
Justin Lebar
169b00ccad 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
552c301b28 Fixed bug 632255: implemented FileReader.readAsArrayBuffer() API. r=sicking 2011-06-30 17:50:44 -07:00
Makoto Kato
cd7ae32ee3 Bug 635617 - 64-bit crash [@ MakeDay] r=jwalden 2011-06-08 10:41:37 +09:00
Makoto Kato
8aef16bd3b Bug 667076 - follow up for bustage on Win64. r=luke 2011-07-01 15:59:58 +09:00
Jeff Walden
0dfbe6d91b 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
d2d6ef6dd4 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
309bac37f9 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
052a90e97b Bug 665355 - Fix __proto__ recursion. r=mrbkap
--HG--
extra : rebase_source : b97d692c2318e3e071e68e2e1cec38ca9e614cb0
2011-06-29 17:41:35 -07:00
Nikhil Marathe
9a3fd541fa Bug 665914 - ArrayBuffer.prototype['byteLength'] crashes. r=mrbkap
--HG--
extra : rebase_source : 09fda2860e11457f516c3b0b0614bde7e3ff3a91
2011-06-29 17:38:10 -07:00
Blake Kaplan
4b185d0ef0 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
e9d975ff6a 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
67a675cdaa Bug 667056 - Fix when function callbacks are invoked (r=luke) 2011-06-24 17:13:19 -07:00
Steve Fink
29117f5284 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
e059ba52f5 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
5b6c00bb2a Bug 657198 - improving unreachable GC things detection in traces. r=gal 2011-05-31 10:01:09 +02:00
David Anderson
3eff122abe Fix ARM assert (no bug, r=cdleary). 2011-06-24 00:22:58 -07:00
Jeff Walden
65bb367c0c Followup to fix tests relying on the mistaken absence of JSOPTION_ANONFUNFIX. r=orange 2011-06-23 18:48:55 -07:00
Brian Hackett
485e71109e Bug 662132: Better coordination of GC and ICs, r=dvander 2011-06-23 18:19:57 -07:00
Gavin Barraclough
8ccf51f141 Bug 653672: fix regexp offset handling, r=cdleary 2011-06-20 13:31:24 -07:00
Chris Leary
4fd96c3fb4 Fix type-mismatched error return value. 2011-06-23 17:06:57 -07:00
Luke Wagner
a6f59ecb7d 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
0a61156473 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
6b92eb239e *Fewer* *occurrences*, not "less occurences". r=languagenazi 2011-06-23 11:07:27 -07:00
Dave Herman
bc5c25ed9b Bug 665286 - crash on yield in arguments list (r=cdleary) 2011-06-23 18:20:31 -04:00
Dave Herman
8d5a97dc48 Fixed broken test case (r=orange) 2011-06-23 16:40:58 -04:00
Paul Biggar
2d4fbba45a Bug 666052: Remove unused NSPR defines for events, hashtables and arenas (r=luke) 2011-06-23 13:27:04 -07:00
Luke Wagner
cf52575b1d Update 'make check' OffTheBooks/Foreground accounting for 580ad572687b 2011-06-23 10:43:31 -07:00
Jeff Walden
4d7b8eb3a6 Bug 660517 - Kill XML objects as prototypes. r=mrbkap
--HG--
extra : rebase_source : e2bf46111cab2bf97abe5a1bd8d0b25d97e8bfb9
2011-06-16 15:43:58 -07:00
Jeff Walden
0f68955900 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
0319982d42 Bug 665247 - Remove unused metering code (r=igor)
--HG--
extra : rebase_source : 78ec31e4236f63f8a91024f34b1b99a889dc47f5
2011-06-21 10:26:22 -07:00
Dave Herman
da7f1d70a8 Bug 632030 - Reflect.parse handling of duplicate var declarations (r=jorendorff) 2011-06-23 12:31:40 -04:00
Daniel Holbert
197cb3d127 Bug 666481: Remove set-but-not-used variable 'count' from jsatom.cpp. r=igor 2011-06-23 02:47:13 -07:00
Dave Herman
0e0b2db7f9 Bug 632056 - Reflect.parse() constant-folding test 2011-06-23 03:44:56 -04:00
Dave Herman
494f040003 Bug 632029 - Reflect.parse() constant-folding 2011-06-23 03:31:12 -04:00
Dave Herman
ab82a6fa38 Bug 632026 - Reflect.parse() constant folding test 2011-06-23 03:17:42 -04:00
Igor Bukanov
40d7d39db3 bug 665781 - do not shrink XML arrays during GC. r=gal 2011-06-21 12:23:14 +02:00
Luke Wagner
cdcb6ca0ba 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
6ef6e862d2 Bug 665404 - Create JaegerCompartments lazily. r=luke. 2011-06-22 09:16:23 +10:00
Bob Clary
0a168b2cf6 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
a902454a0c 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
a208fd35a9 Bug 661068 - Create TraceMonitors lazily. r=luke. 2011-06-21 12:47:04 +10:00
Peter Van der Beken
6c570f85d2 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
Craig Topper
856cbcefa4 Bug 666135 - Disable -Wcast-align when building with clang 2011-05-13 14:18:52 -07:00
Igor Bukanov
13395451ad bug 601075 - bump-allocator for GC arenas. r=wmccloskey 2011-05-11 14:46:33 +02:00
Dave Herman
7612662008 disable constant folding for Reflect.parse (bug 571617, r=jorendorff) 2011-06-18 08:45:05 -07:00
Tom Schuster
1681a326d5 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
bddfcf1535 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
abb14214f8 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
2ebc3262be Bug 664951 - Weaken CallJSNativeConstructor again (r=waldo) 2011-06-17 16:51:52 -07:00
Luke Wagner
3ca1688adf 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
135ed62f87 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
721022b341 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
973ee9f2df 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
8838f75826 Object.getOwnPropertyNames considers enumerable getter inherited properties as own (636989, r=jorendorff/gal). 2011-06-17 00:01:21 -07:00
Dave Herman
c90692005d Reflect.parse() stack overflow (bug 632024, r=jorendorff) 2011-06-16 23:27:26 -07:00
Craig Topper
bdf31b71e5 Bug 664667: Fix operator precedence issue in JSObject::slotsAndStructSize, r=jorendorff 2011-06-15 21:17:42 -07:00
Nikhil Marathe
8d1eed62d4 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
83446b873d Backed out changeset 8b3dc129aed8. Missing bug number in the commit (bug 664577). 2011-06-16 16:57:51 -04:00
Nikhil Marathe
ced65c9a25 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
a513a5e9b1 Bug 613066: Update structured clone algorithm to the latest spec. r=jorendorff 2011-06-16 11:22:37 -07:00
Andrew McCreight
94348ec6d3 Bug 653248 - Mark any weak references reachable from XPCOM gray, not black. r=gal 2011-06-15 10:55:58 -07:00
Jeff Walden
78a353366d 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
5911c8d372 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
213f565321 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
ce0eef97b4 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
199261fd22 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
d336c82cfa 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
e84bb50504 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
d913af715c 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
1d1b53860a disallow yield and arguments in generator expressions (bug 634472, r=cdleary) 2011-06-16 08:20:18 -07:00
Luke Wagner
02e7f00e45 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
a9e2ffa879 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
353ce9c4ce Make alloc policy realloc() easier to implement (bug 664353, r=luke). 2011-06-15 18:11:59 -07:00
Brendan Eich
b2a9eace38 Inherited non-configurable accessor properties mis-reported as own properties (637994, r=jwalden). 2011-06-14 23:48:59 -07:00
Brendan Eich
a2fa4d23af No else after return. 2011-06-14 19:32:33 -07:00
Jim Blandy
a282ee62d3 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
7cdc628e2a Bug 661567: Use RuntimeAllocPolicy in JS WeakMap objects, not ContextAllocPolicy. r=jorendorff 2011-06-14 19:21:47 -07:00
Jim Blandy
900b1f6059 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
fe837eb8a0 Bug 661567: Use ObjectValueMap typedef name where appropriate. r=gal 2011-06-14 19:21:47 -07:00
Luke Wagner
70b6adcc95 Bug 664159 - Fix eval-in-frame crash (r=waldo) 2011-06-14 17:35:19 -07:00
Nikhil Marathe
566af7c712 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
f96aadd8f3 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
acda759fc1 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
cb10121547 Avoid copy construction for paren info vector. (rs=dmandelin)
--HG--
extra : rebase_source : 659e9e5aa1946b2693645664584f98dfe068d19f
2011-06-14 11:53:14 -07:00
Michael Wu
8676e7fece Bug 648022: Backout bug 518230 due to startup crashes, r=igor 2011-05-16 09:20:40 -07:00
Jeff Walden
cb616455f0 Bug 658069 - Rename GlobalObject::isEvalAllowed to indicate its actual meaning better. r=mrbkap 2011-06-10 11:44:16 -07:00
Jeff Walden
d255c9a807 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
cbe8102785 Bug 654170 - Make js_InitArrayClass non-generic. r=bhackett
--HG--
extra : rebase_source : caa521424f4f491c59e0565dda258e5934a258a2
2011-05-02 14:53:24 -04:00
Paul Biggar
18dc5aa5c4 Bug 671029 (followup): Remove unused size parameter and uninitialized var warning (rs=jwalden) 2011-07-18 14:32:47 -07:00
Paul Biggar
cbfbadfaa5 Bug 671029: Ignore Byte-Order-Mark in UTF-8 files (r=jwalden)
It's legit (though pointless) to have BOMs in UTF-8 files, so we shouldn't throw a SyntaxError.
2011-07-18 14:14:33 -07:00
Luke Wagner
7338a27dd8 Bug 669044 - Undo changes to tracer assert (r=dvander) 2011-07-12 09:50:50 -07:00
Luke Wagner
56d22f93b3 Bug 669043 - Don't assert when the decompiler temporarily changes script->code (r=waldo) 2011-07-12 09:50:25 -07:00
Luke Wagner
0a7f974fb5 Bug 650618 - Make sure XML objects get a (rooted-at-global) parent (r=waldo) 2011-07-15 13:56:12 -07:00
Patrick McManus
d0453f20a5 backport 659324 664692 - prefix websocket as mozwebsocket, based on nossralf. r=sicking 2011-07-26 09:30:14 -04:00
Marco Bonardo
a132380d79 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-26 11:50:00 +02:00
Ben Turner
e499e838b2 Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap.
* * *
Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap. Add workaround for bug 666963.

--HG--
rename : dom/src/threads/Makefile.in => dom/workers/Makefile.in
rename : dom/src/threads/test/Makefile.in => dom/workers/test/Makefile.in
rename : dom/src/threads/test/WorkerTest.jsm => dom/workers/test/WorkerTest.jsm
rename : dom/src/threads/test/WorkerTest_badworker.js => dom/workers/test/WorkerTest_badworker.js
rename : dom/src/threads/test/WorkerTest_subworker.js => dom/workers/test/WorkerTest_subworker.js
rename : dom/src/threads/test/WorkerTest_worker.js => dom/workers/test/WorkerTest_worker.js
rename : dom/src/threads/test/atob_worker.js => dom/workers/test/atob_worker.js
rename : dom/src/threads/test/chromeWorker_subworker.js => dom/workers/test/chromeWorker_subworker.js
rename : dom/src/threads/test/chromeWorker_worker.js => dom/workers/test/chromeWorker_worker.js
rename : dom/src/threads/test/closeOnGC_server.sjs => dom/workers/test/closeOnGC_server.sjs
rename : dom/src/threads/test/closeOnGC_worker.js => dom/workers/test/closeOnGC_worker.js
rename : dom/src/threads/test/close_worker.js => dom/workers/test/close_worker.js
rename : dom/src/threads/test/fibonacci_worker.js => dom/workers/test/fibonacci_worker.js
rename : dom/src/threads/test/importScripts_worker.js => dom/workers/test/importScripts_worker.js
rename : dom/src/threads/test/importScripts_worker_imported1.js => dom/workers/test/importScripts_worker_imported1.js
rename : dom/src/threads/test/importScripts_worker_imported2.js => dom/workers/test/importScripts_worker_imported2.js
rename : dom/src/threads/test/importScripts_worker_imported3.js => dom/workers/test/importScripts_worker_imported3.js
rename : dom/src/threads/test/importScripts_worker_imported4.js => dom/workers/test/importScripts_worker_imported4.js
rename : dom/src/threads/test/json_worker.js => dom/workers/test/json_worker.js
rename : dom/src/threads/test/location_worker.js => dom/workers/test/location_worker.js
rename : dom/src/threads/test/longThread_worker.js => dom/workers/test/longThread_worker.js
rename : dom/src/threads/test/navigator_worker.js => dom/workers/test/navigator_worker.js
rename : dom/src/threads/test/newError_worker.js => dom/workers/test/newError_worker.js
rename : dom/src/threads/test/recursion_worker.js => dom/workers/test/recursion_worker.js
rename : dom/src/threads/test/relativeLoad_import.js => dom/workers/test/relativeLoad_import.js
rename : dom/src/threads/test/relativeLoad_sub_import.js => dom/workers/test/relativeLoad_sub_import.js
rename : dom/src/threads/test/relativeLoad_sub_worker.js => dom/workers/test/relativeLoad_sub_worker.js
rename : dom/src/threads/test/relativeLoad_sub_worker2.js => dom/workers/test/relativeLoad_sub_worker2.js
rename : dom/src/threads/test/relativeLoad_worker.js => dom/workers/test/relativeLoad_worker.js
rename : dom/src/threads/test/relativeLoad_worker2.js => dom/workers/test/relativeLoad_worker2.js
rename : dom/src/threads/test/simpleThread_worker.js => dom/workers/test/simpleThread_worker.js
rename : dom/src/threads/test/suspend_iframe.html => dom/workers/test/suspend_iframe.html
rename : dom/src/threads/test/suspend_worker.js => dom/workers/test/suspend_worker.js
rename : dom/src/threads/test/terminate_worker.js => dom/workers/test/terminate_worker.js
rename : dom/src/threads/test/testXHR.txt => dom/workers/test/testXHR.txt
rename : dom/src/threads/test/test_404.html => dom/workers/test/test_404.html
rename : dom/src/threads/test/test_atob.html => dom/workers/test/test_atob.html
rename : dom/src/threads/test/test_chromeWorker.html => dom/workers/test/test_chromeWorker.html
rename : dom/src/threads/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xul
rename : dom/src/threads/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xul
rename : dom/src/threads/test/test_close.html => dom/workers/test/test_close.html
rename : dom/src/threads/test/test_closeOnGC.html => dom/workers/test/test_closeOnGC.html
rename : dom/src/threads/test/test_errorPropagation.html => dom/workers/test/test_errorPropagation.html
rename : dom/src/threads/test/test_fibonacci.html => dom/workers/test/test_fibonacci.html
rename : dom/src/threads/test/test_importScripts.html => dom/workers/test/test_importScripts.html
rename : dom/src/threads/test/test_json.html => dom/workers/test/test_json.html
rename : dom/src/threads/test/test_location.html => dom/workers/test/test_location.html
rename : dom/src/threads/test/test_longThread.html => dom/workers/test/test_longThread.html
rename : dom/src/threads/test/test_navigator.html => dom/workers/test/test_navigator.html
rename : dom/src/threads/test/test_newError.html => dom/workers/test/test_newError.html
rename : dom/src/threads/test/test_recursion.html => dom/workers/test/test_recursion.html
rename : dom/src/threads/test/test_relativeLoad.html => dom/workers/test/test_relativeLoad.html
rename : dom/src/threads/test/test_simpleThread.html => dom/workers/test/test_simpleThread.html
rename : dom/src/threads/test/test_suspend.html => dom/workers/test/test_suspend.html
rename : dom/src/threads/test/test_terminate.html => dom/workers/test/test_terminate.html
rename : dom/src/threads/test/test_threadErrors.html => dom/workers/test/test_threadErrors.html
rename : dom/src/threads/test/test_threadTimeouts.html => dom/workers/test/test_threadTimeouts.html
rename : dom/src/threads/test/test_throwingOnerror.html => dom/workers/test/test_throwingOnerror.html
rename : dom/src/threads/test/test_xhr.html => dom/workers/test/test_xhr.html
rename : dom/src/threads/test/test_xhrAbort.html => dom/workers/test/test_xhrAbort.html
rename : dom/src/threads/test/threadErrors_worker1.js => dom/workers/test/threadErrors_worker1.js
rename : dom/src/threads/test/threadErrors_worker2.js => dom/workers/test/threadErrors_worker2.js
rename : dom/src/threads/test/threadErrors_worker3.js => dom/workers/test/threadErrors_worker3.js
rename : dom/src/threads/test/threadErrors_worker4.js => dom/workers/test/threadErrors_worker4.js
rename : dom/src/threads/test/threadTimeouts_worker.js => dom/workers/test/threadTimeouts_worker.js
rename : dom/src/threads/test/throwingOnerror_worker.js => dom/workers/test/throwingOnerror_worker.js
rename : dom/src/threads/test/xhrAbort_worker.js => dom/workers/test/xhrAbort_worker.js
rename : dom/src/threads/test/xhr_worker.js => dom/workers/test/xhr_worker.js
2011-07-17 15:09:13 -04:00
Bill McCloskey
162941e24a Bug 673625 - Add more assertions to check JSScript validity (r=dmandelin) 2011-07-25 18:05:05 -07:00
Luke Wagner
a50655bce1 Bug 673068 - Tweak HitStackQuota call to placate stack sanity assertions (r=dvander)
--HG--
extra : rebase_source : 7701b293fd87534ffbafb7a5eebca6515d17e334
2011-07-25 14:00:08 -07:00
Luke Wagner
9a53aacb21 Bug 672436 - StackIter should LeaveTrace (r=dvander)
--HG--
extra : rebase_source : 43db363cf86dfc04602239ebc9ef0d809dd689d0
2011-07-25 13:59:04 -07:00
Gregory Szorc
d9aa5a7d9a Bug 673209 - check result of egrep during mozilla-config.h generation and abort on failure r=khuey
--HG--
extra : rebase_source : f5871b4c4d7367a1b80a92a0ce87f89dca55121a
2011-07-25 12:50:00 -04:00
Luke Wagner
d897743713 Bug 657418 - Test for NULL principals in EvalCacheLookup (r=mrbkap,a=asa) 2011-07-12 14:25:07 -07:00
Jacek Caban
4d487c2381 Bug 670686 - jscrashreport.cpp fails to compile on mingw (r=wmccloskey) 2011-07-12 11:17:45 +02:00
Jacek Caban
b4a7a09171 Bug 670091 - Undefined reference to js_myfmod on mingw-w64 (r=m_kato) 2011-07-12 11:16:50 +02:00
Mounir Lamouri
42f2b3d393 Merging mozilla-central and mozilla-inbound. 2011-07-12 10:53:40 +02:00
Daniel Holbert
cf4ffeb9a2 Bug 670794: Remove unused variable 'forInLet' from jsemit.cpp. r=waldo 2011-07-12 00:11:55 -07:00
Nicholas Nethercote
579cb7bb08 Bug 669005 - Fix ArrayBuffer so its slots are reported by the "gc-heap/object-slots" reporters. r=jwalden. 2011-07-12 15:44:22 +10:00
Jonas Sicking
eb9ce9a027 Bug 669433 Part 1: Clean up File implementations by creating a storage-agnostic base class, nsDOMFileBase. r=khuey 2011-07-11 19:41:29 -07:00
Andrew Paprocki
025ec4a673 Bug 665819: build fix for ENABLE_YARR_JIT=0, r=dmandelin 2011-07-11 17:32:47 -07:00
Hannes Verschore
d75ca9c0b2 Bug 663575 - Change to emmiter to give offset to condition in srcnote of NOP instruction of do-while 2011-07-11 17:07:14 -07:00
Jeff Walden
253ed289c7 Bug 670759 - Add GlobalObject::createBlankPrototype to abstract creation of prototype objects other than Object.prototype. r=bhackett 2011-06-13 11:52:45 -07:00
Masahiro Yamada
6a432fe065 Bug 660612 - Utf8ToOneUcs4Char passes invalid UTF-8 octets '%ED%A0%80', so decodeURIComponent('%ED%A0%80') doesn't throw. r=jwalden 2011-07-05 09:38:35 -07:00
Mounir Lamouri
4c0a532e43 Merge mozilla-inbound into mozilla-central. 2011-07-11 16:18:03 +02:00
Mike Hommey
962f3c6d46 Bug 654664 - Optimize JSDOUBLE_IS_NEGZERO after bug 640494. r=jimb 2011-07-11 07:57:35 +02:00
Joel Maher
7bdc8ec066 Bug 668431 - move test_bug361111.xul to mochitest-chrome. r=Jesse, a=test-only 2011-07-09 08:35:40 -04:00
Joel Maher
1bb480875e Bug 668594 - while running reftest style tests, we seem to have a memory leak and fennec hangs. r=bc, a=test-only 2011-07-08 11:00:41 -04:00
Marco Bonardo
94da8809f7 Merge mozilla-inbound and mozilla-central 2011-07-08 11:53:56 +02:00
Michael Wu
29f0731f59 Bug 648125 - Allow caching JS loaded with loadSubScript, r=jst 2011-07-09 20:21:16 -07:00
Kyle Huey
09b3660cb3 Remove obnoxious xpcshell gc spew. No bug. rs=bent 2011-07-11 13:00:31 -07:00
Bill McCloskey
2a3d5215a6 Bug 662646 - GC topcrash diagnostics [needs backout before Aurora merge!] (r=dmandelin) 2011-07-07 17:31:24 -07:00
Bill McCloskey
b8f0545e72 Bug 662646 - Add stack snapshotting API for crash reports (r=dmandelin) 2011-07-07 17:31:18 -07:00
Boris Zbarsky
6311e0ed15 Bug 664916. Make sure that we're dealing with an element when getting tagName. r=sicking 2011-07-07 14:17:13 -04:00
Marco Bonardo
331cfdd0fa Merge mozilla-inbound and mozilla-central 2011-07-07 12:02:38 +02:00
Jesse Ruderman
aa197ffcd7 Bug 669721 - Annotate xpc::CompartmentPrivate for trace-refcnt. r=mrbkap 2011-07-06 14:53:46 -07:00
Luke Wagner
454b198b26 Fix jsapi-test and jsreftest added by 28be8df0deb7 (r=burning) 2011-07-06 13:25:16 -07:00
Luke Wagner
c9e1bf13c0 Bug 667915 - Don't let content JS consume all the stack and cause chrome JS to OOM (r=waldo,mrbkap) 2011-06-30 09:26:56 -07:00
Luke Wagner
da4f4dfcc4 Bug 668479 - Fixup old assert concerning arguments object (r=waldo)
--HG--
extra : rebase_source : bd30d76b40731cc1d09cd9ba5ee1a36812a3bbf9
2011-07-01 14:08:03 -07:00
Justin Lebar
3eced83d36 Bug 669890 - Add missing comma to js/src/shell/js.cpp. rs=bz 2011-07-07 10:24:54 -04:00
Jeff Walden
9d216339ba Bug 646129 - [[DefaultValue]] on Date objects is wrong when called with no hint. r=luke 2011-04-01 15:24:21 -07:00
Matt Brubeck
fa5f044643 Back out 32ab46a3803b (bug 588061) for Linux debug jsreftest failures 2011-07-22 14:13:22 -07:00
Ehsan Akhgari
b85c178117 Merge mozilla-central and mozilla-inbound 2011-07-22 15:51:08 -04:00
Brendan Eich
85492b7ea5 Bug 588061 - bogus initial tokenizer position (r=cdleary). 2011-07-22 12:24:00 -07:00
Blake Kaplan
732bfec8ef Fix bug 653926. r=jst
--HG--
extra : rebase_source : 617f7f486d84aa5379c541f4d3b6ae49f57e1114
2011-07-20 16:11:32 -07:00
Jim Chen
972a4f56c5 Bug 670315 - Add --enable-android-libstdcxx option for NDK5; r=khuey 2011-07-22 11:53:29 -07:00
Andrew McCreight
e64d5e1c0e Bug 655297 - Mark XPC wrapped natives used as weak map keys. r=billm 2011-07-22 09:51:51 -07:00
Bill McCloskey
27012c858d Bug 672112 - Remove PICTable optimization from tracejit (r=cdleary) 2011-07-22 09:58:25 -07:00
Jeff Walden
4641c09f96 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
eba19e34f0 Remove the unused js_CoerceArrayToCanvasImageData. rs=luke
--HG--
extra : rebase_source : 040d3f596b2dcc1fa38c77d9cf16c484e252a243
2011-06-09 01:12:28 -07:00
Jeff Walden
7f7f1141f6 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
44a8747e80 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
190c5e9bc0 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
f819c3428e Merge mozilla-central and tracemonkey. 2011-06-13 10:00:23 -07:00
Ted Mielczarek
a88f0715f0 merge m-c and b-s 2011-06-13 09:09:43 -04:00
Ed Morley
223c46b36b 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
4eba537fff 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
a2b407958f Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv 2011-06-11 09:52:24 +02:00
Chris Leary
b7aeb38134 Bug 660453: Proper regexp bytecode deallocation. (r=dmandelin) 2011-06-09 14:48:03 -07:00
Ted Mielczarek
c7f40506bf merge m-c to b-s 2011-06-10 12:58:21 -04:00
Nicholas Nethercote
5b874aa38c Bug 662963 - Add JSString::charsHeapSize(). r=luke. 2011-06-09 09:20:12 +10:00
Jim Blandy
3b47d4d410 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
3b7ea5d45a 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
5e8a381066 Backed out changeset c25968f1f4f0 2011-06-08 15:56:43 +09:00
Makoto Kato
f96bf9011f Bug 635617 - 64-bit crash [@ MakeDay]. r=jwalden 2011-06-08 10:41:37 +09:00
Kyle Huey
08c7819893 Fix MSVC warning. 2011-06-07 17:17:30 -07:00
Blake Kaplan
96c422f69a 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
f567b76676 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
dc5fdefaa0 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
2e0d728356 Merge m-c to b-s. 2011-05-31 15:29:32 -07:00
Jonathan Protzenko
39aa116d95 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
5e5f1a616a Merge mozilla-central to build-system. 2011-05-29 14:10:30 +10:00
Blake Kaplan
e25afea942 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
d2d7cf35c3 Bug 591611 - Clean up FIREFOX_VERSION handling; r=khuey 2011-05-28 14:33:07 +02:00
Ms2ger
35e44f908f Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz 2011-05-28 09:43:57 +02:00
Ms2ger
b171b9ae5c Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Michael Wu
d064b6eefe Backed out changeset eaa69ae330ab (bug 592943) for extensions bustage 2011-05-28 00:15:25 -07:00
Mitchell Field
d0794ce6a8 Merge mozilla-central to build-system. 2011-05-15 16:07:45 +10:00
Masatoshi Kimura
2a8de1f5f6 Bug 508905 - /Zc:wchar_t- is no longer required 2011-05-12 12:02:54 +00:00
Steve Fink
4fe2a2b264 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
f944ff55d2 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
e760bcc0f4 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
0d7bf8cc22 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
67af97e094 Bug 656462, part 3 - Syntactic touchups (r=waldo)
--HG--
extra : rebase_source : 7a81c352a96b9e23fc8f7bee5cb1d095c5cdb998
2011-05-24 16:08:40 -07:00
Luke Wagner
fe7b0581ce 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
78dc696e0e Bug 656462, part 1 - Remove StackSegment::initialVarObj (r=waldo)
--HG--
extra : rebase_source : 54ae58bec51c4c7fcc58db2148167be828dda8a3
2011-05-24 15:05:30 -07:00
Jeff Walden
f63e8d0dc3 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
9ed41bbdc2 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
a1825387bc 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
af44ef61b4 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
5e87a0c3ea 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
33979e422d Bug 660681: Add NULL check to LeaveFunction (r=jimb) 2011-06-06 14:24:11 -07:00
Paul Biggar
118bf3fdae Bug 660670: Report an error on OOM in Parser::analyzeFunction (r=jimb) 2011-06-06 14:24:11 -07:00
Paul Biggar
08fcb0b61d Bug 660638: Add NULL check to Compiler::compileScript (r=jwalden) 2011-06-06 14:24:10 -07:00
David Mandelin
ea7d5ed079 Bug 662165: fix MSVC warning 2011-06-06 13:36:57 -07:00
Chris Leary
278e5141b8 Followup fix for merge, fix ifdef directive. 2011-06-06 09:58:15 -07:00
Chris Leary
f8e0e912ab Merge mozilla-central to tracemonkey. 2011-06-06 09:41:22 -07:00
timeless@mozdev.org
deceb8bf2b 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
5f60af28bb Bug 316661 - Remove null-checks before delete: Part B; r=pbiggar,brendan,bzbarsky 2011-06-01 03:07:00 -07:00
Alon Zakai
5ea390381e Bug 644241 followup for compiler warning 2011-06-03 18:13:47 -07:00
Alon Zakai
f482160f72 Bug 644241, part 2: Disabling OOMing tests. r=igor 2011-06-03 17:54:30 -07:00
Alon Zakai
2f4274045c Bug 644241, part 1 - Remove script stack quota. r=igor 2011-06-03 17:54:26 -07:00
Chris Leary
ad6cf7c541 Bug 576828: Test self-referential backreference. (r=dmandelin)
--HG--
extra : rebase_source : 42b9319d8e9c5ae48a04e8f9e099ee2ea8d93294
2011-06-03 16:36:42 -07:00
Chris Leary
dae433fed7 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
db8f0665e7 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
f7c5d49018 Bug 660778 - Deal with stack overflow in UnmarkGrayChildren (r=gal) 2011-06-03 13:08:21 -07:00
Nicholas Nethercote
f54b0fa19d Bug 546477 - add explicit/js/stack memory reporter. r=luke. 2011-06-02 19:40:57 -07:00
Phil Ringnalda
0344c24e80 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
6beaae8ad4 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
07c939e83e Bug 538293 - remove inlineCallCount and this STACK_QUOTA silliness (r=dvander)
--HG--
extra : rebase_source : 724910c67423b0720ca5c3732699bca4d64324ef
2011-05-27 18:15:39 -07:00