Граф коммитов

50589 Коммитов

Автор SHA1 Сообщение Дата
Jon Coppeard c6ddd05588 Bug 1192245 - Fix tests that fail with incremental zeal r=terrence 2015-08-11 12:41:14 +01:00
Jon Coppeard 023c437d83 Bug 1191482 - Improve WeakCache sweep code and add assertions r=terence 2015-08-11 12:41:14 +01:00
Shu-yu Guo 7ed7ff522b Bug 1191177 - Kill staticLevel. (r=efaust) 2015-08-11 03:01:25 -07:00
Shu-yu Guo 0d661e6913 Bug 1191177 - Kill UpvarCookie. (r=efaust) 2015-08-11 03:01:24 -07:00
Shu-yu Guo 3845e56a81 Bug 1179063 - Simplify enclosingStaticScope and rename to innermostStaticScope in BCE. (r=efaust) 2015-08-11 03:01:24 -07:00
Shu-yu Guo 6bae267f46 Bug 1179063 - Hook up the static scope chain in the Parser and replace SharedContext walking with scope walking. (r=efaust) 2015-08-11 03:01:24 -07:00
Jon Coppeard 617bf6071c Bug 1189282 - Refactor parser BindData class r=efaust 2015-08-11 09:27:24 +01:00
Jeff Walden 1b62a9d07b Bug 1158399 - Expose the [[DateValue]] field in Date objects only through a ClippedTime class that enforces prior TimeClip-ing on the given value. r=evilpie, r=bz, r=dhylands, r=mt, r=froydnj, r=khuey, r=baku, r=smaug
--HG--
extra : rebase_source : 803fe39f338b6b32cb0fe2be6cf4056bab57283a
2015-05-01 19:12:52 -07:00
Ryan VanderMeulen a7ea8705c1 Backed out changesets db4294fb662d and de9ae2ccb73b (bug 1181175) for Android test_compartments.js failures.
CLOSED TREE
2015-08-10 15:07:27 -04:00
Terrence Cole b921a75b71 Bug 1189112 - Part 2: simplify rooting of ScriptsAndCountsVector with PersistentRooted; r=nbp
--HG--
extra : rebase_source : 3f80f8fcdcbee534c53171683d211e0ed5e25add
2015-07-29 14:59:49 -07:00
Terrence Cole 49c3cba496 Bug 1189112 - Part 1: Use TraceableVector to simplify tracing of ScriptsAndCountsVector; r=nbp
--HG--
extra : rebase_source : c75db0b631d1bc60938062042b7edfc1737d600c
2015-07-29 14:59:49 -07:00
Terrence Cole cc3fc648da Bug 1188620 - Use PersistentRooted for asyncActivation roots; r=fitzgen
--HG--
extra : rebase_source : 9b568b6b35b9090efaf1f10ba473cfee2db298ab
2015-07-29 10:23:14 -07:00
Nick Fitzgerald 050a672216 Bug 1192456 - Use perfect forwarding for DispatchWrapper rather than explicit move and copy constructors. r=terrence
--HG--
extra : rebase_source : 68ee85bb409b0328eb935ddba00dc64e4f3efa86
2015-08-07 17:47:00 -04:00
Morgan Phillips 026acb1246 Bug 1186724 - Make BytecodeEmitter::emit2 take a uint8_t instead of a jsbtyecode; r=arai
We expect the second operand value to be an arbitrary byte. This alleviates the needs for spurious casting.
2015-08-10 09:19:37 -07:00
David Rajchenbach-Teller 4daefcd581 Bug 1181175 - Telemetry for finding out how often our process is rescheduled to another CPU. r=jandem, r=bsmedberg
--HG--
extra : transplant_source : %94Od-%F4U%88U%0C%DA%28%F3%B6%8D%7F%E7%88%1FTH
2015-07-29 19:01:05 +02:00
David Rajchenbach-Teller d326242e8b Bug 1181175 - Use RDTSC for Performance Monitoring instead of getrusage. r=jandem
--HG--
extra : transplant_source : %8D%A9%CC%17Dj9-%81T%B2%0D%E1%EA%BD%05%C7%DCl%CB
2015-07-07 18:45:54 +02:00
Nathan Froyd 0ed8ed22e8 Bug 967544 - make gServiceInterrupt Atomic; r=Waldo
|volatile| doesn't guarantee inter-thread safety.  Atomic<> does.
2015-08-07 02:59:19 -04:00
Andrea Marchesini 01049623d7 Bug 1188612 - Transferable errors should become NS_DOM_DATA_CLONE_ERR, r=sfink 2015-08-10 16:13:24 +01:00
Brian Hackett 96b97bdbd8 Bug 1190272 - Improve type checks when storing values into unboxed objects in Ion code, r=jandem. 2015-08-09 18:55:49 -06:00
Brian Hackett 8b154eaab1 Bug 1190002 - Don't compile baseline stubs for sets to unboxed arrays when there is no JIT FPU support, r=jandem. 2015-08-09 18:52:08 -06:00
Brian Hackett e333e372e1 Bug 1189980 - Allow changing the object definition during optimized compilation of Array.push, r=jandem. 2015-08-09 18:48:45 -06:00
Bill McCloskey 0eaddb2f65 Back out bug 1181908 (again) for suspicion of causing bug 1191465 and other GC crashes. 2015-08-09 08:42:40 -07:00
Phil Ringnalda 0c554f1795 Back out 4 changesets (bug 1189490) for Linux32 Jit2 failures
Backed out changeset 1ec4867e4e8c (bug 1189490)
Backed out changeset 8bf626d3a647 (bug 1189490)
Backed out changeset 1a1ad27321de (bug 1189490)
Backed out changeset 858b4f682c5a (bug 1189490)
2015-08-08 23:30:50 -07:00
Nick Fitzgerald 6ef8b3add1 Bug 1189490 - Follow ups: Move [Traceable]Fifo to js/src/ds; r=terrence
--HG--
rename : js/public/Fifo.h => js/src/ds/Fifo.h
rename : js/public/TraceableFifo.h => js/src/ds/TraceableFifo.h
2015-08-08 15:19:52 -07:00
Nick Fitzgerald c89311aa13 Bug 1189490 - Part 2: Stop using mozilla::LinkedList for the allocations and tenure promotions logs and use js::TraceableFifo instead; r=terrence 2015-08-08 15:19:52 -07:00
Nick Fitzgerald c2227f165b Bug 1189490 - Part 1: Add a JS::Traceable version of the FIFO queue for use with GC things; r=terrence 2015-08-08 15:19:52 -07:00
Nick Fitzgerald 6e26f2258a Bug 1189490 - Part 0: Add a FIFO queue container type to js/public; r=terrence 2015-08-08 15:19:52 -07:00
Jeff Walden b0237bef1c Bug 1183400 - Fold class nodes by kind. r=shu
--HG--
extra : rebase_source : 1193bddb546dd2ea2c2c039abb38d6ca4f131862
2015-07-13 13:09:54 -07:00
Jeff Walden 6f5f867ec8 Bug 1183400 - Fold try/catch by kind. r=shu
--HG--
extra : rebase_source : 4d286dd51015f4d9a696c53a70b7ac25382a070b
2015-07-13 13:09:54 -07:00
Jeff Walden 22d96b3ca2 Bug 1183400 - Constant-fold yield/yield*/return by kind and not arity. r=shu
--HG--
extra : rebase_source : bac3d18ffe09939831b7f93ab20381cbe948602b
2015-07-09 20:58:14 -07:00
Jeff Walden 82534d8d95 Bug 1183400 - Fold various list nodes not given, nor requiring, special treatment. r=shu
--HG--
extra : rebase_source : 6f775f21c0cbd7b239670e6c9c68241634ef4ace
2015-07-09 20:42:19 -07:00
Shu-yu Guo 5683b4cc23 Bug 1036574 - Revert horrible workaround in baseline IC for magic arg callee. (r=me) 2015-08-07 15:14:04 -07:00
Tom Schuster 604df29811 Bug 1189872 - Make {Map, Set}.prototype an ordinary object. r=Waldo 2015-08-07 21:21:07 +02:00
Nathan Froyd 36e2c2b3a1 Bug 1192278 - empower |make check-jit-test| to specify a subset of tests to run; r=terrence
Calling:

  make check-jit-test JITTEST_TEST_ARGS=basic/

will now run all tests whose name includes "basic/".  Similarly, running:

  make check-jit-test JITTEST_TEST_ARGS=basic/timeout-check.js

