Commit Graph

28847 Commits

Author SHA1 Message Date
Eric Faust
31bef2d0f9 Bug 909989 - Part 1: Implement DataPtr to refer to objects in runtimeData_. (r=nbp) 2013-08-28 16:12:59 -07:00
Eric Faust
373dcf1704 Bug 909989 - Part 0: Use runtimeData_ offsets instead of cacheList_ offsets to refer to ICs. (r=nbp) 2013-08-28 16:12:59 -07:00
Ryan VanderMeulen
94f3ba03e7 Backed out 7 changesets (bug 905999, bug 909989) for Linux tp crashes on a CLOSED TREE.
Backed out changeset 3bb7a1c950a3 (bug 905999)
Backed out changeset a95e00dbefea (bug 905999)
Backed out changeset f66ece725f98 (bug 905999)
Backed out changeset f7779522f6f6 (bug 905999)
Backed out changeset 91b14e27101a (bug 909989)
Backed out changeset f1842e91034d (bug 909989)
Backed out changeset ccc30b7c2277 (bug 909989)
2013-08-28 21:53:28 -04:00
Ryan VanderMeulen
7f252b9c76 Backed out 2 changesets (bug 909447, bug 909441) for jit-test failures on a CLOSED TREE.
Backed out changeset 3300c750cd53 (bug 909447)
Backed out changeset b1b242a80ef7 (bug 909441)
2013-08-28 20:18:00 -04:00
Benjamin Bouvier
cc27f21f1b Bug 908001: Reuse default block for non cases in giant sparse switch tables in Odin; r=mjrosenb 2013-08-28 17:03:29 -07:00
Eric Faust
6c7534ccaf Bug 905999 - Part 3: Only generate Array.length stubs in idempotent caches with accurate TI. (r=bhackett) 2013-08-28 16:12:59 -07:00
Eric Faust
6eb7fe8594 Bug 905999 - Part 2: Store cache location data in IonScript for runtime lookup. (r=nbp) 2013-08-28 16:12:59 -07:00
Eric Faust
c1d40f9171 Bug 905999 - Part 1: Get accurate location data for idempotent GetPropertyCaches. (r=nbp) 2013-08-28 16:12:59 -07:00
Eric Faust
b1da7f3c84 Bug 905999: Part 0: Implement InlineConcatList for union-based algorithms. (r=nbp) 2013-08-28 16:12:59 -07:00
Eric Faust
a68f6d7a57 Bug 909989 - Part 2: Use DataPtr in visit*IC instead of direct pointers. (r=nbp) 2013-08-28 16:12:59 -07:00
Eric Faust
fc9ab6f8be Bug 909989 - Part 1: Implement DataPtr to refer to objects in runtimeData_. (r=nbp) 2013-08-28 16:12:59 -07:00
Eric Faust
f0a5a7010c Bug 909989 - Part 0: Use runtimeData_ offsets instead of cacheList_ offsets to refer to ICs. (r=nbp) 2013-08-28 16:12:59 -07:00
Eric Faust
257deada77 Bug 908507 - Remove unused scriptList() from IonScript and MIRGraph. (r=nbp) 2013-08-28 16:12:58 -07:00
Eric Faust
61a2982620 Bug 909601 - Don't optimize common accessors on objects with {get,set}Generic hooks. (r=jandem) 2013-08-28 16:12:58 -07:00
Gary Kwong
725c93a76e Bug 909447 - Test. r=bholley DONTBUILD 2013-08-28 16:03:18 -07:00
Gary Kwong
bebe91bf29 Bug 909441 - Test. r=bholley 2013-08-28 16:02:51 -07:00
Shu-yu Guo
23f945b1ef Bug 905986 - Refactor adjusting phi types. (r=jandem) 2013-08-28 15:15:08 -07:00
Bobby Holley
a899450297 Bug 732665 - Tests. r=luke 2013-08-28 11:04:16 -07:00
Bobby Holley
756469507b Bug 732665 - Use separate stack depths for XPConnect JS. r=luke 2013-08-28 11:04:16 -07:00
Bobby Holley
83137c28bf Bug 732665 - Clean up and clarify the stack sizing logic. r=luke
The only change in behavior here is that we give the osx check higher precedence
than the DEBUG check, meaning that we end up with 7MB stacks on osx debug rather
than 4MB stacks. But this seems strictly better given the logic involved here.
2013-08-28 11:04:16 -07:00
Bobby Holley
f817aef987 Bug 732665 - Introduce a mechanism for specifying different stack limits for system, trusted, and untrusted code. r=luke
We kind of cop out for ion and PJS stuff. We should at least have a good story
for ion, but it probably needs to be done with someone with more jit familiarity
than I have.

