Commit Graph

36698 Commits

Author SHA1 Message Date
Nicholas Nethercote
4af5930e4e Bug 891215 (part 20) - Slim down String-inl.h. r=terrence.
--HG--
extra : rebase_source : 5b141ad99549d41ebb174d24df8b04d60fed3aae
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
7e4b12719c Bug 891215 (part 19) - Slim down Shape-inl.h. r=terrence.
--HG--
extra : rebase_source : 77cbecf4148cfcc6df2588001b36c78658eb90ea
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
5899b05f1e Bug 891215 (part 18) - Slim down RegExpStatics-inl.h. r=terrence.
--HG--
extra : rebase_source : 244cf0dbc08fd04307a0e371bfc753d1e4640a9d
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
dbffbc548d Bug 891215 (part 17) - Move SizeOfRegExpStaticsData() into the RegExpStaticsObject class. r=terrence.
--HG--
extra : rebase_source : 5ab7214b39e0ea7633e08eb912bb9dcbc7f973ef
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
501472fdaf Bug 891215 (part 16) - Slim down RegExpObject-inl.h. r=terrence.
--HG--
extra : rebase_source : b868181ba37ae1332589a08a7d9a97bd649ea115
2013-07-09 13:41:16 -07:00
Nicholas Nethercote
b4e6f716de Bug 891215 (part 15) - Slim down Interpreter-inl.h. r=terrence.
--HG--
extra : rebase_source : dea8c481504ce50b2b1869d81b4d6aa1a1f1a212
2013-07-09 13:19:37 -07:00
Nicholas Nethercote
fb24fe9213 Bug 891215 (part 14) - Slim down GlobalObject-inl.h. r=terrence.
--HG--
extra : rebase_source : 126eaa4ad6cebf3e2794fec62b84cec610af4604
2013-07-09 13:19:08 -07:00
Wes Kocher
725b5f55d2 Backout 129da44ac469 (bug 870180) for breaking message manager 2013-07-10 18:22:34 -07:00
Shu-yu Guo
0d4f5ea743 Bug 891946 - Rename ThreadSafeContext variables from tcx -> cx. (r=bhackett) 2013-07-10 18:25:42 -07:00
Shu-yu Guo
7842f46351 Bug 885017 - Fix length handling in ParallelArray.scatter. (r=pnkfelix) 2013-07-10 18:25:42 -07:00
Shu-yu Guo
ed98ad672d Bug 889346 - Check for NULL TypeObject when inlining ParallelArray constructors. (r=nmatsakis) 2013-07-10 18:25:42 -07:00
Shu-yu Guo
8b812db12c Bug 881593 - Part 2: Add ParallelSpew intrinsic. (r=nmatsakis) 2013-07-10 18:25:34 -07:00
Shu-yu Guo
aca77e9d71 Bug 881593 - Part 1: Change LossyTwoByteCharsToNewLatin1CharsZ to take ThreadSafeContext. (r=billm) 2013-07-10 18:25:33 -07:00
Shu-yu Guo
638b9c7b72 Bug 881988 - Support calling natives in parallel. (r=djvj) 2013-07-10 18:25:33 -07:00
Shu-yu Guo
d3c7521462 Bug 877893 - Followup: add testcase. (r=me) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
cdb74bb560 Bug 890968 - Part 3: RAII wrapper for inspecting contents of JSStrings in a thread safe way. (r=nmatsakis) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
36db6b0647 Bug 890968 - Part 2: Add nondestructive getChars to JSString. (r=bhackett) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
765100139a Bug 890968 - Part 1: Revert thread unsafe JSString methods to JSContext. (r=bhackett) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
f99ba228a6 Bug 888618 - Part 2: Make String post barriers take ThreadSafeContext. (r=terrence) 2013-07-10 18:21:23 -07:00
Shu-yu Guo
cacae997fc Bug 888618 - Part 1: Add Cell::tenuredIsInsideZone for threadsafe asserts. (r=billm) 2013-07-10 18:21:23 -07:00
Nicholas Nethercote
b3c33ecb10 Bug 891209 (part 2) - Parse "detectably simple" expressions quickly. r=jorendorff.
--HG--
extra : rebase_source : c501dc470978a94898fd68311b776574034fb654
2013-07-08 19:09:34 -07:00
Nicholas Nethercote
aa9f6934ee Bug 891209 (part 1) - Change TOK_ERROR from -1 to 0 so that TokenKind values can be used to index into arrays. r=jorendorff.
--HG--
extra : rebase_source : 197cfb12f68da77496aa1dae67261b8b48def897
2013-07-10 17:04:18 -07:00
David Anderson
5f0258f3c3 Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
Jeff Walden
90a0f4dfea Bug 891177 - Move js::Swap to mozilla::Swap. r=terrence
--HG--
extra : rebase_source : 925bccd4fa3f95e1aa4e17d94ad5a443fc7a63aa
2013-07-03 15:57:33 -07:00
Jeff Walden
7a5c915ff2 Bug 891177 - Add ReentrancyGuard.h as a helper class for asserting that use of a class is non-reentrant. r=terrence
--HG--
extra : rebase_source : 3751e523c0b0315697cb6e005dfd8ee625f6dd58
2013-07-02 17:47:08 -07:00
Jeff Walden
5ccfb193c6 Bug 891177 - Use MOZ_STATIC_ASSERT, not JS_STATIC_ASSERT, in Vector.h. r=terrence
--HG--
extra : rebase_source : 35bf9a16df56ff308ff2761f0f088a1ca980f04a
2013-07-02 17:33:32 -07:00
Jeff Walden
0cd808f43c Bug 891177 - s/JS_ALWAYS/MOZ_ALWAYS/g and s/JS_NEVER/MOZ_NEVER/g on Vector.h. r=terrence
--HG--
extra : rebase_source : 345ebb6b5d7f7b023bcebdf1610de4f03c98cf46
2013-07-02 17:31:49 -07:00
Jeff Walden
5769d62b8d Bug 891177 - s/JS_ASSERT/MOZ_ASSERT/g on Vector.h. r=terrence
--HG--
extra : rebase_source : 9ed551860edfb8801725a3575335039c1bb07692
2013-07-02 17:29:29 -07:00
Jeff Walden
3bc19b56c2 Bug 891177 - Implement Move.h to define a move-construction interface. r=terrence
--HG--
extra : rebase_source : 45f9bb87fc0ee96ea35005ca0dcb263aa11745b8
2013-07-02 17:25:13 -07:00
Jeff Walden
791a4e2b4e Bug 891177 - Add AllocPolicy.h to define an implementation policy concept for use in mfbt. r=terrence
--HG--
extra : rebase_source : f6336b5ba3298bbf9c5418b4e9d993b9173f7926
2013-07-02 17:16:07 -07:00
David Keeler
b8ef4b4fd8 bug 891992 - fix typo in js/jsd/jsdebug.h r=timeless 2013-07-10 13:53:27 -07:00
David Keeler
a262bb8398 bug 891992 - remove LIVEWIRE from jsd r=timeless 2013-07-10 13:53:11 -07:00
Hannes Verschore
d9a6c7b9ee Bug 889186: IonMonkey: When optimizing a compare mark replaced operands correspondingly as being folded, r=bhackett 2013-07-10 22:48:25 +02:00
Jim Blandy
274d20d20e Bug 892014: Don't pass the 'vp' argument to handleUncaughtException if it's just going to be ignored. r=jorendorff 2013-07-10 13:15:57 -07:00
Gregory Szorc
19850b9b8e Bug 891632 - Port NO_DIST_INSTALL to moz.build; r=joey
Many of the moved variables are likely not needed. moz.build should one
day validate the sandbox's output and error if "useless" variables are
present.

