Commit Graph

27692 Commits

Author SHA1 Message Date
Shu-yu Guo
871d25e938 Bug 881593 - Part 2: Add ParallelSpew intrinsic. (r=nmatsakis) 2013-07-10 18:25:34 -07:00
Shu-yu Guo
e2976ff901 Bug 881593 - Part 1: Change LossyTwoByteCharsToNewLatin1CharsZ to take ThreadSafeContext. (r=billm) 2013-07-10 18:25:33 -07:00
Shu-yu Guo
58bdf6c9ed Bug 881988 - Support calling natives in parallel. (r=djvj) 2013-07-10 18:25:33 -07:00
Shu-yu Guo
1101ecde57 Bug 877893 - Followup: add testcase. (r=me) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
9639754835 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
af00a289d2 Bug 890968 - Part 2: Add nondestructive getChars to JSString. (r=bhackett) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
3b1616bd50 Bug 890968 - Part 1: Revert thread unsafe JSString methods to JSContext. (r=bhackett) 2013-07-10 18:24:39 -07:00
Shu-yu Guo
c95a44cb17 Bug 888618 - Part 2: Make String post barriers take ThreadSafeContext. (r=terrence) 2013-07-10 18:21:23 -07:00
Shu-yu Guo
d5ce7746d6 Bug 888618 - Part 1: Add Cell::tenuredIsInsideZone for threadsafe asserts. (r=billm) 2013-07-10 18:21:23 -07:00
Nicholas Nethercote
e7044ac347 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
144a099e20 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
66c5f1450d Implement CPOW support in MessageManager (bug 870180, r=smaug,billm). 2013-07-10 15:05:39 -07:00
Jeff Walden
8a8be12d99 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
919f4b04c8 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
6b0a83fef4 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
319a73b7a4 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
243d2bf01d 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
fe51d6bb86 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
05d8d96993 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
06928ee129 bug 891992 - fix typo in js/jsd/jsdebug.h r=timeless 2013-07-10 13:53:27 -07:00
David Keeler
32412de189 bug 891992 - remove LIVEWIRE from jsd r=timeless 2013-07-10 13:53:11 -07:00
Hannes Verschore
6f8b304236 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
8da43d630c 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
bcf3de711c 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
9af21a0df8 Bug 891702 - IonMonkey: Delete dead code. r=djvj 2013-07-10 11:57:15 -07:00
Dan Gohman
7014cbc07c Bug 891070 - IonMonkey: Implement range analysis for nodes with Boolean return types. r=nbp 2013-07-10 11:48:28 -07:00
Dan Gohman
9ac1c45a53 Bug 891697 - IonMonkey: Make MIRGraph and MBasicBlock's dump methods more useful. r=nbp 2013-07-10 11:15:03 -07:00
Dan Gohman
e9b6f24f83 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
85a7f55f42 Bug 891087 - IonMonkey: Annotate several classes with MOZ_FINAL. 2013-07-10 10:54:44 -07:00
Dan Gohman
cbf4c94699 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
fa4c731b46 Bug 891087 - IonMonkey: Add explicit downcasts to enable more devirtualization. r=nbp 2013-07-10 10:54:44 -07:00
Dan Gohman
23c3da97e1 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
699b239d89 Bug 891087 - IonMonkey: Eliminate an unnecessary getNumOperands call. r=nbp 2013-07-10 10:54:44 -07:00
Dan Gohman
ddb41e8b09 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
c9d5a706a1 Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures. 2013-07-10 13:51:28 -04:00
Brian Hackett
998a567f3f Bug 885758 - Use consistent visibility in declarations for AutoGCRooter. 2013-07-10 10:06:12 -06:00
Brian Hackett
4f07a29526 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
c3f96258c3 bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal 2013-06-25 14:29:26 -04:00
Ryan VanderMeulen
aaee3cf638 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Jason Orendorff
685917c93b Bug 880447 - Permit 'yield yield expr;'. r=till. 2013-07-10 08:14:03 -05:00
Jason Orendorff
96a24e1ff5 Bug 885219 - Assertion failure: !exprBody, at jsfun.cpp. r=till. 2013-07-10 08:14:03 -05:00
Jason Orendorff
32a149a6d2 Bug 885762 - Remove Token::t_op and KeywordInfo::op. r=till. 2013-07-10 08:14:03 -05:00
Jason Orendorff
b4eec8a1d1 Bug 886087 - Explicitly tell js_ReportGetterOnlyAssignment whether the assignment was strict rather than examining the stack. r=Waldo. 2013-07-10 08:14:02 -05:00
Jason Orendorff
153598cd63 Bug 866849, part 2 - Implement Array.of. r=evilpie. 2013-07-10 08:14:02 -05:00
Jason Orendorff
240bc61953 Bug 866849, part 1 - Add assertEqual testing function in jit-test/lib/asserts.js. r=evilpies. 2013-07-10 08:14:02 -05:00
Jason Orendorff
b937044daa Bug 844805, part 3 - Remove a call to FoldConstants from Parser::memberExpr. r=Waldo. 2013-07-10 08:14:02 -05:00
Jason Orendorff
47310fd9f7 Bug 844805, part 2 - Don't even set the pn_op field of PNK_DOT/ELEM nodes. r=Waldo. 2013-07-10 08:14:02 -05:00
Jason Orendorff
94c97260be Bug 844805, part 1 - Don't use the pn_op field of PNK_DOT/ELEM nodes. r=Waldo. 2013-07-10 08:14:01 -05:00
Jason Orendorff
1ac670ad25 Bug 888002 - Constant folding affects meaning of some weird delete operands. r=Waldo. 2013-07-10 08:14:01 -05:00
Justin Lebar
a375acc424 Bug 891694 - Increase the maximum amount dumped per line in a GC log from 1kb to 32kb. r=njn 2013-07-10 07:01:54 -04:00
Justin Lebar
a1062d4cdb Bug 889956 - Dump the length of the string when we do a GC log. r=njn 2013-07-10 07:01:53 -04:00
Christian Holler
b9e9b92fed Bug 879701 - Split up the used/bound assertion in ARM CodeGenerator. r=mjrosenb 2013-07-10 12:24:01 +02:00
Tom Schuster
6d4d57c997 Bug 890729 - Implement the missing CPOW traps. r=dvander 2013-07-09 22:45:08 -04:00
Jeff Walden
9123c9870a Fix a use of JS_CEILING_LOG2 in AsmJSModule.h to actually make sense, in anticipation of converting that macro to a function. No bug, r=mjrosenb over IRC
--HG--
extra : rebase_source : 138fe54c00d52c71529e81390f0fc9d21d3d6cfa
2013-07-09 19:43:20 -07:00
Terrence Cole
1b3b3a4b5c Bug 886630 - Post barrier generator frames when they stop running; r=billm
--HG--
extra : rebase_source : 2ca76bcd7f4a7ea70548abceefdd031b54a1376a
2013-07-09 17:31:42 -07:00
Nicholas Nethercote
c0c8987ffb Bug 891215 (part 13) - Slim down ArgumentsObject-inl.h. r=terrence.
--HG--
extra : rebase_source : 79499e11b72b79a1b6436c08c94a09228c6b8fa3
2013-07-08 23:03:03 -07:00
Nicholas Nethercote
818157eb1a Bug 891215 (part 12) - Slim down ScopeObject-inl.h. r=terrence.
--HG--
extra : rebase_source : ea982556f2203254cd8c79272d746d6271c3a904
2013-07-08 23:03:03 -07:00
Nicholas Nethercote
5ce456991a Bug 891215 (part 11) - Remove PcScriptCache-inl.h. r=terrence.
--HG--
extra : rebase_source : 50b2fa3ce2e18d90cce94dfa7aafd34cc2377d1b
2013-07-08 23:03:03 -07:00
Nicholas Nethercote
c1b3c23022 Bug 891215 (part 10) - Slim down IonFrames-inl.h. r=terrence.
--HG--
extra : rebase_source : 4f47ec9244cbfa8e359d792e5ba825bfaad2db57
2013-07-08 23:03:03 -07:00
Nicholas Nethercote
6d57c8d7b2 Bug 891215 (part 9) - Slim down IonFrameIterator-inl.h. r=terrence.
--HG--
extra : rebase_source : 9857155ba2628a7319e9d712116eba4839689be1
2013-07-08 22:01:29 -07:00
Nicholas Nethercote
cb2300d64a Bug 891215 (part 8) - Slim down CompileInfo-inl.h. r=terrence.
--HG--
extra : rebase_source : 5b53fc7f228949210cc6183a00bc9320dcb1b2de
2013-07-08 21:40:19 -07:00
Nicholas Nethercote
4f8c9cb079 Bug 891215 (part 7) - Remove FindSCCs-inl.h. r=terrence.
--HG--
extra : rebase_source : b0fb167901fe2fd6e165f48b1b7d6b7934b6f027
2013-07-08 21:08:28 -07:00
Nicholas Nethercote
45606a3f6d Bug 891215 (part 6) - Slim down SharedContext-inl.h. r=terrence.
--HG--
extra : rebase_source : 285dee0a66dd433666dbf6a8d836ffc9bc25f5dc
2013-07-08 20:50:40 -07:00
Nicholas Nethercote
92fd911170 Bug 891215 (part 5) - Remove Parser-inl.h. r=terrence.
--HG--
extra : rebase_source : c511369509fdeb8d28c5e0df0970d342b34bb01e
2013-07-08 20:43:11 -07:00
Nicholas Nethercote
6b54c34e0b Bug 891215 (part 4) - Slim down ParseNode-inl.h. r=terrence.
--HG--
extra : rebase_source : 282aa80825d69f2faf012d920ac0cf916dda6b93
2013-07-08 20:20:00 -07:00
Nicholas Nethercote
3f67f7450e Bug 891215 (part 3) - Slim down ParseMaps-inl.h. r=terrence.
--HG--
extra : rebase_source : 0140681bbca31837b14deb70035adcf2dee0a971
2013-07-08 20:07:23 -07:00
Nicholas Nethercote
ad931fa548 Bug 891215 (part 2) - Remove BytecodeEmitter-inl.h. r=terrence.
--HG--
extra : rebase_source : 32028b77fd03d052b37251ae4c66d4ab42386794
2013-07-08 19:44:52 -07:00
Nicholas Nethercote
76447b3234 Bug 891215 (part 1) - Slim down Iterator-inl.h. r=terrence.
--HG--
extra : rebase_source : 44548f23517a5059849e95a4bfedec508f7c3506
2013-07-08 19:42:34 -07:00
Sean Stangl
1356d3b584 Bug 887676 - Always zero RegExp lastIndex upon failure to match. r=Waldo 2013-07-09 15:58:34 -07:00
Terrence Cole
b57778c83f Bug 888117 - Properly barrier the JSON stringifier's CycleDetection set; r=billm
--HG--
extra : rebase_source : 9cd269cf38bacfb63cbceef5dec795da2c24750c
2013-06-27 18:12:54 -07:00
Terrence Cole
66af92c56c Bug 891436 - Skip heap walk for profilingScripts during minor GC; r=billm
--HG--
extra : rebase_source : acc76b0b299412c420c7fcc4cc3dc269b82cbeb8
2013-07-09 14:37:08 -07:00
Olli Pettay
2bf2214fbe bug 789919, (snow-white) make addref/release of CCable objects faster by removing indirect refcnt increase/decrease, r=mccr8, test changes r=ehsan
--HG--
extra : rebase_source : 2a3b22425c14d6daedc91d62a652c34431acd2fb
2013-07-09 13:30:58 -04:00
Ms2ger
db26bfced0 Bug 213324 - Remove getter_AddRefs(T*); r=ehsan 2013-07-10 11:56:21 +02:00
Ms2ger
f026256799 Bug 888574 - Remove TAR_CREATE_FLAGS_QUIET, make TAR_CREATE_FLAGS quiet by default; r=gps+ted 2013-07-10 11:55:01 +02:00
Peter Van der Beken
9c3bffc341 Bug 734503 - Add new DOM binding for TouchList; r=jst. 2013-07-10 11:53:53 +02:00
Dan Gohman
204fdf12ff Bug 891070 - IonMonkey: RangeAnalysis simplifications. r=nbp 2013-07-08 20:26:27 -07:00
Dan Gohman
ea4c2fa4f2 Bug 891070 - IonMonkey: Reimplement MUrsh::canOverflow using range information. r=nbp 2013-07-08 20:24:56 -07:00
Dan Gohman
8c865cefdc Bug 891070 - IonMonkey: Minor cleanups for lsh range analysis: fix a -Wsign-compare warning, and use a 32-bit shift instead of a 64-bit shift. r=nbp 2013-07-08 20:23:26 -07:00
Dan Gohman
981e277a4e Bug 891070 - IonMonkey: Stronger range analysis for or, xor, and not. r=nbp 2013-07-08 19:51:56 -07:00
Dan Gohman
6d4be33477 Bug 762095 - Ignore resume points in blocks containing nothing but goto. 2013-07-08 19:38:36 -07:00
Dan Gohman
dcd65698ce Bug 891121 - When a test times out, print TIMEOUT instead of FAIL. r=terrence 2013-07-08 19:36:07 -07:00
Dan Gohman
263ebf0454 Bug 891083 - Make the ImmWord version of x64's movq always use smaller immediate fields when possible; use movWithPatch when a patchable 64-bit immediate field is needed. Also, implement movq_i32r, which is useful for immediates in the range [INT32_MIN, 0). r=sstangl 2013-07-08 19:28:20 -07:00
Phil Ringnalda
83438f68a7 No bug, alter comment whitespace to trigger shell builds on a CLOSED TREE 2013-07-08 17:23:42 -07:00
Emanuel Hoogeveen
a278970cd3 Bug 890714 - Fix mixed line endings. r=joe, r=jesup 2013-07-08 16:33:15 -04:00
Bobby Holley
9b3cb6faeb Bug 867486 - Remove |Components| from content sandboxes. r=gabor 2013-07-08 10:05:31 -07:00
Trevor Saunders
6be251fe42 bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Joey Armstrong
a6b9800cfb bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
Brian Hackett
0db06b2f79 Bug 890636 - Remove JSOPTION_PCCOUNT, r=jandem. 2013-07-08 09:17:35 -06:00
Jan de Mooij
c6b20fe8e6 Bug 890414 - Fix backtracking allocator to track slots/elements pointers in safepoints. r=bhackett 2013-07-08 16:16:41 +02:00
Brian Hackett
9226331882 Bug 887549 - Don't handle destructuring shorthand in syntax parser, r=jandem. 2013-07-08 07:08:15 -06:00
Brian Hackett
ff0fe9d470 Bug 886803 - Populate both script and function box bindings for new Function() functions, so heavyweight tests work, r=jandem. 2013-07-08 07:01:20 -06:00
Jan de Mooij
0141b13fd7 Bug 890524 - Fix Ion perf regression with SETELEM and double arrays. r=h4writer 2013-07-08 12:47:27 +02:00
Shu-yu Guo
e225459ab2 Bug 881536 - Part 4: Implement ParallelGetElementIC. (r=nbp) 2013-07-08 03:24:55 -07:00
Shu-yu Guo
45d0d83c5b Bug 881536 - Part 3: Pure path for GetElement in the VM. (r=bhackett) 2013-07-08 03:24:55 -07:00
Shu-yu Guo
e1f673a4b4 Bug 881536 - Part 2: Refactor initializeAddCacheState into DispatchIonCache. (r=nbp) 2013-07-08 03:24:55 -07:00
Shu-yu Guo
1d6df377dd Bug 881536 - Part 1: Factor out stubbedShape logic to ParallelIonCache. (r=nbp) 2013-07-08 03:24:54 -07:00
Shu-yu Guo
4da3a18552 Bug 881574 - Part 2: Support Array.length for ParallelGetPropertyIC. (r=nbp) 2013-07-08 03:24:54 -07:00
Shu-yu Guo
6bbb097597 Bug 881574 - Part 1: Support Array.length in GetPropertyPure. (r=bhackett) 2013-07-08 03:24:54 -07:00
Dan Gohman
079625cfc4 Micro-optimize a hot spot in LinearScan; this partially addresses Bug 741317. r=jandem 2013-07-07 22:11:39 -07:00
Nicholas Nethercote
719b788e83 Bug 890192 (part 5) - Slim down jscntxtinlines.h. r=terrence.
--HG--
extra : rebase_source : 699aa06a514d801ad15b33c64e5deaaae3e4b35a
2013-07-04 00:57:00 -07:00
Nicholas Nethercote
6286c64ebb Bug 890192 (part 4) - Slim down jsgcinlines.h. r=terrence.
--HG--
extra : rebase_source : 6fd284d8b887ad89c1621c969286af7fa82d78bd
2013-07-04 00:55:46 -07:00
Nicholas Nethercote
4522e6e62c Bug 890192 (part 3) - Slim down jsstrinlines.h. r=terrence.
--HG--
extra : rebase_source : 554a1eb91ea60130c2aa3c5581d6b69831a57cfc
2013-07-03 19:53:18 -07:00
Nicholas Nethercote
adb48db759 Bug 890192 (part 2) - Slim down jsscriptinlines.h. r=terrence.
--HG--
extra : rebase_source : 5f374385b657ba28661ddd50a6b50344455de9af
2013-07-03 19:47:14 -07:00
Nicholas Nethercote
4fd40f4d5a Bug 890192 (part 1) - Slim down jsopcodeinlines.h. r=terrence.
--HG--
extra : rebase_source : 15755ff706fbbde8933fd083723faaafc9458613
2013-07-03 19:35:15 -07:00
Trevor Saunders
13b2239058 bug 888493 - add MOZ_CONSTEXPR_VAR r=waldo 2013-06-28 17:34:51 -04:00
Randy Lin
694cfec77c Bug 803414 - Part 0: Add RecordErrorEvent. r=smaug 2013-06-20 14:06:39 +08:00
Brian Hackett
43e7a2d9e9 Bug 886957 - Allow compiling even larger functions off thread, and increase use count thresholds for larger scripts, r=jandem. 2013-07-06 07:19:36 -06:00
Brian Hackett
b41947c64b Backout 3f4d5bcba1fb (bug 883973). 2013-07-05 16:55:43 -06:00
Till Schneidereit
36ff3273e8 Bug 872644 - Rename UnsafeSetElement intrinsic to UnsafePutElements. r=shu
--HG--
extra : rebase_source : 0f7e49b1a29a33b38b6be3c77073e11d3d6373c9
extra : amend_source : 529aa068a6592e8f1b1c818dc7d29612b3528908
2013-07-05 21:57:43 +02:00
Ehsan Akhgari
fc8792b565 Bug 890382 - Implement a Web IDL event constructor for IDBVersionChangeEvent; r=smaug 2013-07-05 13:57:28 -04:00
Till Schneidereit
094f04fdd4 Bug 866471 - fix broken assert implementation. r=bustage 2013-07-05 16:06:31 +02:00
Sankha Narayan Guria
285ba92ae4 Bug 866471 - Change assert for self-hosted functions into debug-only macro. r=tschneidereit
--HG--
extra : rebase_source : ea2b8aa1f44f0d392e9fc2cc9d0631bd99c59b07
2013-07-05 14:39:21 +05:30
Nicholas Nethercote
9da2b2024f Bug 888083 (part 2) - Remove the final case where a vanilla .h file #includes an inline-header. r=jandem.
--HG--
extra : rebase_source : cd4497c7136e17ca25446644af25294c09108b89
2013-07-03 21:57:47 -07:00
Nicholas Nethercote
83746370a1 Bug 888083 (part 1) - Remove all but one of the cases where a vanilla .h file #includes an inline-header. r=jandem.
--HG--
extra : rebase_source : db025d7525529f28dfa112f009597e9fe982cfef
2013-07-03 20:41:30 -07:00
Masatoshi Kimura
77d07fff51 Bug 889148 - Remove legacy QS/classinfo bits from events even more. r=smaug, peterv 2013-07-05 07:53:59 +09:00
Phil Ringnalda
45bbda8d1a Backed out changeset 454706720bbc (bug 888493) for build bustage
CLOSED TREE
2013-07-04 13:06:07 -07:00
Trevor Saunders
b30b226300 bug 888493 - add MOZ_CONSTEXPR_VAR r=waldo 2013-06-28 17:34:51 -04:00
Shu-yu Guo
feb85060fc Bug 890249 - Have jit_test.py --tbpl also run the shell without any flags. (r=jandem) 2013-07-04 09:40:53 -07:00
Steve Fink
2f47851cda Bug 890076 - Move isConstructing to CallArgs, r=Waldo
--HG--
extra : rebase_source : f66e59fbd201153a4329a82264c32ad72465d654
2013-07-03 22:59:43 -07:00
Nicholas Nethercote
bd0f1a9733 Bug 889727 (part 2) - Slim down jsobjinlines.h some more. r=terrence.
--HG--
extra : rebase_source : a03d7da43acfb0eb0012778dd2366ce9a4bc2208
2013-07-02 22:14:20 -07:00
Nicholas Nethercote
7e599e0469 Bug 889727 (part 1) - Make jsobj.h #include vm/Shape.h, instead of the other way around. r=terrence.
--HG--
extra : rebase_source : 4013f90e71be2fe36d04bb1eb08eeace728885ac
2013-07-02 21:58:57 -07:00
Steve Fink
7bace6614b Bug 889559 - Test management of the linked list of multiview ArrayBufferObjects in the overflow case where obj_trace is called multiple times. r=wmccloskey.
--HG--
extra : rebase_source : 9a582fbec66c1b89e994bb6d2a944760db9b9fcb
2013-07-02 13:40:11 -07:00
Nicholas Nethercote
6075edafbe Bug 889146 (part 16) - Rename jstypedarray.{h,cpp} as vm/TypedArrayObject.{h,cpp}. r=sfink.
--HG--
rename : js/src/jstypedarray.cpp => js/src/vm/TypedArrayObject.cpp
rename : js/src/jstypedarray.h => js/src/vm/TypedArrayObject.h
extra : rebase_source : a2004475244dfb691b1bb08c07d29f7fe01716ca
2013-07-02 20:58:39 -07:00
Nicholas Nethercote
67b588e8f7 Bug 889146 (part 15) - Remove jstypedarrayinlines.h. r=sfink.
--HG--
extra : rebase_source : 019bdcc8d44be12a6b6cabb88d87f081ed3fcb71
2013-07-02 20:58:39 -07:00
Nicholas Nethercote
ee4efd3481 Bug 889146 (part 14) - Make DataViewObject::{byteLength,byteLengthValue,byteOffset,byteOffsetValue}() more sane. r=sfink.
--HG--
extra : rebase_source : a55357844d1495333aaa7c6310110704cd394656
2013-07-02 20:58:39 -07:00
Nicholas Nethercote
29978407d6 Bug 889146 (part 13) - Use appropriate methods from TypedArrayObject where appropriate. r=sfink.
--HG--
extra : rebase_source : 28c26ee1d503f4820515c15093661bc0850d5308
2013-07-02 20:58:38 -07:00
Nicholas Nethercote
a5224f5447 Bug 889146 (part 12) - Remove JSObject::isTypedArray(). r=sfink.
--HG--
extra : rebase_source : 01cd2c6476d99ae663b6c43aa17df1515ad7adde
2013-07-02 20:58:38 -07:00
Nicholas Nethercote
0265ebaf02 Bug 889146 (part 11) - Move some functions into TypedArrayObject and make its SLOT members private. r=sfink.
--HG--
extra : rebase_source : dc626c3c0df3cfea856dd7e5b49122c6ef092d36
2013-07-02 13:30:37 -07:00
Jeff Walden
2defcbb127 Bug 496923 - Rerun update-test262.sh to account for the intl402-preloading changes. r=generating-script-was-reviewed
--HG--
extra : rebase_source : e4d32355eb16b94389e3c4089764ebd1923245d4
2013-07-02 18:41:23 -07:00
Jeff Walden
8dd4fdd1e0 Bug 496923 - Update update-test262.sh to make the test262/intl402 tests work again. r=terrence
--HG--
extra : rebase_source : 9951491bd7e0c50f0581e096a7efb63881e59626
2013-07-02 18:41:23 -07:00
Jeff Walden
6e7252fcc8 Bug 496923 - Make jstest browser harness load browser.js/shell.js from every path component in the test path. r=terrence
--HG--
extra : rebase_source : 939028cffe76a3e62892804266ae5a861ef22fee
2013-07-02 18:41:13 -07:00
Dan Gohman
3fa660a8c4 Bug 888280 - Move Loop out of LICM.h and into LICM.cpp r=evilpies 2013-07-03 15:23:05 -07:00
Dan Gohman
135e9d4013 Bug 888280 - Give several things in CTypes.cpp internal name linkage. r=evilpies 2013-07-03 15:23:05 -07:00
Dan Gohman
50849cbe27 Bug 889451 - Implement range analysis for or, xor, not, ursh, abs, min, and max, and better range analysis for shifts and mul. r=nbp 2013-07-03 15:07:35 -07:00
Sankha Narayan Guria
dd24a8a6b4 date: Wed Jun 05 14:17:35 2013 -0500
Bug 875433 - Array.prototype.iterator is the same function object as .values. r=jorendorff.
2013-07-03 15:49:18 -05:00
Mike Shal
edeb7caf7a Bug 868536 - Move ipdl.mk files to moz.build; r=gps
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Jan de Mooij
318e42aa2a Bug 888872 - Keep track of slots/elements pointers stored in Ion frames for generational GC. r=dvander,terrence 2013-07-03 20:27:39 +02:00
Terrence Cole
61eee559af Bug 888463 - Relocate hoisted elements/slots when their allocation moves during minor GC; r=billm 2013-07-02 11:37:45 -07:00
Terrence Cole
f5806f6637 Bug 888463 - Remove code to skip shrinkSlots for call objects. r=jandem 2013-07-02 11:24:47 -07:00
Bobby Holley
36fd766b65 Bug 860085 - Remove XPCCallContext refcounting optimization. r=gabor
We only use XPCCallContext for reflector calls now, at which point an AddRef
is totally insignificant. Using an auto pointer here lets us clean up some
code, and makes the XPCCallContext destructor start to look pretty sane. :-)
2013-07-03 11:05:20 -06:00
Bobby Holley
ee3bfc4787 Bug 860085 - Remove nsIXPConnect::ReleaseJSContext. r=gabor 2013-07-03 11:05:19 -06:00
Bobby Holley
6cca462555 Bug 860085 - Stop using XPConnect::ReleaseJSContext in nsJSEnvironment::DestroyJSContext. r=gabor,mccr8
We now have the invariant that any in-use cx must be pushed onto the JSContext
stack with one of our stack-scoped automatic nsCxPusher classes. These classes
hold a strong ref to the nsIScriptContext associated with the JSContext they
push (if any). This means that, if this cx is in use, we will always have at
least one strong reference to the nsJSContext coming from the stack, meaning
that neither the destructor nor the Unlink() implementation will be called.
So we don't need to do any deferred destruction of the cx anymore.
2013-07-03 11:05:19 -06:00
Bobby Holley
a24cfb37c9 Bug 860085 - Make XPCJSContextStack manipulators private to enforce that we go through the RAII classes. r=gabor
With this change, we can be very, very sure that we never push an nsJSContext
without instantiating an AutoCxPusher on the stack.
2013-07-03 11:05:19 -06:00
Bobby Holley
0f27ae63e7 Bug 860085 - Remove unused AutoPopJSContext. r=gabor 2013-07-03 11:05:19 -06:00
Bobby Holley
0886018b66 Bug 860085 - Rename xpc::{Push,Pop}JSContext and make them assert against DOM JSContexts. r=gabor 2013-07-03 11:05:18 -06:00
Bobby Holley
5ba2509426 Bug 860085 - Use an AutoPushJSContext in XPCCallContext instead of doing it manually. r=gabor 2013-07-03 11:05:18 -06:00
Jan de Mooij
31b32c4e26 Bug 889825 - Eliminate more bounds checks when double arrays are used. r=h4writer 2013-07-03 18:55:01 +02:00
Shu-yu Guo
2e58130088 Bug 888470 - Sweep parallelStringConcatStub_. (r=djvj) 2013-07-03 09:47:29 -07:00
Shu-yu Guo
3ac1b6210b Bug 888837 - Fix tagging of callee token in arguments rectifier. (r=jandem) 2013-07-03 09:47:28 -07:00
Shu-yu Guo
0b34a1c732 Bug 887921 - Don't toggle GC write barriers in parallel execution. (r=sstangl) 2013-07-03 09:47:28 -07:00
Shu-yu Guo
872f19e409 Bug 886102 - Ignore idempotency for parallel ICs. (r=nmatsakis) 2013-07-03 09:47:28 -07:00
Shu-yu Guo
74f457a84a Bug 886101 - Only int32-specialized bitwise ops should be marked safe in parallel. (r=nmatsakis) 2013-07-03 09:47:28 -07:00
Brian Hackett
3b073c79d8 Bug 886960 - Reuse types from previous analyses of a loop when rebuilding inner loops, r=jandem. 2013-07-09 08:50:24 -06:00
Kyle Huey
49b422d01c Bug 885866: Separate deferred finalization from XPConnect so we can use it off the main thread. r=mccr8, peterv, bsmedberg, jorendorff 2013-07-09 07:28:15 -07:00
Dan Gohman
357f03643f Bug 891119 - IonMonkey: Simplify RegisterSet usage by using takeUnchecked instead of has and take. r=h4writer 2013-07-09 07:03:18 -07:00
Dan Gohman
e81bafbb0e Bug 891119 - IonMonkey: Small cleanups, delete unused (and buggy) code. r=h4writer 2013-07-09 07:03:07 -07:00
Shu-yu Guo
bec9739215 Bug 891323 - Remove the 'no-ion' jit-test flag from expression-autopsy.js now that it passes. (rs=jorendorff) 2013-07-09 06:22:39 -07:00
Nathan Froyd
36e1a02735 Bug 887902 - move --enable-debug{,-symbols} option processing before MOZ_COMPILER_OPTS; r=glandium
MOZ_COMPILER_OPTS depends on MOZ_DEBUG_FLAGS being set for proper checking of
linker dead code deletion when using GCC.