The uninlined function call in JS_CHECK_RECURSION is unfortunate. We could fix
this either by separating the jsfriendapi JS_CHECK_RECURSION from the internal
one, or moving the appropriate stuff into friend fields.
2013-08-28 11:04:15 -07:00
Bobby Holley
4819690f50 Bug 732665 - Disable a few test on mac. r=tbsaunde,me
These tests trigger very slow infinite recursion in the status quo. With the
existing stack quotas, they always (or usually) hit the native stack limit
before the test times out, causing them to be green on tinderbox. But when
we bump the debug mac stack limit, they end up timing out. We have bugs on
file for the various issues, but let's not let them block this landing.
2013-08-28 11:04:15 -07:00
Luke Wagner
3a9c72568e Bug 900669 - OdinMonkey: store relative offsets in AsmJSModule::{Exit,ExportedFunction} (r=bbouvier) 2013-08-23 17:51:46 -05:00
Luke Wagner
de0a7992dc Bug 900669 - OdinMonkey: un-HeapPtr more AsmJSModule property names (r=terrence) 2013-08-23 17:32:47 -05:00
Luke Wagner
fd668d42f9 Bug 900669 - OdinMonkey: put memcpy-able data in 'pod' fields of AsmJSModule (r=bbouvier) 2013-08-12 18:40:52 -05:00
Boris Zbarsky
be1711a990 Bug 909645 part 4. Don't include ipdl headers in DesktopNotification.h. r=ms2ger,glandium 2013-08-28 00:14:57 -04:00
Nicholas D. Matsakis
ffcd00eaa0 Bug 898347 - Re-enable binary data now that fuzzing is complete (Part 0/6) rs=trivial 2013-08-01 09:38:21 -04:00
Nicholas D. Matsakis
25e6fe76ca Bug 898347 - Allow addenda to be added to binary blocks (Part 6/6) r=bhackett 2013-08-16 17:32:58 -04:00
Nicholas D. Matsakis
c9d3a4090f Bug 898347 - Allow TypeRepresentation objects to be attached to TI objects (Part 5/6) r=bhackett 2013-08-01 09:47:19 -04:00
Nicholas D. Matsakis
e088a95129 Bug 898347 - Generalize the newScript field on type objects into an "addendum" (Part 4/6) r=bhackett 2013-07-20 16:18:53 -04:00
Nicholas D. Matsakis
d57113c33b Bug 898347 - Convert binary data to use TypeRepresentation (Part 3/6) r=sfink 2013-08-12 21:56:24 -04:00
Nicholas D. Matsakis
d414da006b Bug 898347 - Make typed array use type repr constants (Part 2/6) r=sfink 2013-08-12 22:00:50 -04:00
Nicholas D. Matsakis
70e15a89e0 Bug 898347 - Add canonical type representation objects (Part 1/6) r=sfink 2013-08-23 11:21:25 -04:00
Brian O'Keefe
0f1bd321fc Bug 875934 - Forbid LIBRARY_NAME in Makefile.ins; r=mshal 2013-08-15 11:46:20 -04:00
Brian O'Keefe
2d797bffde Bug 875934 - Move LIBRARY_NAME to moz.build, batch 4; r=mshal 2013-08-15 09:12:40 -04:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Jan de Mooij
8c0488acce Bug 909389 - Enable IonMonkey try-catch compilation by default. r=djvj 2013-08-28 13:13:11 +02:00
Jan de Mooij
768c5da379 Bug 908625 - Fix IonBuilder crash with try-catch compilation enabled. r=bhackett 2013-08-28 13:13:08 +02:00
Nicholas Nethercote
9abdca7279 Bug 909623 (part 5) - Remove |#include "jsapi.h"| from jsfriendapi.h. r=luke.
--HG--
extra : rebase_source : 2a7f0f65f3e08bb15ade23f4c556340650b48c71
2013-08-21 22:28:12 -07:00
Nicholas Nethercote
59fc32f043 Bug 909623 (part 4) - Create js/CallNonGenericMethod.h and vm/CallNonGenericMethod.cpp. r=luke.
--HG--
extra : rebase_source : 5a81a57ea81227c995d7fd0933c226ac10384991
2013-08-26 21:39:38 -07:00
Nicholas Nethercote
6c7bc00e70 Bug 909623 (part 3) - Move ArrayBufferBuilder from jsfriendapi.{h,cpp} to nsXMLHttpRequest.{h,cpp}. r=luke,bz.
--HG--
extra : rebase_source : 9f9bf874797828095b22d1c16392011b3e5916bb
2013-08-27 16:55:31 -07:00
Nicholas Nethercote
0c77f6d23e Bug 909623 (part 2) - Move GetObjectProto() from jsfriendapi.h to jsfriendapi.cpp. r=luke,bz.
--HG--
extra : rebase_source : 2a3abbf8cf31edd3880b5436db6831bab2358477
2013-08-26 21:39:37 -07:00
Nicholas Nethercote
988ad050c2 Bug 909623 (part 1) - Move JS_TraceDataOp from jsapi.h to jspubtd.h. r=luke.
--HG--
extra : rebase_source : 51bef79b19bdad99802fafdd963be295474195f5
2013-08-27 16:13:53 -07:00
Jon Coppeard
a4042954f3 Bug 909738 - Don't initialize Rooted<> members of ScopeIter with invalid pointers r=billm 2013-08-28 10:07:20 +01:00
Jon Coppeard
da222d5ed9 Bug 908709 - Don't reuse hash when inserting into newTypeObjects set if a GC has occured r=terrence 2013-08-28 10:07:20 +01:00
Jon Coppeard
274b7e07d3 Bug 908696 - GenerationalGC: Disable post barrier verification when disabling GGC r=terrence 2013-08-28 10:07:20 +01:00
Nicholas Nethercote
d262cece7e Bug 831193 (part 3) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in XPCJSRuntime.cpp. r=terrence.
--HG--
extra : rebase_source : 09df0ea5b3bb546e5c75d59d170f54124d834b4d
2013-01-15 21:28:35 -08:00
Makoto Kato
d14b079934 Bug 851992 - Allow building against system ICU library. r=glandium f=gaston 2013-08-28 07:31:46 +02:00
Phil Ringnalda
d9b3d07847 Back out 4bb5a77c36a6:88a3198c7007 (bug 900669) for b2g build failures
CLOSED TREE
2013-08-27 22:05:12 -07:00
Nicholas Nethercote
3f5d413d90 Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Nicholas Nethercote
4f0ded52fe Bug 909597 (part 1) - Make jsdbgapi.h not depend on jsapi.h. r=luke.
--HG--
extra : rebase_source : b5f604153b34856a19852158fc67eb20b1aaffc3
2013-08-26 19:05:19 -07:00
Luke Wagner
2cbf512d71 Bug 900669 - OdinMonkey: store relative offsets in AsmJSModule::{Exit,ExportedFunction} (r=bbouvier) 2013-08-23 17:51:46 -05:00
Luke Wagner
22b552c00e Bug 900669 - OdinMonkey: un-HeapPtr more AsmJSModule property names (r=terrence)
--HG--
extra : rebase_source : 1411a2f8deb7422aac36add0bf20cdabc539930d
2013-08-23 17:32:47 -05:00
Luke Wagner
8b89f4878a Bug 900669 - OdinMonkey: put memcpy-able data in 'pod' fields of AsmJSModule (r=bbouvier)
--HG--
extra : rebase_source : a724fd33913db2f5610771bc97ffb19fa6f9777d
2013-08-12 18:40:52 -05:00
Ryan VanderMeulen
3972d92239 Merge m-c to inbound on a CLOSED TREE. 2013-08-27 22:40:49 -04:00
Ryan VanderMeulen
2f3de4dea0 Backed out 12 changesets (bug 899367) for Windows and OSX mochitest failures on a CLOSED TREE.
Backed out changeset 46cf4c3eb447 (bug 899367)
Backed out changeset d8a876219fc7 (bug 899367)
Backed out changeset d930333f95a7 (bug 899367)
Backed out changeset efae8cc0fff8 (bug 899367)
Backed out changeset 1dd262d146a6 (bug 899367)
Backed out changeset 4c396b8a51d0 (bug 899367)
Backed out changeset c8c30176639a (bug 899367)
Backed out changeset aaa8fbcf9aaf (bug 899367)
Backed out changeset d1a782044a4b (bug 899367)
Backed out changeset b2672ab55046 (bug 899367)
Backed out changeset fc4deb0b06fa (bug 899367)
Backed out changeset b9f1018a609c (bug 899367)
2013-08-27 21:14:54 -04:00
Ryan VanderMeulen
315255b833 Merge m-c to fx-team. 2013-08-27 20:38:23 -04:00
Ryan VanderMeulen
397abbe4d7 Merge inbound to m-c. 2013-08-27 20:36:23 -04:00
Nicolas Pierron
5779bb4c77 Bug 908903 - Add testing function to toggle jit compiler options. r=jandem 2013-08-27 16:32:04 -07:00
Shu-yu Guo
cdab9c69e0 Bug 908939 - Use the original function to construct the |this| type set in inline dispatch in Ion. (r=jandem) 2013-08-27 16:01:54 -07:00
Shu-yu Guo
57b9fa9ee2 Bug 903028 - Do not allocate type sets off main thread. (r=bhackett) 2013-08-27 16:01:53 -07:00
Shu-yu Guo
80b9b4170b Bug 909599 - Initialize PerThreadData for ForkJoinSlice. (r=nmatsakis) 2013-08-27 16:01:53 -07:00
Andrew McCreight
69fc8f5296 Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug,bholley,bz 2013-08-27 15:39:02 -07:00
Luke Wagner
50d4825ec4 Bug 909534 - tidy up AsmJSSignalHandler, remove unnecessary SIGBUS handling (r=bhackett)
--HG--
extra : rebase_source : a02fa6e374ea610db1e964181b84e251e5e44cbf
2013-08-27 17:33:32 -05:00
Luke Wagner
35cad1bdf2 Bug 909534 - don't call exit as a backstop in AsmJSSignalHandler (r=bhackett)
--HG--
extra : rebase_source : 12f00124b6c1806e0628d3eda0a47e474b24327d
2013-08-27 17:32:58 -05:00
Kannan Vijayan
63d83b4347 Bug 906781 - Optimize JSOP_FUNAPPLY with Array argument in Baseline. r=bhackett r=jandem 2013-08-27 18:32:40 -04:00
Bobby Holley
6274710e79 Bug 899367 - Make GetNativeGlobal consumers call GetWindowProxy and rm the former. r=mccr8
Some of the uses of this are a bit nonsensical now, but that's a problem for
another day.
2013-08-27 15:21:40 -07:00
Bobby Holley
cff26b12ce Bug 899367 - Remove xpc_UnmarkGrayContext. r=mccr8
Default compartment objects are never gray anymore.
2013-08-27 15:21:39 -07:00
Bobby Holley
3799d0a8d3 Bug 899367 - Remove JSOPTION_UNROOTED_GLOBAL. r=luke,mccr8
\o/
2013-08-27 15:21:39 -07:00
Bobby Holley
05b0b5e0f2 Bug 899367 - Stop storing the window proxy on the JSContext. r=mccr8
We need to simultaneously report the new Heap Pointer to the cycle collector,
and remove the old machinery for cycle-collecting the default object via the
JSContext.
2013-08-27 15:21:39 -07:00
Bobby Holley
5813ab4158 Bug 899367 - Stop depending on the default compartment object for DOM JSContexts. r=mccr8 2013-08-27 15:21:38 -07:00
Bobby Holley
201084f340 Bug 899367 - Add an API to opt out of default compartment objects. r=luke
We need this explicit API because otherwise the default compartment object will
get set implicitly during the first call to InitClasses.
2013-08-27 15:21:38 -07:00
Bobby Holley
c93dc7b4a1 Bug 899367 - Explicitly traverse outer windows, rather than doing it via JSContext iteration. r=mccr8
Note that this machinery will go away in further patches. But we want to be
deliberate about each of these steps.
2013-08-27 15:21:38 -07:00
Bobby Holley
add3235319 Bug 899367 - Explicitly trace outer windows, rather than doing it via JSContext iteration. r=mccr8 2013-08-27 15:21:37 -07:00
Bobby Holley
0f7839efdf Bug 899367 - Add an API to determine if we're marking gray. r=billm
This allows us to assert that certain callbacks get invoked during the gray
phase of a marking GC.
2013-08-27 15:21:37 -07:00
Bobby Holley
b7966edcf1 Bug 899367 - Only use JSOPTION_UNROOTED_GLOBAL for DOM JSContexts. r=mccr8
We don't cycle collect any other kind, so there's no difference between marking
them gray and letting the JS engine mark them black. This also gets rid of that
nasty code which reset the flag, which billm theorizes has to do with faulty
logic in ContextHolder when creating ephemeral sandbox cxes. The assertion in
this patch should catch us if anything goes wrong.
2013-08-27 15:21:37 -07:00
Terrence Cole
639d62a891 Bug 909866 - Fix an exact rooting hazard in JSCompartment::wrap; r=sfink
--HG--
extra : rebase_source : 637cea3f6c93a333bfe9000f0837663fd0905853
2013-08-27 15:16:03 -07:00
Justin Lebar
a12ca3e4e8 Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
--HG--
rename : mfbt/Util.h => mfbt/Maybe.h
2013-08-27 15:10:28 -07:00
Fabrice Desré
451d5f91ac Bug 864932 - Rewrite wifi workers in c++ r=mrbkap 2013-08-27 13:54:51 -07:00
Ed Morley
8148e026e6 Merge mozilla-central and b2g-inbound 2013-08-27 15:20:08 +01:00
Szu-Yu Chen [:aknow]
063d6ffcc7 Bug 882983 - Part 1: Add ota status event (idl, webidl). r=hsinyi, sr=smaug 2013-08-27 08:25:53 -04:00
Ryan VanderMeulen
7552097880 Bug 908920 - Don't assume suspended generator activations have a script. r=jorendorff
This patch makes legacy (JS 1.7) and star (ES6) generators have
different classes, avoiding the need to poke through to the frame's
script to see which kind they are.  This steps around a failure to get
a frame's script after GC, when the script was thrown away, while also
preparing for bug 907744.