will run only basic/timeout-check.js.
2015-08-07 03:21:13 -04:00
Nathan Froyd 309d289411 Bug 1192071 - use llvm-symbolizer when running jit-tests under TSan; r=mshal
Just like ASan, TSan can use llvm-symbolizer, except that it requires a
slightly different setup.
2015-08-07 02:56:41 -04:00
Wes Kocher 1932e939ba Merge m-c to inbound, a=merge 2015-08-06 18:42:15 -07:00
Wes Kocher 4f23694eb2 Backed out changeset fdf5862a8c00 (bug 1176451) a=backout 2015-08-06 18:38:22 -07:00
Nathan Froyd 0a5095ccbf Bug 1191884 - remove now-unnecessary check for GCC PR49911; r=glandium
This PR was fixed in the GCC 4.7 development cycle.  Since we require
GCC 4.7 now, we no longer have to check for this bug.
2015-08-06 20:41:38 -04:00
Ryan VanderMeulen bac91f37d2 Merge inbound to m-c. a=merge 2015-08-06 15:22:37 -04:00
Ryan VanderMeulen 5c8a1e60a2 Backed out changeset 2f16fb18314a (bug 1181908) for suspicion of causing bug 1191492 and other topcrashes. a=me 2015-08-06 13:28:32 -04:00
Wes Kocher 4fd5119a0c Merge m-c to fx-team, a=merge 2015-08-05 16:49:08 -07:00
Brian Hackett 36be9da34a Bug 1175538 - Ensure str_split result object has the right group. r=jandem
--HG--
extra : rebase_source : 9e79e93939fbfbab519bfebc288f3a39d052d07d
2015-08-05 11:53:01 -04:00
Boris Zbarsky 11d4b0065f Bug 1181908. The CompileOptions constructor should properly copy the introducerFilename and isRunOnce state. r=luke 2015-08-06 15:34:06 -07:00
Jason Orendorff 996744154e Bug 1191292 - Keep ecma_6/Reflect/apply.js from permafailing when Gecko 42 merges to Aurora. r=Waldo.
--HG--
extra : commitid : EeGMbyJL0Du
extra : rebase_source : a555132dee99b2a3b3e3816032d3a821f77fa29c
extra : amend_source : 54942b865cd000c90626a71c6c22d5dfd3d3b0b1
2015-08-06 15:50:06 -05:00
David Rajchenbach-Teller b15ead3583 Bug 1190074 - PerformanceGroup now uses mozilla::RefPtr;r=jandem
--HG--
extra : commitid : Lgjxhy98Hha
extra : rebase_source : 3bf9b7a15eba79383a0facc914799a981fa8ecd7
2015-07-27 23:01:42 +02:00
Nick Fitzgerald 28b830d9cd Bug 1166524 - Provide short labels and longer descriptions for GC reasons; r=jsantell,terrence 2015-08-05 13:47:45 -07:00
Birunthan Mohanathas 7315345693 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Brian Hackett 6e34a2663c Bug 1189137 - Don't treat integer stores to unboxed objects as truncated, r=jandem. 2015-08-04 15:41:26 -07:00
Sean Stangl e482bc8561 Bug 1191552 - Move some common LIR to shared code. r=nbp 2015-07-23 15:36:51 -07:00
Sean Stangl da17da38e4 Bug 1191531 - Fill in AtomicOperations-arm64.h. r=lth 2015-08-05 14:17:28 -07:00
Ryan VanderMeulen 3ace4eac25 Bug 1138693 - Add an early quit to the test if TypedObject isn't enabled. r=nbp 2015-08-05 09:11:19 -04:00
Florian Merz ef2f743415 Bug 1184414 - X.[[SetPrototypeOf]](Y) should succeed if X.[[Prototype]] is already Y. r=jorendorff.
--HG--
extra : commitid : Bmld0IzIMZK
extra : rebase_source : bbe8f933dd901c70ae2147af372a4100dd476213
2015-07-28 07:35:22 +02:00
Carsten "Tomcat" Book 816d88e7a2 Backed out changeset 3f861148c83c (bug 1191236) for hazard bustage 2015-08-06 13:04:18 +02:00
Jon Coppeard a2d36e844e Bug 1191236 - Remove extract() methods used by operation forwarding on rooting types r=terrence 2015-08-06 10:23:21 +01:00
Makoto Kato 0728b9028d Bug 1187773 - Don't include heapapi.h from js/public. r=jorendorff 2015-08-06 15:34:08 +09:00
Makoto Kato f2347c180c Backed out changeset a3243d1ec51f due to invalid bug number 2015-08-06 15:32:14 +09:00
Lars T Hansen bb47fb0015 Bug 1183060 - wrong code generated for x86 word operations. r=sunfish 2015-08-05 09:20:28 +02:00
Makoto Kato 2f0bdf40c9 Bug 187773 - Don't include heapapi.h from js/public. r=jorendorff 2015-08-06 11:48:46 +09:00
Terrence Cole 84c0f029d1 Backout d6dea3334b6c (Bug 1188620) for suspecting crashes.
--HG--
extra : rebase_source : a0aafd93d413170da63fae5fc9e33583108a1e4a
2015-08-05 17:10:10 -07:00
Terrence Cole 56037bad8d Backout abc018892155 (Bug 1189112) for suspected crashes.
--HG--
extra : rebase_source : fd1ea02ff8d0eac45a9363a3e3b67ee1ae4e92c1
2015-08-05 17:08:33 -07:00
Terrence Cole 55eae75751 Backout 027800a23ccb (Bug 1189112) for suspected crashes.
--HG--
extra : rebase_source : 0b519e907e15b619c278ff18feedc140d7209bb1
2015-08-05 17:06:53 -07:00
Terrence Cole bbe35a1f30 Backout 6249e4edb023 (Bug 1191099) for build bustage on a CLOSED TREE. 2015-08-05 12:09:19 -07:00
Terrence Cole 7eac637ada Bug 1191099 - Replace AutoFunctionVector usage with Rooted; r=jonco
--HG--
extra : rebase_source : fe7e2e37c02f759dbb81427a83ad240f221bcae2
2015-08-04 10:38:24 -07:00
Terrence Cole 46805ee873 Bug 1191098 - Replace AutoHashableValueRooter with Rooted<HashableValue>; r=jonco
--HG--
extra : rebase_source : 706446a679cf5ecf26c9f8c10fa8b8402d93f4bc
2015-08-04 09:23:27 -07:00
Terrence Cole 5ca2531325 Bug 1190911 - Replace AutoIdValueVector with normal Rooted usage; r=jonco
--HG--
extra : rebase_source : 547d2114edbed516d183e1dbf8005b0c2afb70e6
2015-08-04 08:50:12 -07:00
Sean Stangl d738aed0de Bug 1183842 - Use InvertCondition to expand the range of conditional branches. r=h4writer 2015-07-14 12:20:02 -07:00
Terrence Cole 5d2028c280 Bug 1190636 - Replace AutoStringVector with Rooted usage; r=njn 2015-08-03 17:39:03 -07:00
Terrence Cole 5d9fc3d582 Bug 1186626 - Part 5: Remove AutoShapeVector; r=sfink
--HG--
extra : rebase_source : 3260e796aec30d06853d77df0071834d8d697aa7
2015-07-23 08:19:08 -07:00
Terrence Cole f991f40d10 Bug 1186626 - Part 4: Convert ShapeVectors in jsobj.cpp; r=jonco
--HG--
extra : rebase_source : cc53efca03136ddf3486bda6d750aa6c8cf6e709
2015-07-23 08:19:08 -07:00
Terrence Cole 225917115e Bug 1190457 - Replace AutoPropertyDescriptorVector with normal Rooted usage; r=jonco
--HG--
extra : rebase_source : f4dcbc4732affa1097483798f053dc6788f3354d
2015-08-03 17:30:47 -07:00
Wes Kocher a1f92b90f8 Merge m-c to inbound, a=merge 2015-08-04 14:55:21 -07:00
Dustin J. Mitchell c282e7ee64 Bug 1188780: remove setup.sh invocations, as they fail outside the mock environment; r=glandium a=RyanVM
--HG--
extra : commitid : 3HR6gFf4X5d
extra : amend_source : 3dd92f09fe8be68ade544131f4d266c77df6b9a5
2015-08-04 17:41:07 -04:00
Mike Hommey aecd8d231d Bug 1188780 - Include debug symbols in gtk3 tooltool package. r=mshal
(relanding of http://hg.mozilla.org/mozilla-central/rev/a9d3df6e14e0)

--HG--
extra : commitid : GDNpuogmPyb
extra : amend_source : 91e46c707c6f244f7951dc44d9313d00dd0f2b1e
2015-08-04 17:26:11 -04:00
Ryan VanderMeulen 1d5a6d99ea Merge inbound to m-c. a=merge 2015-08-04 15:53:06 -04:00
Ryan VanderMeulen 153b5ed799 Merge fx-team to m-c. a=merge 2015-08-04 15:50:01 -04:00
Ryan VanderMeulen 6937c1a640 Backed out changeset a9d3df6e14e0 (bug 1188780) for causing bug 1190860. a=bustage 2015-08-04 15:21:57 -04:00
Till Schneidereit 241d068c5e Bug 1190727 - Make initialization of temporary results array resilient against Array.prototype setters in self-hosted Map#next implementation. r=jandem
--HG--
extra : rebase_source : a934d2238d373178e51cb5b7e254c2702909b2f2
2015-08-04 14:58:27 +02:00
Carsten "Tomcat" Book 23bed70f46 Merge mozilla-central to fx-team 2015-08-04 13:45:01 +02:00
Carsten "Tomcat" Book 7f6975f7d3 Backed out changeset d4d78ac3f0d2 (bug 1190074) for memory leaks 2015-08-04 11:35:03 +02:00
Nicolas B. Pierron 9ac5d002ee Bug 1189750 - Fix JSScript::getPCCounts to return a reference instead of a copy. r=bhackett 2015-08-04 11:03:03 +02:00
Andrew McCreight 411609d79a Bug 1155773 - Remove gotos from XPCConvert::NativeArray2JS(). r=bholley
--HG--
extra : rebase_source : 4025b380f63bf87dae43becde7b5cf21ffc4ac0a
2015-08-03 11:47:00 +02:00
Nicholas Nethercote d98d14fa1e Bug 1189156 (part 4) - Don't use enumeration style for nsBaseHashtable::SizeOf{In,Ex}cludingThis(). r=erahm,jfkthame.
After this change, we have ShallowSizeOf{In,Ex}cludingThis(), which don't do
anything to measure children. (They can be combined with iteration to measure
children.)

--HG--
extra : rebase_source : f98420176f50990bbc5a25e35788328154cfeb00
2015-07-30 21:19:57 -07:00
David Rajchenbach-Teller 7a8967cd5d Bug 1188616 - CPOW monitoring should use JS_Now instead of PR_IntervalNow. r=jandem
--HG--
extra : transplant_source : %B1%1C2%98%5C%83.b%C6%D0%C1%A9%AF5%03%22%06g%3E%7B
2015-07-30 14:29:52 +02:00
Sean Stangl 6dfab1fc9a Bug 1188650 - Part 2/2 - Make shared/LOpcodes-shared.h. r=nbp 2015-08-03 15:48:19 -07:00
Sean Stangl e465ac7a5f Bug 1188650 - Part 1/2 - Rename LIR-Common.h to shared/LIR-shared.h. r=nbp 2015-07-28 15:25:07 -07:00
David Rajchenbach-Teller 89be58a771 Bug 1190074 - PerformanceGroup now uses mozilla::RefPtr. r=jandem
--HG--
extra : transplant_source : %BB%CB%C2%7B%85%19%C4z%27%25%B8%BB%B8p%3F%C0%ED%B9%00%18
2015-07-27 23:01:42 +02:00
Ryan VanderMeulen e92385c9c6 Merge m-c to inbound. a=merge
CLOSED TREE
2015-08-04 15:54:01 -04:00
Kannan Vijayan 0105dc12a5 Bug 1145442 - Add documentation for JIT strategies. r=shu 2015-08-04 09:58:00 -04:00
Andrew McCreight c3dc941170 Bug 1190436 - Part 2: Use an early return in XPCConvert::JSObject2NativeInterface. r=gabor 2015-08-03 11:48:00 -04:00
Andrew McCreight 074f97cf4c Bug 1190436 - Part 1: Use more smart pointers in XPConnect. r=gabor 2015-08-03 11:47:00 -04:00
Mike Hommey 1ad743e164 Bug 1188780 - Include debug symbols in gtk3 tooltool package. r=mshal
At the same time, include a setup script to replace parts of mozconfig.gtk.
2015-08-04 07:05:23 +09:00
Mike Hommey c2ba6b7aa9 Bug 1186748 - Switch hazard and root analysis builds to Gtk+3. r=mshal 2015-08-04 07:05:21 +09:00
Brian Hackett 0f1cdda9e1 Bug 1176451 - Optimize Array.concat when used on different types of boxed vs. unboxed arrays, r=jandem. 2015-08-03 14:32:40 -07:00
Brian Hackett 636412d090 Bug 1182865 - Relax assertion on the allowed class for home objects, r=efaust 2015-08-03 14:02:23 -07:00
Boris Zbarsky bf180d5715 Bug 1181908. The CompileOptions constructor should properly copy the introducerFilename and isRunOnce state. r=luke 2015-08-03 11:51:57 -04:00
Terrence Cole 2c74e200cd Bug 1189906 - Remove the unused UseSavedRoots enum; r=jonco
--HG--
extra : rebase_source : 62ef5c2c63d11305dc30f9b1a76020a8705a2c77
2015-07-31 13:07:13 -07:00
Terrence Cole 6aaa2346d4 Bug 1189112 - Part 2: simplify rooting of ScriptsAndCountsVector with PersistentRooted; r=nbp
--HG--
extra : rebase_source : 7f340bb113b917d5818823c6567aa677df1d963a
2015-07-29 14:59:49 -07:00
Terrence Cole 8ca6843051 Bug 1189112 - Part 1: Use TraceableVector to simplify tracing of ScriptsAndCountsVector; r=nbp
--HG--
extra : rebase_source : 7ef9fc2d7841fadf4e607ff9d383083f69f0c26e
2015-07-29 14:59:49 -07:00
Terrence Cole 8a66130f59 Bug 1189072 - Make DefaultTracer for struct types call T::trace; r=fitzgen
--HG--
extra : rebase_source : b2f06cc6128d2470363d8a96229434222a0ffb01
2015-07-29 14:59:49 -07:00
Terrence Cole b9287719d8 Bug 1188620 - Use PersistentRooted for asyncActivation roots; r=fitzgen
--HG--
extra : rebase_source : fa9d7ce19d68b9571e733da12d6edb3d9cd2d810
2015-07-29 10:23:14 -07:00
Terrence Cole 5642c1e57a Bug 1188445 - Allow PersistentRooted to store StaticTraceable; r=sfink
--HG--
extra : rebase_source : 388eda7d637ed89ef2da99408caec9ea91ca61cd
2015-07-28 09:21:32 -07:00
Terrence Cole b63cc4b216 Bug 1189809 - Remove the ill-fated DynamicTraceable; r=jonco
--HG--
extra : rebase_source : 31b4c475a8459ef42f2be68bbf0f1ca3d5b7d0d4
2015-07-31 08:27:12 -07:00
Carsten "Tomcat" Book 9a0fd3701a Backed out changeset 00726df4997c (bug 1190074) for bustage on a CLOSED TREE 2015-08-03 17:06:15 +02:00
Carsten "Tomcat" Book 3099b49bbd Backed out changeset e057fc16e2e0 (bug 1187233) for breaking GU tests in month_day_agenda_test.js on a CLOSED TREE 2015-08-03 16:25:56 +02:00
Ryan VanderMeulen cff5fd2fd2 Backed out changeset 85e86b04035c (bug 1188616) for bustage.
CLOSED TREE

--HG--
extra : amend_source : 20a356e63a9d02241fab881ad089ab2eb4a68c0f
2015-08-03 10:18:20 -04:00
Ryan VanderMeulen 056da3e011 Backed out changeset c8d9d720a30e (bug 1190077) for Android bustage.
CLOSED TREE

--HG--
rename : js/src/vm/Time.cpp => js/src/prmjtime.cpp
rename : js/src/vm/Time.h => js/src/prmjtime.h
extra : amend_source : f55a8e8fbb4d3ea33b999f906a1aeb756a7c4319
2015-08-03 09:54:50 -04:00
David Rajchenbach-Teller 9bc7e118ef Bug 1190074 - PerformanceGroup now uses mozilla::RefPtr. r=jandem
--HG--
extra : transplant_source : x%7E%0B%A2%16q%2A%EA%9BB%E0%E5vII%1B%81%C4v%9B
2015-07-27 23:01:42 +02:00
David Rajchenbach-Teller 0ee3baf799 Bug 1188616 - CPOW monitoring should use JS_Now instead of PR_IntervalNow. r=jandem
--HG--
extra : transplant_source : %B9h%9D%1B%CF%19%D5%D9%D2%BDo.%3D%D9%EB%0E%03%EF%95%B7
2015-07-30 14:29:52 +02:00
Carsten "Tomcat" Book 49d83b3b7d Merge mozilla-central to mozilla-inbound 2015-08-03 15:45:57 +02:00
Carsten "Tomcat" Book ecaa52f350 Backed out changeset d093c57c6835 (bug 1186748) for causing Bug 1190180 2015-08-03 14:36:14 +02:00
Carsten "Tomcat" Book 9b61dabe97 Backed out changeset 2238409de271 (bug 1188780) 2015-08-03 14:35:03 +02:00
Shu-yu Guo ae6469ddd5 Bug 1179063 - Cleanup: remove useless pn_index. (r=me) 2015-08-02 15:11:39 -07:00
Shu-yu Guo c04b0be1f1 Bug 1182730 - Followup: only mark the JitcodeGlobalMap when profiling is on. (r=djvj) 2015-08-02 15:11:39 -07:00
Till Schneidereit 9c202fac81 Bug 1129313 - Part 2: self-host MapIteratorObject#next(). r=jandem 2015-08-01 00:13:26 +02:00
Wes Kocher 6cd7de0f35 Backed out 4 changesets (bug 1189490) for build and SM bustage CLOSED TREE
Backed out changeset c0eef95cd0cb (bug 1189490)
Backed out changeset 5158c4514c34 (bug 1189490)
Backed out changeset 78f80496c70a (bug 1189490)
Backed out changeset cebec1f7c9db (bug 1189490)
2015-07-31 14:10:30 -07:00
Nick Fitzgerald 05d1373996 Bug 1189490 - Follow ups: Move [Traceable]Fifo to js/src/ds; r=terrence
--HG--
rename : js/public/Fifo.h => js/src/ds/Fifo.h
rename : js/public/TraceableFifo.h => js/src/ds/TraceableFifo.h
2015-07-31 13:27:44 -07:00
Nick Fitzgerald cacf0e7718 Bug 1189490 - Part 2: Stop using mozilla::LinkedList for the allocations and tenure promotions logs and use js::TraceableFifo instead; r=terrence 2015-07-31 13:27:44 -07:00
Nick Fitzgerald 9fab7634d7 Bug 1189490 - Part 1: Add a StaticTraceable version of the FIFO queue for use with GC things; r=terrence 2015-07-31 13:27:44 -07:00
Nick Fitzgerald f0948c0e7a Bug 1189490 - Part 0: Add a FIFO queue container type to js/public; r=terrence 2015-07-31 13:27:44 -07:00
Boris Zbarsky 57621e1167 Bug 1135961. Implement subclassing of DOM objects. r=peterv 2015-07-31 13:30:55 -04:00
Mike Hommey fca3b07577 Bug 1188780 - Include debug symbols in gtk3 tooltool package. r=mshal
At the same time, include a setup script to replace parts of mozconfig.gtk.
2015-07-31 16:42:07 +09:00
Mike Hommey ff7a038039 Bug 1186748 - Switch B2G desktop, hazard and root analysis builds to Gtk+3. r=mshal 2015-07-31 16:39:10 +09:00
Shu-yu Guo 7a9e7ed01c Bug 1179063 - Cleanup: Rename scopal back to scopeStmt. (r=me) 2015-07-30 22:17:04 -07:00
Shu-yu Guo c62209ec7d Bug 1179063 - Cleanup: remove dead argument to Parser::parse. (r=efaust) 2015-07-30 22:17:04 -07:00
Shu-yu Guo b12e82d49e Bug 1179063 - Cleanup: rename top -> innermost, down -> enclosing in StmtInfoStack. (r=efaust) 2015-07-30 22:17:04 -07:00
Shu-yu Guo 38b0594b81 Bug 1179063 - Cleanup: remove topStaticScope in favor of using topScopeStmt. (r=efaust)
This is to distinguish between getting the top scope associated with a
statement local to the script, or the innermost scope, which may not be
local to the script.
2015-07-30 22:17:04 -07:00
Shu-yu Guo 33d46afa7e Bug 1179063 - Cleanup: use StmtInfoStack inside BCE and remove templated StmtInfo helper functions. (r=efaust)
The BCE did not get the RAII treatment the Parser got, because all the
enter/exit scope operations in the BCE are fallible. Separating out the
fallible paths from the statement stack management made things less
readable.
2015-07-30 22:17:04 -07:00
Shu-yu Guo ffa741f3de Bug 1179063 - Cleanup: use an RAII struct to manage the parser statement stack. (r=efaust) 2015-07-30 22:17:04 -07:00
Shu-yu Guo 5aed9ed0d5 Bug 1179063 - Cleanup: remove superfluous StmtInfoBase::isNestedScope. (r=efaust) 2015-07-30 22:17:04 -07:00
Shu-yu Guo 65db0e7c9b Bug 1179063 - Cleanup: make StmtType an enum class. (r=efaust) 2015-07-30 22:17:04 -07:00
Nicholas Nethercote 2d56c1f52e Bug 1189156 (part 1) - Don't use enumeration style for PLDHashTable::SizeOf{In,Ex}cludingThis(). r=froydnj.
After this change, we have PLDHashTable::ShallowSizeOf{In,Ex}cludingThis(),
which don't do anything to measure children. (They can be combined with
iteration to measure children.)