GC'ing sections saves ~1.5MB off of mobile libxul according to size(1):

[froydnj@cerebro eideticker]$ size /opt/build/froydnj/build-android/dist/bin/libxul.so
   text	   data	    bss	    dec	    hex	filename
23733400	2314816	1495973	27544189	1a44a7d	/opt/build/froydnj/build-android/dist/bin/libxul.so
[froydnj@cerebro eideticker]$ size /opt/build/froydnj/build-android/dist/bin/libxul.so
   text	   data	    bss	    dec	    hex	filename
22261936	2145116	1494533	25901585	18b3a11	/opt/build/froydnj/build-android/dist/bin/libxul.so
2013-06-27 13:50:54 -04:00
Hannes Verschore
56fea23101 Bug 886966: OdinMonkey: Fix FFI calls when passing arguments from the stack on ARM, r=mjrosenb 2013-07-09 14:03:24 +02:00
Jan de Mooij
d8bc6ad4fd Bug 864400 - Optimize ModI for non-constant power-of-2 divisors. r=h4writer 2013-07-09 10:23:58 +02:00
Nicholas Nethercote
6a67ea687f Bug 890784 (part 2) - Fix up #includes after the creation of the vm/Runtime module. r=wmccloskey. 2013-07-07 23:23:59 -07:00
Nicholas Nethercote
4eee9162ad Bug 890784 (part 1) - Create a new vm/Runtime module and put JSRuntime in it. r=wmccloskey.
--HG--
rename : js/src/jscntxtinlines.h => js/src/vm/Runtime-inl.h
rename : js/src/jscntxt.cpp => js/src/vm/Runtime.cpp
rename : js/src/jscntxt.h => js/src/vm/Runtime.h
2013-07-07 23:18:48 -07:00
Makoto Kato
27773878df Bug 890171 - Cleanup old jaegermonkey defines in js/sc/configure. r=luke 2013-07-09 14:30:11 +09:00
Jed Davis
8a1de4653f Bug 888578 - Extend ARM masm's floatArgsInGPR workaround to memory loads. r=mjrosenb
The move resolver doesn't understand using a pair of registers, which
we have to do on ARM softfp to pass doubles in the integer registers,
if they occur early enough in the argument list.  We had a workaround
(see uses of floatArgsInGPR) for when the argument is moved from a float
register; this change extends it to handle loading from memory.
2013-07-03 09:21:50 -04:00
Jan de Mooij
e4d120d180 Bug 886277. r=djvj 2013-07-03 14:34:11 +02:00
Jan de Mooij
b1e1601055 Bug 799122 - Eagerly allocate dense elements for small arrays. r=luke 2013-07-03 13:17:29 +02:00
Hannes Verschore
ef60a1c7b9 Bug 886255 - Let activatation of inactive JitActivation behave more closely to the construction of active JitAction, r=jandem 2013-07-03 10:41:17 +02:00
Hannes Verschore
f25132e510 Bug 886287 - OdinMonkey: Push the descriptor/argc filling the full pointer size, r=luke 2013-07-03 10:33:41 +02:00
David Anderson
e90c94517c Rewrite CPOWs to use one actor per process (bug 853209, r=billm,bholley,smaug). 2013-07-03 00:24:32 -07:00
Bobby Holley
430c8c1353 Bug 882905 - Remove hasVersion from js::CompartmentOptions. r=luke 2013-07-02 23:30:37 -06:00
Nicholas Nethercote
17dde15c72 Bug 889146 (part 10) - Clean up ArrayBufferObject a bit. r=sfink.
--HG--
extra : rebase_source : dab1cfca56c7d46df5a07af02a62b197587ca629
2013-07-02 13:27:12 -07:00
Nicholas Nethercote
522f63c5b4 Bug 889146 (part 9) - Clean up DataViewObject a bit. r=sfink.
--HG--
extra : rebase_source : 9cce2029b9eceaa5e1dbff54ced913179213b262
2013-07-02 13:19:18 -07:00
Nicholas Nethercote
e253358027 Bug 889146 (part 8) - Move some functions into ArrayBufferViewObject and make its SLOT members protected. r=sfink.
--HG--
extra : rebase_source : 01e19458a6499da4fa296aed0c56203d414fff44
2013-07-02 13:06:12 -07:00
Nicholas Nethercote
0ef868476c Bug 889146 (part 7) - Rename Int8Array as Int8ArrayObject, and likewise for othe typed array classes. r=sfink.
--HG--
extra : rebase_source : 6343032a019e86cdfae64a8319b5b189969c823f
2013-07-02 12:48:35 -07:00
Nicholas Nethercote
9c7a2167f4 Bug 889146 (part 6) - Rename TypedArrayTemplate as TypedArrayObjectTemplate, and ThisTypeArray as ThisTypedArrayObject. r=sfink.
--HG--
extra : rebase_source : df4c83ec555e0436efb1769e64f722fc1f30a2b0
2013-07-02 12:48:35 -07:00
Nicholas Nethercote
81be90697d Bug 889146 (part 5) - Rename TypedArray as TypedArrayObject. r=sfink.
--HG--
extra : rebase_source : 2eb626fb70a2ef510705c5d9d1fd483871158059
2013-07-02 12:48:35 -07:00
Nicholas Nethercote
3c38f123b1 Bug 889146 (part 4) - Rename DataView as DataViewObject in comments, where appropriate. r=sfink.
--HG--
extra : rebase_source : 917e1a47c6bc53f8021b03e70582a1a6745fc309
2013-07-02 12:48:35 -07:00
Nicholas Nethercote
203704f26b Bug 889146 (part 3) - Rename BufferView as ArrayBufferViewObject. r=sfink.
--HG--
extra : rebase_source : 5aab8be3c4a115d47c68e803044f7f99ffc23021
2013-07-02 12:48:35 -07:00
Nicholas Nethercote
1062867a06 Bug 889146 (part 2) - Rename ArrayBuffer as ArrayBufferObject in comments, where appropriate. r=sfink.
--HG--
extra : rebase_source : 6827010b81847ca02dd297dab526ea6850cbb446
2013-07-02 12:48:34 -07:00
Nicholas Nethercote
85f64085da Bug 889146 (part 1) - Realign the typed array class hierarchy. r=sfink.
--HG--
extra : rebase_source : f8f412226579a6bc3d572f32df455979be37af52
2013-07-01 23:15:42 -07:00
Xavier Fung
221217ebbf Bug 888158 - Make configure to detect Visual Studio 2013 compiler. r=ted 2013-07-03 10:52:32 +09:00
Dan Gohman
82f735fe7c Bug 876064 - Implement constant pools for double constants on x64. r=sstangl 2013-07-01 21:24:08 -07:00
Dan Gohman
a0b2a8279e Bug 876064 - Change HeapLabel with NonAssertingLabel, and don't allocate it on the heap. r=luke 2013-07-01 21:23:00 -07:00
Trevor Saunders
555efd0eb9 bug 886526 - remove XPCOM_TRANSLATE_NSGM_ENTRY_POINT r=bsmedberg 2013-06-15 02:33:35 -04:00
Nicolas B. Pierron
6e8f09cf66 Bug 888568 - Range analysis, Handle int32 infinities on MAbs. r=mjrosenb 2013-07-02 17:41:27 -07:00
Trevor Saunders
ba5234fbc9 bug 877937 - copy the work around to allow clang to build as C++11 to js/src/build/unix/headers/ r=glandium 2013-06-26 17:26:04 -04:00
Bobby Holley
4743c7fcdf Bug 888104 - Fix xpcshell linkage error on windows. r=me CLOSED TREE 2013-07-02 16:34:33 -06:00
Joey Armstrong
b931149ad7 bug 870407: move CMMSRCS to mozbuild (file batch #3). r=mshal 2013-07-02 17:09:08 -04:00
Bobby Holley
71fd12c910 Bug 888104 - Reimplement Auto*JSContext in terms of AutoCxPusher. r=gabor 2013-07-02 14:39:03 -06:00
Bobby Holley
8a738ba0a1 Bug 888104 - Introduce AutoCxPusher and reimplement nsCxPusher in terms of it. r=gabor 2013-07-02 14:39:03 -06:00
Bobby Holley
8536bd9ae6 Bug 888104 - Move nsCxPusher's mScx grabbing code into the common helper method. r=gabor
This function is called by Push and PushNull, so with the added null check this
is equivalent. This facilitates the refactoring in the next patch.
2013-07-02 14:39:02 -06:00
Mike Shal
37bbfefcec Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4); r=joey 2013-07-01 11:34:30 -04:00
David Anderson
560edcbeff Remove unused run-to-completion feature in IPDL (bug 876989, r=cjones). 2013-07-02 11:22:18 -07:00
Sankha Narayan Guria
159aaf8346 Bug 788172 - Make Proxy a function. r=ejpbruel 2013-07-02 21:57:14 +05:30
Dan Gohman
95e3c4ec47 Bug 866137 - Implement range analysis for LoadTypedArrayElement r=jandem 2013-07-02 10:40:04 -07:00
Ian Stakenvicius
7f3aed5bd0 Bug 886418 - Add MOZJS_{MAJOR,MINOR}_VERSION to js-config.h so that JSAPI differences can be handled at compile time. r=glandium
--HG--
extra : rebase_source : 20d442b10d3facd30d0eaaa603214038eed72baf
2013-06-24 12:40:00 +02:00
Jeff Walden
42538d85af Bug 869659 - Make the ECMAScript Internationalization API opt-out, rather than opt-in. Also opt desktop builds out of the API for now, til we get cross-compiling working. r=glandium 2013-05-10 15:30:15 -07:00
Jeff Walden
296b917e73 Bug 888106 - Add too-much-recursion detection to isExtensible tests, and make the isExtensible hook capable of failing. r=bholley, r=ejpbruel
--HG--
extra : rebase_source : fe7345322f87dd214aa5122ea8704750e8b2375a
2013-06-28 14:01:09 -07:00
Jon Coppeard
bda7884000 Bug 886829 - also update comments in jsclass.h DONTBUILD 2013-07-02 12:14:30 +01:00
Terrence Cole
d145542530 Bug 878160 - GC: post barrier weak references in the browser - part 2 browser r=terrence r=billm
--HG--
extra : rebase_source : a1856a7dce28da5086f6fbeaeda15596193aa7ad
2013-06-05 16:40:02 -07:00