To detect errors in the future, also make accesses to gen->fp->script()
cause a null pointer deref in debug mode.  This caught another bug in
generator_close_impl(), in which with GGC it could be possible to
reference a return value from the recently dead frame.  This was easily
fixed because that value is always undefined.
2013-08-27 14:01:11 -04:00
Irving Reid
085ba6994a Bug 905315: Work around android ADT path naming scheme change; r=nalexander 2013-08-26 11:16:18 -04:00
Jeff Walden
a4b90e86b2 Bug 905947 - Don't assert when redefining an array's length to be configurable via the JSAPI. r=jorendorff
--HG--
extra : rebase_source : 4729e0aca6ea7addb56fd12a280eb2b1b4469ad7
2013-08-20 17:06:51 -07:00
Gregory Szorc
41b5775451 Bug 909412 - Don't attempt to track tier progression during partial tree builds; r=glandium 2013-08-27 14:40:07 -07:00
Jeff Walden
8d060b4ef5 Bug 908898 - Move the JS_PS{G,GS,_END} macros from jsobj.h into jsapi.h for general use. r=jorendorff 2013-08-21 15:33:11 -07:00
Jeff Walden
38577c2633 Bug 907958 - Disallow |function function() {}| and similar unreadabilities. r=jorendorff, r=wingo for the yield interactions, r=luke for the asm.js interactions 2013-08-15 10:07:40 -07:00
Jeff Walden
adc074bd27 Bug 907958 - Change a test to not expect exact error messages, only that the errors are SyntaxErrors. r=simple-test-fixup
--HG--
extra : rebase_source : 106e9f5be720a0d781db3e4a94bc07926b02bf2e
2013-08-26 14:05:17 -07:00
Jan de Mooij
c706be3d1d Bug 909505 - Fix IonBuilder to set the Folded flag on the instanceof rhs if needed. r=bhackett 2013-08-27 19:50:00 +02:00
Brian Hackett
323a6a4d31 Bug 908301 - Remove dedicated source compression thread, use JS worker threads instead, allow saving source when parsing off thread, r=benjamin. 2013-08-27 11:48:55 -06:00
Luke Wagner
a49441c4f8 Also recognize Inlines.h as a inlines header suffix in check-style (no bug, r=bustage)
--HG--
extra : rebase_source : 876ee986c8533afa0a3ba5b67c0a8efd588bd083
2013-08-26 12:21:06 -05:00
Luke Wagner
dcaa03bcb1 Bug 858551 - Add jsscriptinlines.h to fix 'used by not defined' warnings (r=themaid) 2013-08-26 11:50:04 -05:00
Luke Wagner
2b7fc28e27 Bug 907937 - Move JSCompartment::wrap again to avoid 'used but not defined' warnings (r=themaid) 2013-08-26 11:46:21 -05:00
Steve Fink
69d484af03 Bug 909363 - Mark redirect() as unsafe for fuzzing. r=till
--HG--
extra : rebase_source : bb748d87138e71afe3bcfdaedc958e5b0ef20fd5
2013-08-26 09:04:09 -07:00
Mike Hordecki
368c68a39e Bug 908918 - Fix an XPConnect typo. r=bholley 2013-08-26 11:28:26 -04:00
Mike Hommey
6823f16393 Fixup for bug 904743, thanks to cl.py running without assertions. r=me 2013-08-26 16:59:53 +09:00
Geoff Brown
220e4a5f85 Bug 865006 - (4) Add more xpcshell tests for android; r=jmaher 2013-08-25 10:58:31 -06:00
Boris Zbarsky
f80a9893ef Bug 908576 part 6. Expose just a NativePropertyHooks pointer, not the object itself, so we can forward-declare it in bindings headers. r=smaug 2013-08-23 22:42:41 -04:00
Boris Zbarsky
b89190851a Bug 908530 part 3. Stop including xpcpublic.h in DOMJSProxyHandler.h. r=khuey 2013-08-23 22:42:40 -04:00
Boris Zbarsky
7da23c2946 Bug 908530 part 2. Fix all the places that are bootlegging things (esp nsIURI) via xpcpublic.h. r=khuey 2013-08-23 22:42:40 -04:00
Boris Zbarsky
253a8c8d80 Bug 908351. Stop over-including DOMJSClass.h, so we don't rebuild as much when PrototypeList.h changes. We do this by factoring out the slot macros into a separate header and including that. r=khuey 2013-08-23 22:42:39 -04:00
Jeff Walden
161921f0ee Back out bc75fd3095eb (bug 907958), the simple rebasing through bug 666399 is busted. Probably a simple-ish fix, not gonna try it on a deadline, tho. r=beep-beep-beep from a CLOSED TREE 2013-08-23 19:27:30 -07:00
Jeff Walden
6c37b0230a Bug 907958 - Disallow |function function() {}| and similar unreadabilities. r=jorendorff 2013-08-15 10:07:40 -07:00
Jeff Walden
8bfcb55cb3 Bug 901351 - Properly handle various edge cases in JSON.parse when walking/reviving the initial object tree. r=jorendorff 2013-08-08 17:31:45 -07:00
Terrence Cole
9afd8fe922 Bug 908891 - Fix remaining exact rooting hazards in js/ipc; r=evilpie
--HG--
extra : rebase_source : d48dfa50ed83c8c3d3c344467c6bd0b702a3263a
2013-08-23 15:53:46 -07:00
Steve Fink
ecdd20b4cf Bug 908825 - Assorted hazard analysis changes+fixes to get rooting analysis running on build slaves
--HG--
extra : rebase_source : bff2e12a00934391ae50ce288d903d5bea6600c8
2013-08-23 13:03:23 -07:00
Steve Fink
079a424ef5 Bug 908825 - Refactor static rooting analysis to make the following patch cleaner
--HG--
extra : rebase_source : 52a5b477899cfd500327650448547d86e02b71eb
2013-08-23 13:03:23 -07:00
Steve Fink
8c389493c6 Bug 908825 - Generate multiple output files from intermediate rooting analysis stages
--HG--
extra : rebase_source : b90f85cfd1815d9a7fea4792b965b8a434f5fa6e
2013-08-01 14:59:09 -07:00
Steve Fink
c43007623c Bug 908825 - Minor irrelevant cleanups to static rooting analysis
--HG--
extra : rebase_source : 63c13fc6817fc14b2c47357bf213d7a6615f1f35
2013-07-26 10:40:36 -07:00
Steve Fink
ccfc6cebcd Bug 908825 - Pass functionName around instead of using a global variable
I just found it easier to follow what's going on this way. Also, this passes a 'suppressed' value through to functions, which might change behavior but if so I'm happy with the new behavior.