This patch also removes the PL_DHashTableSizeOf{In,Ex}cludingThis() functions.
They're not necessary because the methods can be used instead.

Finally, the patch deliberately converts some SizeOfExcludingThis() calls to
SizeOfIncludingThis(). These are all done on heap pointers so this change is
valid.

--HG--
extra : rebase_source : b1d51096a8e7dcac29d7efd92e28938836ff5481
2015-07-29 22:28:20 -07:00
Terrence Cole 58421b285d Bug 1166041 - Wait for nursery sweeping to finish before shutting down; r=jonco
--HG--
extra : rebase_source : 3e72487ba789cd5825612253c87d52df0304ff3e
2015-07-29 08:57:14 -07:00
Jeff Walden 1016abaae4 Bug 1183400 - Remove a now-unused variable, following up on the ?:/if-node folding changes. r=trivial, r=orange in a CLOSED TREE 2015-07-30 16:58:58 -04:00
Jeff Walden 9e00194b7d Bug 1183400 - Fold binary arithmetic operations by kind, not arity. r=efaust
--HG--
extra : rebase_source : e8a14de4979b2f991e4460348bc7da62a0d6b902
2015-07-08 13:54:14 -07:00
Jeff Walden 3a68b925b9 Bug 1183400 - Fold function nodes by kind. r=efaust
--HG--
extra : rebase_source : 86c204a7eabe05b9f435b835a6da74f251e8926c
2015-07-08 13:54:14 -07:00
David Rajchenbach-Teller f2d723c01e Bug 1190077 - Move RDTSC and prmjtime.* to vm/Time.*. r=nbp
CLOSED TREE