--HG--
extra : rebase_source : 3abdea056c18d00ede8c15b37db60532eca58630
2013-07-10 12:08:21 -07:00
Dan Gohman
36c66b79da Bug 891702 - IonMonkey: Delete dead code. r=djvj 2013-07-10 11:57:15 -07:00
Dan Gohman
64e5fb6c66 Bug 891070 - IonMonkey: Implement range analysis for nodes with Boolean return types. r=nbp 2013-07-10 11:48:28 -07:00
Dan Gohman
0ce5de2f40 Bug 891697 - IonMonkey: Make MIRGraph and MBasicBlock's dump methods more useful. r=nbp 2013-07-10 11:15:03 -07:00
Dan Gohman
4fa7add9e4 Bug 891087 - IonMonkey: Add MOZ_FINAL on getOperand, setOperand, and friends which are not meant to be further overridden. 2013-07-10 10:54:44 -07:00
Dan Gohman
5e59f07f19 Bug 891087 - IonMonkey: Annotate several classes with MOZ_FINAL. 2013-07-10 10:54:44 -07:00
Dan Gohman
976bec2b91 Bug 891087 - IonMonkey: Optimize that Ary classes' congruentTo implemtations to get better devirtualization. r=nbp 2013-07-10 10:54:44 -07:00
Dan Gohman
9a95e53d0c Bug 891087 - IonMonkey: Add explicit downcasts to enable more devirtualization. r=nbp 2013-07-10 10:54:44 -07:00
Dan Gohman
c323962fd4 Bug 891087 - IonMonkey: Move the input() accessor out of most of MUnaryInstruction's subclasses into MUnaryInstruction itself. r=nbp 2013-07-10 10:54:44 -07:00
Dan Gohman
993317e2f4 Bug 891087 - IonMonkey: Eliminate an unnecessary getNumOperands call. r=nbp 2013-07-10 10:54:44 -07:00
Dan Gohman
548786df0c Bug 891087 - IonMonkey: When iterating through operand lists, call getNumOperands() once, instead of once per operand, since it is a virtual function call. r=nbp 2013-07-10 10:54:44 -07:00
Ryan VanderMeulen
03e73d9988 Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
Brian Hackett
16a56669ce Bug 885758 - Use consistent visibility in declarations for AutoGCRooter. 2013-07-10 10:06:12 -06:00
Brian Hackett
aafb978437 Bug 885758 - Add ExclusiveContext for use by threads with exclusive access to their compartment, r=billm. 2013-07-10 09:29:52 -06:00
Trevor Saunders
63ed0e9589 bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal 2013-06-25 14:29:26 -04:00
Ryan VanderMeulen
d806e1e244 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00