--HG--
extra : rebase_source : 1ee42853de87de18f9dd17e8c2eeb6677bdf8d2c
2013-07-23 12:17:07 -07:00
Steve Fink
5efd96ea75 Bug 900144 - Add redirect shell built-in for changing stdout/stderr destination
--HG--
extra : rebase_source : f6fe4aa12d0e053437044306a1815c1e32f5f153
2013-07-25 18:39:10 -07:00
Steve Fink
1041a33255 Bug 899712 - Prevent infinite recursion in fallback asinh, r=jorendorff
--HG--
extra : rebase_source : 1b810304f83b81fd435f3de3350004d0fcffba14
2013-07-30 12:36:03 -07:00
Steve Fink
85ff446e25 No bug. Remove unnecessary SkipRoot from structured clone buffers.
--HG--
extra : rebase_source : 057f79cd78741572cc607213638895c2815ab7da
2013-07-22 14:46:48 -07:00
Till Schneidereit
38aa35cce2 Bug 908472 - make JSFunction::generatorKind() treat lazy self-hosted functions as non-generators. r=jwalden
--HG--
extra : rebase_source : bc946eb476b6ba6dc98ea01b76c8aefc8827ddc5
2013-08-23 23:23:38 +02:00
Luke Wagner
76813d23b7 Bug 908813 - Only report asm.js warnings once during syntax-only parse (r=bbouvier)
--HG--
extra : rebase_source : be57c7ac40c828bea5577e2857b2f0709bd74a16
2013-08-23 14:39:59 -05:00
Till Schneidereit
a4fd2b5e2c Bug 905370 - Move SelfHostedClass list to JSRuntime. r=bhackett,shu
--HG--
extra : rebase_source : e45e182038fdc5267aa9b50853eefb43c7f9cf54
2013-08-23 13:29:01 +02:00
Ms2ger
79dd184c74 Bug 517765 - Mark make-source-package.sh as executable. 2013-08-23 19:35:54 +02:00
Ian Stakenvicius
00cff60360 Bug 517765 - Add 'make source-package' support into js/src. r=sstangl 2013-08-22 12:38:18 -04:00
Bill McCloskey
ea4b0b506f Bug 908484 - Fix canCollect() exception in JS engine (r=bhackett) 2013-08-23 10:23:40 -07:00
Ryan VanderMeulen
08f594ec2a Backed out changeset 0dad16fe66b2 (bug 517765) for Linux PGO bustage. 2013-08-23 13:17:07 -04:00
Terrence Cole
49c80c8448 Bug 908483 - Fix some exact rooting hazards in jsd; r=jonco 2013-08-22 15:43:47 -07:00
Jon Coppeard
03edd99023 Bug 907135 - Disable verification of OSI point registers in rooting analysis builds r=nbp 2013-08-23 16:43:38 +01:00
Andy Wingo
bb8edee39e Bug 904701 - Implement prototype madness for ES6 generators. r=bhackett, r=jorendorff
Add a Generator constructor, like the Function constructor.