--HG--
rename : js/src/prmjtime.cpp => js/src/vm/Time.cpp
rename : js/src/prmjtime.h => js/src/vm/Time.h
extra : transplant_source : %1A%F6pd%BD%DB%C6%3F%0Ce%3C%8E%9B%9C%16j%19m%ABA
2015-07-07 18:47:40 +02:00
David Rajchenbach-Teller ff2d4eea01 Bug 1190077 - Move RDTSC and prmjtime.* to vm/Time.*. r=nbp
--HG--
rename : js/src/prmjtime.cpp => js/src/vm/Time.cpp
rename : js/src/prmjtime.h => js/src/vm/Time.h
extra : transplant_source : D%93lf%20%074%5D%DBH%03%DC%EF%3E%E9IL%E4x%A3
2015-07-07 18:47:40 +02:00
Jon Coppeard d9201b8c3d Bug 1189722 - Fix const methods in MutableTraceableVectorOperations r=terrence 2015-08-03 11:47:11 +01:00
Spenser Andrew Bauman 3d91cf2d79 Bug 1189117 - IonMonkey: treat ObjectState instructions as effect free for the purposes of AliasAnalysis. r=nbp 2015-07-30 10:05:00 +02:00
Giovanni Sferro 8594823f0a Bug 1187233 - Date constructor creates a copy when called with a Date object. r=jwalden
--HG--
extra : transplant_source : %A7%A1%98%DF%A1%0EtsP%2A%C2%0F%C6%A8Q%5CS%95%D1%BD
2015-07-29 22:47:51 -07:00
Jeff Walden 52ebaf1335 Bug 1183400 - Fold and/or expressions. r=efaust
--HG--
extra : rebase_source : c7fc9818829a44461e12601863d498293c2e919a
2015-05-28 13:47:54 -07:00
Jeff Walden 16aed0f1eb Bug 1183400 - Fold various simple unary cases by kind. r=efaust
--HG--
extra : rebase_source : 9b32415c40cc5438e3fee3e6adea4ac34f65284b
2015-05-22 19:02:41 -07:00
Jeff Walden a5e52cd227 Bug 1183400 - Fold |if| nodes by kind. r=efaust
--HG--
extra : rebase_source : a9c717fd94ba5950e24dd4e67ace07187b8f2d1a
2015-07-08 13:54:14 -07:00
Jeff Walden 282726b77d Bug 1183400 - Fold ?: expressions by kind. r=efaust
--HG--
extra : rebase_source : d35c13dc3c60b47aa558c8ed3f0bfdac4c94108e
2015-07-08 13:54:14 -07:00
Ian Stakenvicius f40d8624a1 Bug 1189011 - Fix JS_CHECK_STACK_SIZE define for stack-growing-up case (hppa). r=jandem 2015-07-29 12:06:00 -04:00
Ryan VanderMeulen 4bd08c521b Merge m-c to inbound. a=merge 2015-07-30 16:09:17 -04:00
Ryan VanderMeulen 7c486ed4c2 Merge inbound to m-c. a=merge 2015-07-30 16:08:21 -04:00
Ryan VanderMeulen bbe2cb322a Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-30 11:56:41 -04:00
Ryan VanderMeulen efd357143c Backed out changeset ada6cd4da281 (bug 1186748) for introducing various intermittent ASAN mochitest failures. 2015-07-30 11:52:49 -04:00
Alexandre Poirot 5f9afbc4de Bug 1182194 - Convert LayoutHelpers.jsm into a commonjs module. r=jwalker
--HG--
rename : toolkit/devtools/LayoutHelpers.jsm => toolkit/devtools/layout-helpers.js
2015-07-30 06:14:08 -07:00
Mike Hommey 5bb3772feb Bug 1186748 - Switch B2G desktop, ASan, hazard and root analysis builds to Gtk+3. r=mshal 2015-07-30 08:49:29 +09:00
Wes Kocher 8b46dd40ed Backed out changeset 54a082b01174 (bug 1188197) for various SM and CPP failures CLOSED TREE
--HG--
extra : amend_source : ab58a158fa9346c7c2b4991577f14119d0edbad8
2015-07-29 16:46:20 -07:00
Wes Kocher d883fd1c98 Backed out changeset a5c748f78e97 (bug 1188445) 2015-07-29 16:46:19 -07:00
Wes Kocher 8b30de19e8 Backed out changeset 6eebf397a8c2 (bug 1166041) 2015-07-29 16:46:18 -07:00
Terrence Cole 444e5712a9 Bug 1166041 - Wait for nursery sweeping to finish before shutting down; r=jonco
--HG--
extra : rebase_source : 69979426eea5b35354b22dc744e794ed33438398
2015-07-29 08:57:14 -07:00
Terrence Cole 3940b5fcb7 Bug 1188445 - Allow PersistentRooted to store StaticTraceable; r=sfink
--HG--
extra : rebase_source : 822ae00de85dc8c32158628fb89ae1463e185aea
2015-07-28 09:21:32 -07:00
Terrence Cole 59f4a2e6df Bug 1188197 - Allow PersistentRooted to store DynamicTraceable; r=sfink
--HG--
extra : rebase_source : 0e997c9ff3450fcabafcde37e639951d2dcd15a5
2015-07-24 15:09:28 -07:00
Jim Blandy 414be8bf9b Bug 1180047: Debugger.prototype.findObjects should not return objects that must not be exposed to JS. r=fitzgen
--HG--
extra : rebase_source : b9f7cc2841ae717d57b5a29db0bde09a023bceb1
2015-07-06 11:43:22 -07:00
Sean Stangl 9cd47d44b6 Bug 1187094 - Part 2/2 - Fix non-unified build. r=efaust 2015-07-27 15:18:31 -07:00
Sean Stangl 07972b70ae Bug 1187094 - Part 1/2 - Move Lowering's visitConstant() to shared code. r=nbp 2015-07-23 15:26:52 -07:00
Ehsan Akhgari a056599e07 Bug 1188208 - Fix more constructors in js; r=jorendorff 2015-07-30 14:03:17 -04:00
Ryan VanderMeulen 5376cacdc0 Backed out changesets f251b3836314 and 47fe6e30240d (bug 1179063) for mass build bustage.
CLOSED TREE
2015-07-30 12:56:01 -04:00
Shu-yu Guo c288c0dbec Bug 1179063 - Cleanup: remove superfluous StmtInfoBase::isNestedScope. (r=efaust) 2015-07-30 09:25:41 -07:00
Shu-yu Guo bd87127dc7 Bug 1179063 - Cleanup: make StmtType an enum class. (r=efaust) 2015-07-30 09:25:41 -07:00
Jon Coppeard 554ecd17bc Bug 1188836 - Fix compacting GC zone selection by passing total arena count to ShouldRelocateZone() r=terrence 2015-07-30 11:04:12 +01:00
Jon Coppeard d4df6b7824 Bug 1188936 - Release/protect relocated arenas earlier r=terrence 2015-07-30 11:02:27 +01:00
Jon Coppeard 7e545d5e6d Bug 1188408 - Udate cell pointers after updating roots at the end of compacting a zone r=terrence 2015-07-30 10:55:52 +01:00
Jon Coppeard 95afc83e95 Bug 1188408 - Make incremental zeal mode exercise compacting GC too r=terrence 2015-07-30 10:55:52 +01:00
Jon Coppeard 9322a5d071 Bug 1188408 - Simplify ArenasToUpdate iteration r=terrence 2015-07-30 10:55:52 +01:00
Jon Coppeard 81cbb1f051 Bug 1188408 - Rearrange relocation overlay so we don't change object group during compacting r=terrence 2015-07-30 10:55:51 +01:00
Jon Coppeard 60e23a7361 Bug 1188408 - Factor out functions to protect/unprotect pages on different architectures r=terrence 2015-07-30 10:55:51 +01:00
Jon Coppeard 3f7e77bc16 Bug 1155618 - Fix OOM issues related to AsmJS compilation r=terrence r=luke 2015-07-30 10:55:51 +01:00
Terrence Cole 95d0a143d2 Bug 1185106 - Part 1: Exclude StoreBuffer.cpp from unified build to prevent build bustage. r=efaust 2015-07-28 11:48:16 -07:00
Nathan Froyd 16716c50a2 Bug 1188555 - part 2 - remove write-only configure.in variables MKSHLIB_{UN,}FORCE_ALL; r=mshal 2015-07-28 14:08:08 -04:00
Nathan Froyd 7713f24298 Bug 1188555 - part 1 - remove write-only configure.in variable NO_LD_ARCHIVE_FLAGS; r=mshal 2015-07-28 14:07:07 -04:00
Ryan VanderMeulen fb6b2747d5 Bug 1180017 - Fix up the badly-horked backout and re-land.
CLOSED TREE

--HG--
extra : amend_source : 0b7ac18429b248cf05cfe33f6b2f6efdf1602c38
extra : histedit_source : bdb11dafa100809ec17491e5711fb0b507e023c6%2C5e4134650a804859dc8b3078688fa4655052263f
2015-07-29 12:31:47 -04:00
Jim Blandy 0c3022d593 Bug 1180985 - Implement a JS GDB pretty-printer for JS::GCCellPtr. r=sfink 2015-07-06 18:00:02 -07:00
Jim Blandy 805ac8eae4 Bug 1180984 - JS GDB pretty-printers: Support Python 3. r=sfink 2015-07-07 08:35:58 -07:00
Jim Blandy 4e8fc0bdcb Bug 1180017 - Give GCCellPtr is<T> and to<T> methods, replacing isFoo and toFoo methods. Fix callers. r=terrence 2015-07-03 15:06:23 -07:00
Carsten "Tomcat" Book 25a2a75a56 Backed out changeset 465793bc6fcf (bug 1180017) for suspicion of causing bug 1188799 2015-07-29 15:27:12 +02:00
Carsten "Tomcat" Book 3f86b89c01 Backed out changeset c10672836664 (bug 1180984) 2015-07-29 15:26:17 +02:00
Carsten "Tomcat" Book 2b2184326d Backed out changeset e50e7d030a33 (bug 1180985) 2015-07-29 15:26:12 +02:00
Mike Kaply 68b080c7c5 Bug 1152512 - Use the latest JavaScript version when parsing AutoConfig files. r=mrbkap
--HG--
extra : rebase_source : 4527671894b43e60e16d4b6be5e6af55b68b6ebe
2015-07-28 13:57:55 -05:00
Johannes Schulte ab384724ae Bug 1038859 - Add symbol-support to Baseline GetElem ICs. r=djvj 2015-04-07 17:49:36 +02:00
Hannes Verschore 78d5d7d803 Bug 1186271: IonMonkey: Honor truncated flag during folding of binary operations, r=nbp 2015-07-29 09:10:08 +02:00
Nick Fitzgerald 3d6e229b53 Bug 1136806 - Fix assertion failure with Debugger and oomAfterAllocations; r=shu 2015-07-28 23:00:09 -07:00
Jim Blandy d6552638ae Bug 1180985: Implement a JS GDB pretty-printer for JS::GCCellPtr. r=tromey
--HG--
extra : rebase_source : 3099fcc047e75c9247b92d50294350740ca69cc5
2015-07-06 18:00:02 -07:00
Jim Blandy 6ca6aa7a1d Bug 1180984: JS GDB pretty-printers: Support Python 3. Fix 'Rooted' bitrot. r=sfink
--HG--
extra : rebase_source : ba778f166d63aae2862f02e45c984f8228fde851
2015-07-28 16:32:48 -07:00
Jim Blandy ff7cc06ef6 Bug 1180017: Give GCCellPtr is<T> and as<T> methods, replacing isFoo and toFoo methods. Fix callers. r=terrence
--HG--
extra : rebase_source : 4a381c5d8427ad2995426e65c69af1597b1557c2
2015-07-07 09:52:01 -07:00
Spenser Andrew Bauman eb06b5c771 Bug 1187511 - IonMonkey: Make use of callsite type information when refining |this| parameter. r=jandem 2015-07-28 10:33:00 -04:00
Wes Kocher 2bfa537c29 Backed out 5 changesets (bug 1167409) for mochitest chrome failures in test_settings_service.xul CLOSED TREE
Backed out changeset 08653d62e6c0 (bug 1167409)
Backed out changeset 211b839cfcda (bug 1167409)
Backed out changeset 4264d30f4b03 (bug 1167409)
Backed out changeset 95a7f1251dd4 (bug 1167409)
Backed out changeset b88cb51c1f77 (bug 1167409)
2015-07-28 15:45:39 -07:00
Kannan Vijayan ea3bc8f41c Bug 1167409 - 5/5 - Initialize ScriptSourceObject even when off-main-thread compilation fails. r=jandem 2015-07-28 17:03:57 -04:00
Kannan Vijayan e4afad4778 Bug 1167409 - 4/5 - Off-thread compile blocking scripts. r=smaug 2015-07-28 17:03:56 -04:00
Andrew McCreight 6e8552d49a Bug 1185527 - Split out a refcountless base class for nsScriptError. r=gabor
This avoids shadowing the refcount if nsScriptErrorWithScript inherited from nsScriptError.
2015-07-28 16:51:10 -04:00
Nick Fitzgerald 0b8a936ed9 Bug 1028418 - Part 7: Tests for caching edge cases; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald bf43a97b2c Bug 1028418 - Part 6: Fix GC + SavedFrame test that made assumptions that are no longer true; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald c014d4c6dc Bug 1028418 - Part 5: Minimize stack walking when capturing SavedFrame stacks with a cache; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald 871954ed90 Bug 1028418 - Part 4: Fix whitespace alignment in the InterpreterFrame::Flags enum; r=me 2015-07-28 13:04:56 -07:00
Nick Fitzgerald 9913ef1d50 Bug 1028418 - Part 3: Take a bit on each of interpreter, baseline, and rematerialized frames for marking whether there is a js::SavedFrame for the given frame in the js::SavedStacks cache; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald 15cabfd452 Bug 1028418 - Part 2: Make the BaselineFrame::Flags enum typed the way it is used; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald 732bacd77d Bug 1028418 - Part 1: Make the InterpreterFrame::Flags enum typed the way it is used; r=shu 2015-07-28 13:04:56 -07:00
Nick Fitzgerald 1b95f69ccc Bug 1028418 - Part 0: Fix typo in js/src/vm/Stack.h; r=me 2015-07-28 13:04:56 -07:00
Boris Zbarsky 7f23917eb0 Bug 1176568. Fix the proto cycle checking to work correctly for inner/outer globals. r=waldo 2015-07-28 12:38:26 -04:00
Terrence Cole 31d9fa3fe0 Bug 1188129 - Use a universal constructor to create and init PersistentRooted; r=jonco
--HG--
extra : rebase_source : 73ef9f22833f266a2f3978f0875728fc42fd2a61
2015-07-24 15:08:09 -07:00
Terrence Cole a4087728b5 Bug 1188124 - Use rootKind to select the right PersistentRooted list head; r=sfink
--HG--
extra : rebase_source : 8f2df6b63bddaac62e2b9def8564432625efaaaf
2015-07-23 14:05:53 -07:00
Terrence Cole a161a3e370 Bug 1187985 - Make PersistentRooted use rootKind to find its lists; r=sfink
--HG--
extra : rebase_source : 8bb85ef62332c50e1be3d6544a91521b635666ea
2015-07-23 08:19:08 -07:00
Carsten "Tomcat" Book ce5ca9b688 Backed out changeset 0afe24f16cf4 (bug 1152512) for bustage 2015-07-28 14:38:01 +02:00
Mike Kaply 1acb520ff0 Bug 1152512 - Use the latest JavaScript version when parsing AutoConfig files. r=mrbkap 2015-07-28 07:13:26 -05:00
Xi Yang ab766dff4e Bug 1090695 - Reduce indent in Parser<ParseHandler>::expr. r=arai 2015-07-27 22:48:50 +08:00
Wes Kocher 8c8c620553 Backed out 8 changesets (bug 1028418) for assertions in SavedStacks.cpp:103 CLOSED TREE
Backed out changeset 8f20146ce3c8 (bug 1028418)
Backed out changeset f6e78ff75f4b (bug 1028418)
Backed out changeset caf840e71590 (bug 1028418)
Backed out changeset ba47cb00a938 (bug 1028418)
Backed out changeset 3f298220d712 (bug 1028418)
Backed out changeset 7c2555a6e32e (bug 1028418)
Backed out changeset ed9287cd152a (bug 1028418)
Backed out changeset 88a5c0415403 (bug 1028418)
2015-07-27 17:52:01 -07:00
Mariusz Kierski c897d05bdb Bug 1135708 - Implement es7 exponentiation operator. (r=efaust, f=jandem)
* * *
Bug 1135708 - Followup: Fix a few warnings-as-errors related build problems on a CLOSED TREE. (rs=Waldo)
2015-07-27 13:21:11 -07:00
Nick Fitzgerald 7b4828fcdf Bug 1028418 - Part 7: Tests for caching edge cases; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald 47c99b513c Bug 1028418 - Part 6: Fix GC + SavedFrame test that made assumptions that are no longer true; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald 0d13e50daf Bug 1028418 - Part 5: Minimize stack walking when capturing SavedFrame stacks with a cache; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald b14b62b41c Bug 1028418 - Part 4: Fix whitespace alignment in the InterpreterFrame::Flags enum; r=me 2015-07-27 16:33:34 -07:00
Nick Fitzgerald 2aa99a0d31 Bug 1028418 - Part 3: Take a bit on each of interpreter, baseline, and rematerialized frames for marking whether there is a js::SavedFrame for the given frame in the js::SavedStacks cache; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald 35403e6c00 Bug 1028418 - Part 2: Make the BaselineFrame::Flags enum typed the way it is used; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald faccf78e75 Bug 1028418 - Part 1: Make the InterpreterFrame::Flags enum typed the way it is used; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald 3f547195c0 Bug 1028418 - Part 0: Fix typo in js/src/vm/Stack.h; r=me 2015-07-27 16:33:34 -07:00
Wes Kocher 9c5c217c21 Backed out changeset e01d0f7a3c6f (bug 1135708) for spidermonkey errors CLOSED TREE 2015-07-27 15:22:40 -07:00
Wes Kocher f29d04329b Backed out changeset 43e7461188dc (bug 1135708) 2015-07-27 15:22:07 -07:00
Eric Faust 499c01e9ed Bug 1135708 - Followup: Fix a few warnings-as-errors related build problems on a CLOSED TREE. (rs=Waldo) 2015-07-27 13:44:44 -07:00
Mariusz Kierski c049301781 Bug 1135708 - Implement es7 exponentiation operator. (r=efaust, f=jandem) 2015-07-27 13:21:11 -07:00
Ryan VanderMeulen 23b78d739f Merge m-c to inbound. a=merge 2015-07-27 15:47:22 -04:00
Ryan VanderMeulen 01499c3bc0 Merge inbound to m-c. a=merge 2015-07-27 15:34:42 -04:00
Giovanny Andres Gongora Granada 2e800a3fea Bug 1150312 - Remove MOZ_SHARK. r=glandium 2015-07-23 18:16:00 -04:00
Terrence Cole 2d1b08315d Bug 1184578 - Fix the nursery profiling print statement; r=sfink
--HG--
extra : rebase_source : 6055de874a25cece5beedcbe9ae66ed40440ed93
2015-07-16 08:36:35 -07:00
Tom Tromey 9f3b16bf4c Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen
--HG--
extra : rebase_source : f9b507d8f005dbca6f40f510ca41a0cbb03aebf9
2015-07-24 07:01:00 -04:00
Nick Fitzgerald 3bc1833993 Bug 1187399 - Add a js::DefaultHasher specialization for mozilla::UniquePtr<T> that proxies the UniquePtr's raw pointer to PointerHasher. r=terrence
--HG--
extra : rebase_source : 86db93fe0874c21792554ad000d94939148ea4c6
2015-07-24 10:42:00 -04:00
David Rajchenbach-Teller 7538ba910f Bug 1147664 - Detailed mode for PerformanceStats (low-level). r=jandem
--HG--
extra : transplant_source : %BC%A9%AA%3C%1B%9A1%CCh%08%96%C0q%EB%E4%3C%9C%99%9B%C0
2015-06-10 15:56:19 +02:00
Jeff Walden 428c85cacc Bug 1183400 - Fold increment/decrement operations by kind. r=efaust
--HG--
extra : rebase_source : 53dfa16fe4016cca85eddafa43f7654839daf41d
2015-06-05 12:41:34 -07:00
Jeff Walden 2607f34b05 Bug 1183400 - Pass a Parser reference to Fold, not separate handler/options, preparing for another patch that wants to have access to a parser instance. r=efaust
--HG--
extra : rebase_source : 6a9e6a5c5b7cee3cee8deed97edaca32c25bfbab
2015-05-28 13:47:54 -07:00
Jeff Walden 9ffd11a1f7 Bug 1183400 - Fold !/~/+/- by kind. r=efaust
--HG--
extra : rebase_source : b22f1a97011aaca271d54c63d8ff5b85e8b910e6
2015-05-22 19:02:41 -07:00
Nicolas B. Pierron a44b1868a4 Bug 1189750 - Remove unused JM-related PCCounts counters. r=bhackett 2015-08-03 11:48:27 +02:00
Andrew McCreight 95bead4668 Bug 1187410 - Use GetNameShared() in XPCNativeInterface::NewInstance() to avoid a leak. r=mrbkap
GetName() returns a new string, but that string is never freed.