Define the GeneratorFunctionPrototype, GeneratorFunction, and
GeneratorObjectPrototype meta-objects.

When cloning or creating a star generator, give it
GeneratorFunctionPrototype as its prototype.

Each star generator function has a ".prototype" property, which has
GeneratorObjectPrototype as its prototype.  That prototype does not have
a ".constructor" link.

If Function.prototype.toSource is called on a non-function, chain up to
Object.prototype.toSource instead.

Prototypes of generator objects are no longer made with
GeneratorObject::class_.  This allows us to elide some "null" checks
from bug 352885.  Instead calling a generator on a method now signals a
typeerror.

Make the "send" generator method a simple alias to "next".
2013-08-23 11:07:10 -04:00
Ian Stakenvicius
6922532fd3 Bug 517765 - Add 'make source-package' support into js/src. r=sstangl 2013-08-22 12:38:18 -04:00
Gabor Krizsanits
73d41a24b4 Bug 886237 - follow-up part2: Comment formatting in sandbox.cpp. r=bholley 2013-08-23 09:56:03 +02:00
Gabor Krizsanits
be6a2be548 Bug 886237 - follow-up part1: Moving Sandbox/XPCComponents helpers into namespace xpc. r=bholley 2013-08-23 09:55:47 +02:00
Kyle Huey
450b0c5f42 Bug 903772: Part 9 - Use a different class in the weakmap test now that the implementation of TextDecoder has changed. r=peterv 2013-08-22 22:17:10 -07:00
Kyle Huey
8edf4de9ad Bug 903772: Part 4 - Harmonize main thread and worker dictionary implementations. r=peterv 2013-08-22 22:17:09 -07:00
Kyle Huey
de0ee30e74 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Brian Hackett
d5fe5f02fa Bug 908294 - Additional fixes for ExclusiveContext zones with TI enabled, r=billm. 2013-08-22 21:42:20 -06:00
Luke Wagner
cec964ccec Bug 908255 - tidy up 'non-destructive' functions, give StringHashPolicy a scarier name (r=terrence)
--HG--
extra : rebase_source : 84bbc6c0416190a9dae8c758262def530a591219
2013-08-22 13:54:34 -05:00
Luke Wagner
5a24677ba5 Bug 907118 - Fix bug in JSRope::getCharsNonDestructiveInternal (r=bhackett)
--HG--
extra : rebase_source : 30a52611309ba474653bd547cde3eb4af77dd578
2013-08-22 11:47:55 -05:00
Nicholas Nethercote
d208a00ee8 Bug 905017 (part 3, attempt 2) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
--HG--
extra : rebase_source : 8226a31c4f2a286ba843da616b1061ca034a5d41
2013-08-19 23:45:26 -07:00
Nicholas Nethercote
9ce6c39a8f Bug 905017 (part 2, attempt 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : 2699588c63ef58ab84bc8c63adc0487648af3834
2013-08-19 23:43:47 -07:00
Brian Hackett
d3df5f7c56 Bug 905544 - Fix assertion failure in threadsafe builds with --disable-ion, r=billm. 2013-08-22 18:02:28 -06:00
Terrence Cole
83b46d17ec Bug 907973 - Suppress an exact rooting non-hazard in ShellObjectMetadataCallback; r=bhackett
--HG--
extra : rebase_source : 3c2911f67d14375bc98580fc483cf61498ed8be3
2013-08-21 12:44:00 -07:00
Terrence Cole
0bf4aef42a Bug 907791 - Suppress some AsmJS rooting non-hazards in the static analysis; r=bhackett,luke
--HG--
extra : rebase_source : 9acbb597415c4bf08c978c480262ce5e5dd9c452
2013-08-21 12:43:22 -07:00
Mike Hommey
3e16a0d1dd Bug 904743 - Use makefile creation helper in BindingGen.py, cl.py and xpidl-process.py. r=gps
While at it, fix dependencies generated by BindingGen.py
2013-08-23 08:09:17 +09:00
Mike Hommey
26234441d3 Bug 908052 - Use GetShortPathName/GetLongPathName to canonicalize paths for dependency files generated by cl.py. r=gps 2013-08-23 08:08:05 +09:00
Benjamin Bouvier
354c49842b Bug 906860: Ignore segfaults handled by AsmJSFaultHandler in gdb; r=jimb,gps 2013-08-22 15:54:12 -07:00
Bobby Holley
4e5093e6fa Bug 903891 - Default the iid to nsISupports in NativeInterface2JSObject, and assert |Interface| when getting an XPCWrappedNative. r=mrbkap 2013-08-22 15:51:35 -07:00
Bobby Holley
52d40c8a87 Bug 907937 - Followup comment fixes. r=billm DONTBUILD 2013-08-22 13:39:20 -07:00
Bobby Holley
62306e6427 Bug 907937 - Followup fix for review-nit bustage. r=me CLOSED TREE 2013-08-22 12:54:05 -07:00
Bobby Holley
eb213192a7 Bug 907937 - Address review nits. r=billm
I normally roll these into the appropriate patches, but this queue moves a lot
of code around, and I'm afraid of a mismerge.
2013-08-22 12:40:31 -07:00
Bobby Holley
6a67707c4e Bug 907937 - Optimistically check the CCW cache early in opt-build value wrapping. r=billm 2013-08-22 12:40:31 -07:00
Bobby Holley
e6a0bd3c95 Bug 907937 - Inline jsval wrapping overload. r=billm
This thing is small enough now that it can be inlined. This is already a significant
win because primitive jsval wrapping is now entirely inlined.
2013-08-22 12:40:31 -07:00
Bobby Holley
1e989152b6 Bug 907937 - Move object wrapping into the object-overloaded wrap() function. r=billm
There are a couple of changes to the wrap code, so it probably needs to be
looked over.
2013-08-22 12:40:31 -07:00
Bobby Holley
bb79bca070 Bug 907937 - Whitespace change. r=billm 2013-08-22 12:40:30 -07:00
Bobby Holley
20bb98f1a6 Bug 907937 - Remove isObject() checks, and stop using |vp| as an intermediary. r=billm
We can do this now that we're not trying to deal with strings at the same time.
Whitespace change in the next patch.
2013-08-22 12:40:30 -07:00
Bobby Holley
9d3feb41a1 Bug 907937 - Move string wrapping into the actual string wrapping method. r=billm
The current string->value->string setup is kind of silly. This also moves work
out of the jsval overload, which will be helpful when we inline the first part.
2013-08-22 12:40:30 -07:00
Bobby Holley
222832d3b4 Bug 891891 - Print diagnostics when an XPCWrappedJS is QI-ed off-main-thread. r=mrbkap
Let's try to figure out which XPCWrappedJS is causing this. I've filed a reminder
for myself to back this out by sept 3.
2013-08-22 12:40:29 -07:00
Terrence Cole
809798ceb1 Backout 09bdab645185 (Bug 907791) as it will not work with off-main-thread parsing.
--HG--
extra : rebase_source : 9b9cdc95fac77232e204fcdccb1bd5a2e827041b
2013-08-22 11:48:28 -07:00
Terrence Cole
45241f280a Bug 907358 - Exactly root internal pointers in Array.join; r=Waldo
--HG--
extra : rebase_source : f1eff0c5910373220ddabf61fe907528cdcec19f
2013-08-20 13:13:21 -07:00
Terrence Cole
fc4d7f6a34 Bug 907791 - Suppress some AsmJS rooting non-hazards in the static analysis; r=bhackett
--HG--
extra : rebase_source : edd1c5544b791c258d31ec5d64334f52bbd5aed1
2013-08-21 12:43:22 -07:00
Terrence Cole
04ac3d218a Bug 906241 - Trigger post barriers for writes to tenured call objects; r=bhackett
--HG--
extra : rebase_source : db28a9eb27ba8d002b48359a30a0343d651f6e60
2013-08-21 14:20:15 -07:00
Terrence Cole
0a1e88b45d Bug 908253 - Fix jit-tests's -g command after Bug 858622; r=dminor
--HG--
extra : rebase_source : 6c6a02b63e653d7f87671b1e9b80ab9d4161bb91
2013-08-22 11:21:30 -07:00
Benjamin Peterson
b7ae48e5e4 Bug 777060 - Allow parameters without defaults after default parameters. r=jorendorff 2013-08-22 11:28:14 -05:00
Jon Coppeard
48afbcd755 Bug 893184 - Call constructors for HeapPtrAtoms allocated as part of shared script data r=till 2013-08-20 16:40:27 +01:00
Ed Morley
50edc993c1 Backed out changeset 6a182052fafe (bug 904701) for warnings as errors failures on a CLOSED TREE 2013-08-22 16:14:40 +01:00
Daniele Bonetta
f46d319c0c Bug 906773 - More efficient ComputeSliceBounds function. r=nmatsakis 2013-08-19 14:51:34 -07:00
Andy Wingo
6f3144c4e8 Bug 904701 - Implement prototype madness for ES6 generators. r=bhackett, r=jorendorff
Add a Generator constructor, like the Function constructor.

Define the GeneratorFunctionPrototype, GeneratorFunction, and
GeneratorObjectPrototype meta-objects.

When cloning or creating a star generator, give it
GeneratorFunctionPrototype as its prototype.

Each star generator function has a ".prototype" property, which has
GeneratorObjectPrototype as its prototype.  That prototype does not have
a ".constructor" link.

If Function.prototype.toSource is called on a non-function, chain up to
Object.prototype.toSource instead.

Prototypes of generator objects are no longer made with
GeneratorObject::class_.  This allows us to elide some "null" checks
from bug 352885.  Instead calling a generator on a method now signals a
typeerror.

Make the "send" generator method a simple alias to "next".
2013-08-22 10:16:07 -04:00
Brian Hackett
930150cc7b Bug 907777 - Add preference for off thread parsing, coalesce with preference for off thread Ion compilation, r=billm. 2013-08-22 07:22:33 -06:00
Brian Hackett
8ddf4c3484 Bug 906060 - Allow ExclusiveContext zones to have TI enabled, r=billm. 2013-08-22 07:13:18 -06:00
Gabor Krizsanits
56184ed022 Bug 886237 - Splitting up XPCComponents. r=bholley 2013-08-22 08:26:37 +02:00
Jon Coppeard
a157aa79f0 Bug 907147 - Add SkipRoot to stop rooting analysis poinsoning hash in getNewType() r=terrence 2013-08-21 09:58:25 +01:00
Ms2ger
8bfa279bb1 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
87ae95251c Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
f79ae70d10 Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage. 2013-08-22 10:16:30 +02:00
Ms2ger
d62e2c8439 Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal 2013-08-22 08:56:02 +02:00
Ms2ger
ecdd2b4462 Bug 904831 - Part d: Disallow MSVC_ENABLE_PGO in Makefiles; r=khuey 2013-08-22 08:56:02 +02:00
Ms2ger
4922ccbc0a Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
e3bbb3be02 Bug 883284 - Part h: Disallow LIBXUL_LIBRARY in Makefiles; r=khuey 2013-08-22 08:56:01 +02:00
Ms2ger
dba42e4001 Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Ms2ger
8ccdba4aa0 Bug 906412 - Cleanup some random parts of the build system; r=mshal 2013-08-22 08:55:59 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
7d56a6ab7d Bug 906342 - Move the remaining SIMPLE_PROGRAMS to moz.build and disallow setting SIMPLE_PROGRAMS in Makefiles; r=gps 2013-08-22 08:35:03 +02:00
Ms2ger
3a227519f8 Bug 903796 - Remove remaining traces of GeoPositionError; r=jst 2013-08-22 08:30:28 +02:00
Ryan VanderMeulen
9d6bbf8c00 Backed out 2 changesets (bug 893184) for Nexus 4 startup crashes.
Backed out changeset e1b2f6bd92c4 (bug 893184)
Backed out changeset 560f18fc3ae3 (bug 893184)
2013-08-21 21:52:18 -04:00
Brian Hackett
726cb7d8ee Bug 904315 - Watch for negative integers when loading maybe-hole elements from arrays, r=jandem. 2013-08-21 18:47:19 -06:00
Brian Hackett
8e0be4fb38 Bug 900681 - Properly clean up leaked off thread parses in the JS shell, r=billm. 2013-08-21 18:43:18 -06:00
Terrence Cole
3acaa1a1ec Backout 0fc0283ac2b1 for bustage on a CLOSED TREE. 2013-08-21 16:50:26 -07:00
Terrence Cole
0fbd9f8c47 Backout 493d5d59b229 for bustage on a CLOSED TREE. 2013-08-21 16:48:55 -07:00
Terrence Cole
0117122eb0 Backout 5c4e5ee49fbe for bustage on a CLOSED TREE. 2013-08-21 16:47:19 -07:00
Jon Coppeard
8672bcaa35 Bug 893184 - Don't attemmpt to get SharedScriptData* from a null code pointer. r=till 2013-08-21 15:25:53 -04:00
Terrence Cole
cef19d593c Bug 906241 - Trigger post barriers for writes to tenured call objects; r=bhackett 2013-08-21 14:20:15 -07:00
Terrence Cole
670fe89119 Bug 907791 - Suppress some AsmJS rooting non-hazards in the static analysis; r=bhackett
--HG--
extra : rebase_source : 4c4e371427aeb07cdf3fb478e10810204e1ece8c
2013-08-21 12:43:22 -07:00
Ryan VanderMeulen
67ee25d422 Backed out changeset 7da415c9c566 (bug 517765) for PGO bustage.
CLOSED TREE
2013-08-21 13:56:53 -04:00
Dan Minor
228fb4f1c6 Bug 858622 - Make jit-tests runnable on mobile;r=terrence 2013-08-21 12:11:41 -04:00
Terrence Cole
a61f1523f2 Bug 907358 - Exactly root internal pointers in Array.join; r=Waldo
--HG--
extra : rebase_source : c7f0c4dfd9a1ac7f7877e1cbe0778ac0f071e9d4
2013-08-20 13:13:21 -07:00
Eric Faust
4221250b8c Bug 906035 - IonMonkey: Only generate array length GetProperty stubs with valid outputs. (r=nbp) 2013-08-21 13:38:45 -07:00
Ryan VanderMeulen
6f9752fb67 Backed out changeset 4d6b320897df (bug 893184) for crashes. 2013-08-21 16:35:45 -04:00
Nicholas Nethercote
c8e2369441 Bug 905017 (part 3) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
--HG--
extra : rebase_source : 8322f1c96b95685912375484172d47f53107947f
2013-08-19 23:45:26 -07:00
Nicholas Nethercote
4caa0f8ea2 Bug 905017 (part 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : ecce9699ddb45535aa94d5e3add901f5a8620c46
2013-08-19 23:43:47 -07:00
Ms2ger
6004ebc69f Backout changeset b43d38c5c456 for build bustage. 2013-08-22 09:00:37 +02:00
Andrew McCreight
ff5720d8c6 Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug 2013-08-19 13:49:58 -07:00
Benjamin Peterson
5f493caa69 Bug 896264 - Disable Math.hypot until spec settles down. r=jorendorff 2013-08-21 15:08:51 -05:00
Jon Coppeard
0ea3f08c32 Bug 893184 - Don't attemmpt to get SharedScriptData* from a null code pointer. r=till 2013-08-21 15:25:53 -04:00
Gabor Krizsanits
f64006605c Bug 886237 - Splitting up XPCComponents. r=bholley 2013-08-22 08:26:37 +02:00
Nicholas Nethercote
42ccf38dcd Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Ehsan Akhgari
6b6357d134 Bug 906119 - Enable incremental linking with Visual C++; r=glandium
--HG--
extra : rebase_source : 936287f63c95baa535a4991bc1106a3f9f59f36f
2013-08-20 18:14:44 -04:00
Andy Wingo
77fa36aa00 Bug 666399 - New Harmony syntax for generators. r=Waldo
Add a GeneratorKind enumeration, and use it in the parser and runtime to
indicate whether a function is a non-generator, a legacy generator, or a
star generator.

Always parse "yield" as TOK_YIELD, regardless of the version.  Add
TokenStream::currentName() to retrieve the current token's name, which
works for TOK_NAME or TOK_YIELD.  The parser should check the validity
of "yield" as a name, if needed, using checkYieldNameValidity().

Parse "function*" as the StarGenerator GeneratorKind, and allow star
generators to be lazily parsed.

Separate parsing of return statements from yield expressions.
2013-08-20 11:03:24 +02:00
Ian Stakenvicius
08a80e734e Bug 517765 - Add 'make source-package' support into js/src. r=sstangl 2013-08-21 08:42:49 -04:00
Jan de Mooij
39ce5c2b3f Bug 906286 - Canonicalize NaN values stored to float arrays in JS_MORE_DETERMINISTIC builds. r=luke 2013-08-21 08:40:17 +02:00
Bobby Holley
ab06fa04af Bug 907508 - Provide a mechanism for adding extra slots for XPConnect globals. r=bz
mhordecki needs this in bug 898559.
2013-08-20 21:21:01 -07:00
Bobby Holley
12e2bef827 Bug 907508 - Define the slot count for xpconnect and worker globals in terms of the slots defined in DOMJSClass.h. r=bz 2013-08-20 21:21:00 -07:00
Bobby Holley
137154e93e Bug 907508 - Drop the number of slots on XPConnect globals from 2 to 1. r=bz
In the old world, XPConnect globals had one reserved slot, which was used to
store a private pointer to the XPCWrappedNativeScope.

Then, in the new DOM bindings landing (bug 740069), we added two slots, one
for DOM_GLOBAL_OBJECT_SLOT, and one for DOM_PROTOTYPE_SLOT.

Then, in bug 761707, we removed DOM_GLOBAL_OBJECT_SLOT, but the slot count
remained at 3.

Then, in bug 797821, we stopped storing the XPCWrappedNativeScope in the slot
on the global, and dropped the XPConnect global count from 3 to 2.

Given the above, we can safely drop it to 1, here. It's easy to check that
this is correct, because reserved slots for globals have a different offset,
which is JSCLASS_GLOBAL_SLOT_COUNT. And according to mxr, the only thing
defined in terms of that is DOM_PROTOTYPE_SLOT (which takes the same value).
This means that all subsequent slots on the global are unused.
2013-08-20 21:21:00 -07:00
Jim Blandy
ad0de92b78 Bug 906891: Short-circuit isSealed and isFrozen for typed arrays. r=sfink 2013-08-20 18:00:02 -07:00
Wes Kocher
5c4403a824 Backed out changeset cfecdf10dcba (bug 614238) for b2g debug bustage on a CLOSED TREE 2013-08-20 15:47:28 -07:00
Hannes Verschore
c7803636f4 Bug 904759 - IonMonkey: Remove unused functions/MIR/LIR related to PolyInlineDispatch, r=djvj 2013-08-20 23:10:23 +02:00
Kan-Ru Chen (陳侃如)
ea0f9e5802 Bug 907117 - IonMonkey: Fix build failure with DEBUG turned on. r=jandem 2013-08-21 02:45:18 +08:00
Ryan VanderMeulen
a3a9ced267 Merge m-c to inbound. 2013-08-20 16:32:33 -04:00
Ryan VanderMeulen
2203bcca10 Merge m-c to fx-team. 2013-08-20 15:33:48 -04:00
Gregory Szorc
ddf5d26ade Bug 896695 - Re-enable accidentally disabled toolkit/devtools/apps xpcshell tests; r=mshal 2013-08-20 10:05:52 -07:00
Ryan VanderMeulen
c18a9a1bec Backed out changeset ef139b6034a5 (bug 890722) for SM rootanalysis orange.
CLOSED TREE
2013-08-20 12:53:29 -04:00
Jon Coppeard
de639b6016 Bug 893184 - Intermittent jsreftest.html?test=ecma_5/JSON/parse-array-gc.js... r=till 2013-08-20 16:40:27 +01:00
Luke Wagner
379aa30296 Bug 907085 - Don't use GetIonContext->cx during GC (r=jandem)
--HG--
extra : rebase_source : 0c442c82e71435dd8712a67cc7f01f00010f1e41
2013-08-20 09:40:16 -05:00
Hannes Verschore
7b4389d9a5 Bug 905396 - IonMonkey: Bailout function of LGenericCall now takes JSObject, r=sstangl 2013-08-20 17:34:50 +02:00
Hannes Verschore
2fdb93d743 Bug 890722: IonMonkey: Implement JSOP_RETRVAL, JSOP_SETRVAL, JSOP_POPV, r=jandem 2013-08-20 17:34:45 +02:00
Andy Wingo
85a0547e9e Bug 907072 - ES6 reftests should run with "default version", not JS 1.8.5. r=jorendorff 2013-08-20 14:54:02 +02:00
Andrew McCreight
9bccf9d325 Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug 2013-08-19 13:49:58 -07:00
Andrew McCreight
eb231a60ec Bug 886176 - Clean up XPCWN's participant. r=smaug 2013-08-19 10:04:03 -07:00
Jan de Mooij
45942b5453 Bug 905993 - Fix SetElementIC temp register. r=nbp 2013-08-20 12:45:31 +02:00
Phil Ringnalda
1423ae7227 Back out 57ee0ba35de6 (bug 858622) for Windows jit-test failures
CLOSED TREE
2013-08-19 19:03:08 -07:00
Dan Gohman
d928b6d48d Bug 906368 - IonMonkey: Define a proper CountPopulation32 function, and use it in place of manual code in RegisterSets.h. r=nbp 2013-08-19 12:32:22 -07:00
Dan Gohman
1bf220766f changeset: 143171:50fded5df4fd
tag:         tip
user:        Dan Gohman <sunfish@google.com>
summary:     Bug 906885 - IonMonkey: Don't use range::isInfinite to test whether the value can be outside the bounds implied by lower() and upper(). r=nbp
2013-08-19 17:04:09 -07:00
Mike Hommey
fe45555b58 Bug 904740 - Add a make macro for including dependency files. r=gps 2013-08-20 09:15:43 +09:00
Mike Hommey
c72ba9fb38 Bug 906240 - Adapt cl.py dependency output to pymake deficiencies ; also add source file to the list of dependencies. r=gps 2013-08-20 09:14:45 +09:00
Jan de Mooij
31a96200a5 Bug 906284 - Fix Ion SetPropertyIC to pass the right value to SetProperty. r=bhackett,efaust 2013-08-20 11:09:16 +02:00
Mike Hommey
c447eb3391 Bug 905938 - Fixup for make -s verbosity. r=gps 2013-08-20 16:21:34 +09:00
Jan de Mooij
86bfd9465b Bug 905989 - Fix a bogus assert and move the is-constructor check to getPolyCallTargets. r=h4writer 2013-08-20 09:19:35 +02:00
Gregory Szorc
acd9d1a011 Bug 905879 - More robust tier tracking; r=glandium 2013-08-20 00:06:32 -07:00
Mike Hommey
15299a27c9 Bug 906403 - Avoid subconfigure fail in incremental builds when some variable like CFLAGS change. r=gps 2013-08-20 15:26:23 +09:00
Mike Hommey
d43cf05e84 Bug 903369 - Wrap subconfigure invocation and restore config.status produced file timestamps if they haven't changed. r=gps 2013-08-20 15:23:28 +09:00
Mike Hommey
463479325c Bug 905938 - Use explicit rules for {export,libs,tools}_tier_%. r=gps 2013-08-20 15:22:42 +09:00
Mike Hommey
d650806aa7 Bug 905938 - Remove Java rules from rules.mk. r=gps 2013-08-20 15:22:33 +09:00
Mike Hommey
12db32ebb7 Bug 905938 - Cancel GNU make builtin implicit rules by forcing -r instead of adding implicit rules to cancel them out. r=gps 2013-08-20 15:21:45 +09:00
Mike Hommey
f66e910130 Bug 905938 - Use explicit rules for %.i, %.s, %.res, moc_% and qrc_%. r=gps 2013-08-20 15:21:35 +09:00
Dan Minor
c76b5e8644 Bug 858622 - Make jit-tests runnable on mobile;r=terrence 2013-08-19 15:21:34 -04:00
Bill McCloskey
deb43ee29d Bug 888898 - Fix rooting in setObjectMetadataCallback (r=bhackett) 2013-08-19 15:22:55 -07:00
Masatoshi Kimura
431087ee79 Bug 856424 - Unpref Components for content. r=bholley 2013-08-20 02:44:31 +09:00
Dan Gohman
ebed0787d3 Bug 894813 - IonMonkey: Avoid temporary invalidity in Range::intersect, and re-enable the Range constructor asserts. r=nbp 2013-08-19 10:36:48 -07:00
Dan Gohman
e468d2fc6d Bug 894813 - IonMonkey: Enable --ion-check-range-analysis in jit_test.py --tbpl. r=jandem 2013-08-19 10:35:46 -07:00
Benjamin Bouvier
fbd60c18d1 Bug 900771: Fold MToString into its input if it's already a string; r=sstangl 2013-08-19 10:32:33 -07:00
Benjamin Bouvier
c2a20f3261 Bug 901105 - Rename movqsd into movq; r=sstangl 2013-08-19 10:29:04 -07:00
Brian Hackett
627343c153 Bug 906331 - Make sure to init() and destroy PerThreadData instances in worker threads, r=billm. 2013-08-19 10:50:03 -06:00
Hannes Verschore
e1ac2e834d Bug 904293: Tracelogger: Make it work on x86, r=jandem 2013-08-19 15:54:41 +02:00
Hannes Verschore
1d918eade7 Bug 906626: Tracelogger: Fix the includes and address style nits, r=njn 2013-08-19 15:54:34 +02:00
Jon Coppeard
3d479ee9f2 Bug 903548 - GC: What do we do for UnmarkGray on a Nursery GCThing? r=billm 2013-08-19 14:48:35 +01:00
Douglas Crosher
6622f5bd08 Bug 871242 - Use js_malloc and js_realloc for the Sprinter to avoid the need for a JSContext. r=luke 2013-08-16 17:34:51 +10:00
Steve Singer
e353d93df5 Bug 906220 - Include yarr/YarrInterpreter.h when not building YARR_JIT. r=luke 2013-08-19 09:16:21 -04:00