This patch avoids the leak by not copying the string. This is okay because
the scope of intfNameChars is within the scope of aInfo.
2015-07-26 14:26:23 -07:00
Terrence Cole 7248054e9c Bug 1187512 - Fix accumulated unified bustage in SpiderMonkey; r=jonco
--HG--
extra : rebase_source : e0b625a8289cf6986d9f1ff161adac6b1b5fe23c
2015-07-25 15:43:22 -07:00
Jan de Mooij 7e15eabc98 Bug 1187323 - Add some asserts to the assembler's linkJump/nextJump/setNextJump methods. r=nbp 2015-07-25 21:41:10 +02:00
Wes Kocher 9ffc1fbec2 Backed out changeset 8a1df23b6a3f (bug 1187094) for build failures 2015-07-24 12:11:13 -07:00
Sean Stangl 3b6e0b8b2c Bug 1187094 - Move Lowering's visitConstant() to shared code. r=nbp 2015-07-23 15:26:52 -07:00
Steve Fink 1d9965d8ee Bug 1164294 - Move OrderedHashTable to ds/
--HG--
extra : rebase_source : 432263c710eac78b08df3698359faa30b48e3a97
extra : source : 73295b7527cd5a0fcc754620d8f40f78c30bcc85
extra : histedit_source : 42dfcca08c90b95a5fa26185d1dc8823f8231e01
2015-05-12 17:02:10 -07:00
Jon Coppeard 671ebd98de Bug 1182428 - Fix bustage from returning nullptr in bool function r=me on a CLOSED TREE 2015-07-24 13:55:19 +01:00
Jon Coppeard 9a563a0d8f Bug 1182428 - Refactor bytecode compilation r=luke 2015-07-15 11:50:38 +01:00
Bobby Holley 4dac367856 Bug 1186213 - Add an API to deep-freeze the result of Cu.cloneInto. r=gkrizsanits 2015-07-21 14:57:00 +02:00
Spenser Andrew Bauman 82dbe1a919 Bug 1030095 - IonMonkey: When deciding to inline don't check for a common inlining path on the first builder. r=h4writer 2015-07-22 18:12:00 +02:00
Steve Fink 2b769d805b Bug 1186259 - Record the path to GCC to avoid mismatched gcc/plugin versions, r=terrence
--HG--
extra : commitid : AwF7F0XJvv
extra : rebase_source : 678e5719494d0b5f8cb5d396ac0f1159442da1d7
2015-07-23 16:35:08 -07:00
Steve Fink dcb4db6433 Bug 1182428 - Consider TypeSet stuff to be GCPointers, since they can contain them, r=jonco
--HG--
extra : commitid : AThLO9udO2Y
extra : rebase_source : 0f481fc390d6dfba25c613aac12a628410f19c32
2015-07-14 16:34:48 -07:00
Steve Fink b1a58dcb14 Bug 1182428 - Fix the ObjectGroup hazards, r=jonco
--HG--
extra : commitid : 87RBt2lJOzb
extra : rebase_source : 00919ace203d0604dc8666f6841959a1153dd577
2015-07-23 13:10:33 -07:00
Steve Fink cfd09bd6f8 Bug 1182428 - Recognize more rooted type names, r=jonco
--HG--
extra : commitid : 7EiE2xX8BQt
extra : rebase_source : 7a53c758eb19d39463c0664892ad06615fc454c2
2015-07-23 13:09:58 -07:00
Steve Fink 8db3994728 Bug 1182428 - Accept more edge types in edgeCanGC, r=jonco
--HG--
extra : commitid : 6E8adRfKL88
extra : rebase_source : b7c1bb5a0698809a916ddbae2e59d956ccab4fb7
2015-07-23 13:09:40 -07:00
Steve Fink 7fda7ed1f2 Bug 1182428 - Improve naming, r=jonco
--HG--
extra : commitid : DJf4Fed6IcS
extra : rebase_source : 5c647ec9baf626ef46237475dfb4e9d21b1dab11
2015-07-23 13:09:25 -07:00
Steve Fink 0854f14743 Bug 1184199 - Add an explanation only if there is something to explain, r=jonco
--HG--
extra : commitid : ABeyzTPRuce
extra : rebase_source : d7ca70912e6c5e1edaa313651ac9233318c1df66
2015-07-23 13:09:11 -07:00
Steve Fink 798b7bf08b Bug 1184199 - Use a Map instead of a plain object to avoid the "constructor" property, r=jonco
--HG--
extra : commitid : C4mNPyL6sQC
extra : rebase_source : 1fceec4e2c1a1a8b12afa1a1770309775c2da9bb
2015-07-23 13:08:59 -07:00
Terrence Cole 1f5f61c880 Bug 1186626 - Use Rooted to root the ShapeVectors in ScopeObject; r=efaust 2015-07-23 08:19:08 -07:00
Terrence Cole 336468bba6 Bug 1186626 - Use Rooted to root SelfHosting's ShapeVectors; r=till 2015-07-23 08:19:08 -07:00
Terrence Cole d6b7f803c0 Bug 1186626 - Use Rooted to root for BaselineIC's ShapeVector; r=jandem 2015-07-23 08:19:07 -07:00
Terrence Cole 3bf3ea9a23 Bug 1186609 - Implement a DynamicTraceable Vector subclass for use with Rooted; r=sfink 2015-07-23 08:19:07 -07:00
Terrence Cole f0591ea02e Bug 1186156 - Move the PersistentRooted list heads into RootLists; r=sfink 2015-07-09 14:13:10 -07:00
Mike Shal 24e2d353b1 Bug 1186243 - Remove references to setup.sh; r=jlund 2015-07-23 09:18:49 -04:00
Andrew McCreight 13e2d3a560 Bug 931571, part 13 - Add a destructor for nsDiscriminatedUnion. r=froydnj
The existing nsDiscriminateUnions either always call Cleanup() when they
are about to go away, or they only handle scalar values so it is safe to
call Cleanup() on them without worrying about another discriminated union
having taken over any memory owned by this union.
2015-07-23 12:28:30 -07:00
Andrew McCreight 0994e4e4ed Bug 931571, part 12 - Add nsDiscriminatedUnion::GetType(). r=froydnj
This is not quite enough to make the data members private because
XPCVariant pokes around to do some JS array stuff.
2015-07-23 12:28:30 -07:00
Andrew McCreight 4bdbcd2020 Bug 931571, part 11 - Turn nsDiscriminatedUnion's Traverse function into a method. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight cb922209d3 Bug 931571, part 9 - Turn most of the nsVariant setters into nsDiscriminated methods. r=froydnj
This also adds a new nsDiscriminatedUnion method SetFromDOMString, as somebody added an nsVariant method without the corresponding helper.
2015-07-23 12:28:30 -07:00
Andrew McCreight 8c28737b59 Bug 931571, part 8 - Turn ConvertToISupports, ConvertToInterface and ConvertToArray to methods. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight 219f81d45f Bug 931571, part 7 - Turn ConvertTo*String and ToString into methods. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight 83b488957d Bug 931571, part 6 - Make ConvertToID and String2ID into methods. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight 6c297a19d4 Bug 931571, part 5 - Turn basic ConvertTo functions into methods. r=froydnj 2015-07-23 12:28:30 -07:00
Andrew McCreight ca92d9ebc0 Bug 931571, part 2 - Convert Cleanup() and FreeArray() to methods. r=froydnj 2015-07-23 12:28:29 -07:00
Andrew McCreight 7b7d1a30b8 Bug 931571, part 1 - Use a constructor for nsDiscriminatedUnion. r=froydnj 2015-07-23 12:28:29 -07:00
Terrence Cole e2f3fcd527 Bug 1186154 - Templatize Rooted's context parameter to reduce copy-and-paste; r=jonco 2015-07-21 12:57:00 -07:00
Terrence Cole 93162fb8d5 Bug 1186450 - Fix TraceableHashTable's GC template definitions; r=jonco 2015-07-22 08:32:02 -07:00
Tom Schuster 59de081e97 Bug 1083752 - Calling Map/Set/WeakMap (without new) should throw. r=Waldo 2015-07-23 11:37:05 +02:00
Jon Coppeard c469478701 Bug 1183324 - Make infinite recursion test faster to fix intermittent timeouts r=terrence 2015-07-23 09:47:09 +01:00
Makoto Kato a0118a68d2 Bug 1175413 - Cleanup usages of MOZ_ICU_CFLAGS. r=mshal 2015-07-23 09:53:48 +09:00
Tom Schuster d000d4ff33 Bug 1186107 - Require curly braces for derived constructors. r=efaust 2015-07-22 21:59:32 +02:00
Shu-yu Guo eb3728f68f Bug 1182730 - Mark the JitcodeGlobalTable unconditionally when minor collecting. (r=terrence) 2015-07-22 10:49:42 -07:00
Andrew McCreight 7ddb648745 Bug 1185744 - Conversion from PersistentRooted to MutableHandle does not check for initialization. r=sfink 2015-07-22 11:31:49 -04:00
Jan de Mooij 558fcb9921 Bug 1182711 - Ensure usesScopeChain_ is true for heavyweight functions. r=bhackett
--HG--
extra : rebase_source : fc4a97f34dbab1eb16fe5eb2b59fc73aff23f373
2015-07-22 13:36:16 +02:00
Benjamin Bouvier 27ebf1a8c0 Bug 1184887: Add a setARMHwCapFlags testing function for the shell; r=h4writer
--HG--
extra : commitid : EiIcsACR3s1
extra : rebase_source : 69294cbd1299f06a5b90050621d10da7df375546
extra : amend_source : fbd41ca837af7c62e98b022c00cd00a47104ff0e
2015-07-17 11:24:46 +02:00
Benjamin Bouvier 33458087e8 Bug 1186226: Odin: determine comparisons' types by looking at both hand sides; r=jandem
--HG--
extra : rebase_source : 2077d7e5ab4942802a68d9f3e879f5eef9eced3f
extra : amend_source : d54dd8c7a397c93e66c7bb64c26951ddc9007ee4
2015-07-22 10:11:15 +02:00
Hannes Verschore 239e02d860 Bug 1184945: Increase the default MatchResult size of a regexp, r=bhackett 2015-07-22 10:09:35 +02:00
Nick Fitzgerald b7d0ed924b Bug 1184423 - Properly report OOM when adding a rematerialized frame to the current JitActivation fails; r=shu 2015-07-21 14:27:48 -07:00
Nick Fitzgerald 138bb767c3 Bug 1184423 - Properly report OOM when initializing the RematerizedFrameTable fails; r=shu 2015-07-21 14:27:48 -07:00
Sean Stangl e33b2abe34 Bug 1186122 - Part 2/2 - Remove BaselineStackReg from ARM64. r=efaust 2015-07-21 11:56:33 -07:00
Sean Stangl a5a03d4c16 Bug 1186122 - Part 1/2 - Remove StackPointer on ARM64. r=efaust 2015-07-21 11:49:13 -07:00
Terrence Cole da5623b82b Bug 1181292 - Make JSPropertyDescriptor a StaticTraceable; r=efaust
--HG--
extra : rebase_source : f6ab3b8d9a47175dcf50af0ee231de070c352adb
2015-07-09 08:45:42 -07:00
Terrence Cole 0e36464d9a Bug 1185755 - Use Rooted to simplify FieldInfoHash rooting; r=jonco
--HG--
extra : rebase_source : 355286f560828354f1b6c16dffc3c5742a380ad1
2015-07-20 16:43:50 -07:00
Terrence Cole 7a9f2bffca Bug 1185752 - Part 2: Remove the unused AutoObjectUnsigned32HashMap; r=sfink
--HG--
extra : rebase_source : a5827c35af97f8ce3e775d82ffcb92e1df4d12e0
2015-07-20 16:43:50 -07:00
Terrence Cole a82fa2d8e4 Bug 1185752 - Part 1: use normal Rooted for CloneMemory; r=sfink
--HG--
extra : rebase_source : 4fdf516a8280ac1bb09472dc42a5f171d328316a
2015-07-20 16:43:50 -07:00
Terrence Cole 864a663ae5 Bug 1185790 - Remove move unneeded Unbarriering; r=jonco
--HG--
extra : rebase_source : 0e80791f72a68d6ab1b0f0c9deb55b8d8ff03b8e
2015-07-21 12:54:01 -07:00
Terrence Cole 4819fcdd0f Bug 1185749 - Implement a DynamicTraceable HashMap subclass that can be used with Rooted; r=jonco
--HG--
extra : rebase_source : ec7e634e3cc4f6a60bddc613cda346ec9d347d89
2015-07-20 08:20:35 -07:00
Andrew McCreight 621e57b2b7 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-21 11:31:44 -07:00
Ryan VanderMeulen fb3e0b058e Backed out changeset 553a3e1e7b18 (bug 1176341) for bustage.
CLOSED TREE
2015-07-21 13:00:55 -04:00
Andrew McCreight 5cbc3abf39 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-21 09:44:37 -07:00
Andrew McCreight 6ea0227583 Bug 1185144 - nsConsoleService::LogMessageWithMode() should release the retired message on the main thread. r=froydnj
Also, add release asserts that the other methods that addref or release console messages are only run on the main thread.

Finally, add an assert that nsScriptErrorWithStack is only created on the main thread.
2015-07-21 07:50:09 -07:00
Steve Singer 67e7524acf Bug 1185413 - Include BaselineIC.h in SharedIC.cpp. r=nbp 2015-07-20 17:35:00 +02:00
Jon Coppeard b24d1b431c Bug 1146213 - Finish ongoing GC before parse task zone becomes a non-exclusive zone again r=bhackett 2015-07-21 11:33:08 +01:00
Jon Coppeard 982e47351f Bug 1184191 - Assert in release mode if we reenter the garbage collector r=terrence 2015-07-21 11:33:08 +01:00
Sean Stangl a8f980f306 Bug 1185757 - Fix manual manipulation of StackPointer for JSOP_IN. r=efaust 2015-07-20 15:39:21 -07:00
Terrence Cole 7679e63cb5 Bug 1185581 - Fix the spacing around PropertyDescriptors GC methods; r=efaust
--HG--
extra : rebase_source : c2ff7f1a75ddfa033932872de13fccacecde1546
2015-07-20 08:37:53 -07:00
Jeff Walden fb2333f74e Bug 1183400 - Fold delete nodes by kind. r=efaust 2015-05-22 19:02:41 -07:00