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

62254 Коммитов

Автор SHA1 Сообщение Дата
Jason Orendorff c51aa0ae1e Bug 1407414 - Crash in js::GetOwnPropertyDescriptor. r=bz
--HG--
extra : rebase_source : 809c17494fa0aafcc0964593510457d1b3712ddc
2017-10-17 16:25:40 +01:00
Nicholas Nethercote 7f098bdb9c Bug 1409227 (part 4) - Replace nsMemory::Clone(id, sizeof(nsID)) with nsID::Clone(id). r=mccr8.
This change requires introducing nsID::Clone(). Because it's infallible, the
patch also removes some redundant failure-handling code. (nsMemory::Clone() is
also infallible, so this code was redundant even before this change.)

--HG--
extra : rebase_source : ef22757d3fa814320490bf7e19e822b8f0c4bdc3
2017-10-18 10:39:20 +11:00
Nicholas Nethercote 1fdf1c46d3 Bug 1409227 (part 3) - Replace nsMemory::Clone(s, sizeof(s)) with moz_xstrdup(s). r=froydnj.
The new code is slightly less efficient because it requires measuring the
string length, but these strings are all short so it shouldn't matter.

Note that the case in DataToString() is a little different. The std::min() that
was there appears to be excessive caution -- this code is always printf'ing
some kind of number, so 32 chars should never be reached -- but it was bogus
anyway, because if 32 was exceeded then (a) we would have overflowed `buf`, and
(b) we'd be returning a non-null-terminated string.

--HG--
extra : rebase_source : b666ad72c09d8c32b98bb9abc9dce1bd0c912c9b
2017-10-17 13:28:40 +11:00
Nicholas Nethercote 3076238153 Bug 1409227 (part 2) - Replace nsMemory::Clone(s, strlen(s)+1) with moz_xstrdup(s). r=erahm.
They are equivalent -- both infallible, both requiring measuring the length of
the string -- but moz_xstrdup is much more readable. (One place deals with
16-bit strings and so uses NS_strdup instead, which is also infallible.)

The patch also removes some failure-path code that will never execute due to
the infallibility.

--HG--
extra : rebase_source : 115574cf55db90b60e6bee59e5dc6ee409374159
2017-10-17 13:09:29 +11:00
Sebastian Hengst f3f32c7851 merge mozilla-central to mozilla-inbound. r=merge a=merge
--HG--
rename : media/libstagefright/binding/include/mp4_demuxer/ByteReader.h => media/libstagefright/binding/include/mp4_demuxer/BufferReader.h
extra : rebase_source : 98d9275bf6065bc701881aed6c4635f1da9ea642
2017-10-18 00:05:25 +02:00
Sebastian Hengst 34714cebde merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2KL1o3EPUk
2017-10-17 23:52:28 +02:00
Sean Stangl 031b782d8e Bug 1340532 - Limit number of SharedArrayBuffers in normal JS code. r=lth 2017-10-17 11:18:42 -04:00
Luke Wagner 70c9a6e4aa Bug 1406421 - Baldr: allow parallel compilation to proceed until finish() (r=bbouvier)
MozReview-Commit-ID: 4qjAeC668Mp

--HG--
extra : rebase_source : 4b1b238f0732cda0abd33c08ac676c495d9347f1
2017-10-17 08:55:36 -05:00
Luke Wagner 584ea5e01a Bug 1406421 - Remove invalid assert from ~BufferStreamState() (r=till)
MozReview-Commit-ID: 6f1xRdHoLWL

--HG--
extra : rebase_source : 21aa5213b3f0fdab67f43c18d2b6fb6cfa2ca8b8
2017-10-17 08:54:17 -05:00
Luke Wagner 8425b460cd Bug 1406421 - Fix js::Thread race on windows (r=till)
MozReview-Commit-ID: 32MrHVeATH5

--HG--
extra : rebase_source : 2306fd91f8ebee0d2d23d0ce93f8e1af3c4865eb
2017-10-17 08:52:40 -05:00
André Bargull 7bd6ecd055 Bug 1398185 - Part 2: Remove more unnecessary rooting from Intl code. r=Waldo 2017-10-16 14:04:18 +02:00
André Bargull f2192cca53 Bug 1398185 - Part 1: Use null prototype for default options in Intl objects. r=Waldo 2017-10-16 22:45:57 +01:00
Jon Coppeard 79dd57964d Bug 1408375 - Split zone and runtime malloc counters r=sfink 2017-10-17 19:54:28 +01:00
Lars T Hansen 34d21b7e9e Bug 1404683 - introduce wasmCompileMode in testing functions, only run a baseline oom test when baseline-only compilation is enabled. r=bbouvier
--HG--
extra : rebase_source : 8a681e996b635503f47a4ce28fe4eadd9a74c2e6
extra : source : f09dacc89e47828354e7b07f484af958711bd57b
2017-10-10 13:06:05 +02:00
Lars T Hansen 355570f338 Bug 1388785 - also force rabaldr to be tested. r=bbouvier
--HG--
extra : rebase_source : bf2b599665b0c3a609cd0612850c5c84ef607364
extra : source : 3e90d14cce888eb426cfb739857c9c9318d44147
2017-10-10 13:49:20 +02:00
Lars T Hansen 3f402ae78d Bug 1336027 - wasm baseline, move platform functionality into MacroAssembler layer. r=nbp
--HG--
extra : rebase_source : 9a79fc2b7631a142a5ce0792d520f5be7f54df02
extra : intermediate-source : b0cea1505a204dca0d9ce68820653a3c57b08dd7
extra : source : 55842d0468fc8fcc7d7d3964a3ecdc83cb1990b6
2017-10-13 07:59:54 +02:00
Koki Takahashi 6b9e774ce9 Bug 1405943 - Part 2: Add tests for pipeline operator. r=arai 2017-10-17 00:10:00 -04:00
Hiroaki Karasawa 24b109a6bc Bug 1405943 - Part 1: Implement Pipeline Operator |>. r=arai 2017-10-17 00:10:00 -04:00
Jon Coppeard 24a661aec0 Bug 1407314 - Fix remaning rooting hazards by telling the analysis that the object moved hook can't GC r=me on a CLOSED TREE 2017-10-17 11:53:43 +01:00
Sylvestre Ledru 6d1f8863a7 Bug 1409284 - js::atomics_wait: Remove unnecessary parentheses in declaration of 'addr' r=bbouvier
MozReview-Commit-ID: 9PidKoEWpOf

--HG--
extra : rebase_source : cd6e1b453b29f925a1f385d2a52b5ab4278fff79
2017-10-17 09:59:26 +02:00
Andi-Bogdan Postelnicu 55f3b13f1b Bug 1409285 - Avoid using memcpy on HeapSlot that is not trivially copyable. r=jandem
MozReview-Commit-ID: IdM3RHAIFin

--HG--
extra : rebase_source : fc8b15e756f35cfe2dbec008a6729f36916a8b68
2017-10-17 11:50:31 +03:00
Sylvestre Ledru 5cc6cb2b49 Bug 1408750 - allocateForDefinition: Remove unused variable 'from' r=nbp
MozReview-Commit-ID: H9X1NAiYNny

--HG--
extra : rebase_source : 608e7c2e5d21394c2ca7110bb4f4c61e649a23e1
2017-10-15 16:24:31 +02:00
Kris Maglione bd6d63772a Bug 1407428: Hand out a const array reference for expanded principal whiteList. r=krizsa
The current API makes the life time and ownership of the result array unclear
without careful reading. The result array is always owned by the principal,
and its lifetime tied to the lifetime of the principal itself. Returning a
const array reference makes this clear, and should prevent callers from
accidentally modifying the returned array.

MozReview-Commit-ID: 3f8mhynkKAj

--HG--
extra : source : 237acf2879f6222bc4b076c377bf026d18a6ebef
extra : amend_source : dfaf6e88e3c4758f7fdcf7fb422d457edafab1b7
2017-10-10 15:00:16 -07:00
Nicholas Nethercote c2c63f9811 Bug 1408275 - Teach the write hazard analysis about more heap allocator functions. r=sfink.
This bit me in bug 1407494 part 5, where I replaced some NS_strdup() calls with
moz_xstrdup().

MozReview-Commit-ID: 7LnlCJDvgm5

--HG--
extra : rebase_source : 332c6615d8731e9cd8e122f6f98b9f2f43f97121
2017-10-13 15:24:21 +11:00
Sebastian Hengst 11a2b8ef67 Backed out changeset 237acf2879f6 (bug 1407428) for frequent crashes, e.g. in xpcshell's test_bug248970_cookie.js. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 1ccac4fb953566239cba8db7d6f8bdca4ce48b35
2017-10-16 00:00:15 +02:00
Kris Maglione 7d8f8ea3d6 Bug 1407428: Hand out a const array reference for expanded principal whiteList. r=krizsa
The current API makes the life time and ownership of the result array unclear
without careful reading. The result array is always owned by the principal,
and its lifetime tied to the lifetime of the principal itself. Returning a
const array reference makes this clear, and should prevent callers from
accidentally modifying the returned array.

MozReview-Commit-ID: 3f8mhynkKAj

--HG--
extra : rebase_source : d2a5e0862f8c964fb5a3e46b50c2e9629b218699
extra : amend_source : 27d7a7ef5da6fe2aa1104009b6ee067465db73e1
2017-10-10 15:00:16 -07:00
Jan de Mooij ffe7770ccf Bug 1407607 followup - Fix rooting hazard. r=red
--HG--
extra : rebase_source : 1eef543c0461c601c47cbfb96a3ae3309b4221c1
2017-10-14 14:22:15 +02:00
Jan de Mooij 0ca4fd5841 Bug 1407607 - Use a single entry point for C++ -> JIT calls. r=nbp
--HG--
extra : rebase_source : 8aab46bd17472a0e5f88cd3255d152453f7648c2
2017-10-14 12:45:54 +02:00
Leo Balter 86d755f783 Bug 1374290 - Update the skip list. r=sfink
--HG--
extra : rebase_source : ca994ba99f9dedd5f87a3a1c29d478bc3dd6e758
2017-10-12 16:41:38 -07:00
Leo Balter 7e7212e4ce Bug 1374290 - Test the local import script. r=sfink
--HG--
extra : rebase_source : ae03ea7cd4c28c2614cf66825c215804d0954dcb
2017-09-12 13:45:00 -07:00
Leo Balter 9a433cb44f Bug 1374290 - Test262 export script. r=shu
--HG--
extra : rebase_source : aba4978548759eac0793e9bc04aaa4454864b457
2017-10-13 14:40:01 -07:00
Leo Balter f107cf6e6c Bug 1374290 - Import diff contents from a local Test262 folder. r=shu
--HG--
extra : rebase_source : 727a4b653cb5909a727475bb29f1f45a38df599e
2017-08-18 15:58:00 -07:00
Steve Fink 67d7e8dcdc Bug 1406570 - Rooting improvements, r=jonco,bz
--HG--
extra : rebase_source : 48d6fd63e016abe7a6ce22e621d25858560e61f1
2017-10-09 10:59:02 -07:00
Steve Fink 04e342c3ba Bug 1305005 - Remove race on TypeString() char buffers, r=jonco
--HG--
extra : rebase_source : 400e68078258f455e2645dca4c81eaa4783498f7
extra : source : 3d4353f7c8b7d4a8672fe6b0a5572d9393ee8026
2017-10-12 17:39:59 -07:00
Steve Fink 4a0ee43977 Bug 1402582 - Make shell's EnvironmentPreparer grab cx from TLS. r=bhackett
--HG--
extra : rebase_source : d0e1fab3aa25fd33bc77e192314535bd7a7b7b59
2017-10-10 16:16:21 -07:00
Benjamin Bouvier e3ff926fb2 Bug 1408356: Add missing NativeABIPrologueClobberable in none builds; r=luke
MozReview-Commit-ID: LH56gtrjyji

--HG--
extra : rebase_source : a45f1774e4fba0b9b508e149b9166fbe9f997907
extra : amend_source : ad6e104fc8d84475ee530b44373e83bbff376f35
2017-10-13 14:41:43 +02:00
Nicolas B. Pierron 7ddabbc5c9 Bug 1407822 - Remove BumpChunk::magic_ value when the assertion are removed. r=jandem 2017-10-13 13:44:01 +00:00
Jon Coppeard 3d3f30bbe6 Bug 1405980 - Dump debugging information if zones are not scheduled as expected r=sfink 2017-10-13 11:20:54 +01:00
Sebastian Hengst 1c1a5cef77 Merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5oI3jfNbQVt
2017-10-13 11:12:47 +02:00
yuyin 0005d455fc Bug 1407867 - MIPS64: Add missing save/restore registe fp. r=lth
fp use as Assembler::FramePointer, also see Bug 1393723.
2017-10-11 18:49:00 -04:00
Sebastian Hengst 87cd48824a merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-10-13 00:53:56 +02:00
Benjamin Bouvier e1285cf36b Bug 1406879: Skip wasm frames when when enabling profiler and setting profiling FP; r=jandem
MozReview-Commit-ID: EIjjda2AorV

--HG--
extra : rebase_source : 826c31104983b0207ff4ce1f9a7a89ea75f2630c
2017-10-11 16:03:47 +02:00
Jon Coppeard 5537b2c136 Bug 1407505 - Relax assertion in ExecutableAllocator destructor if the embedding leaked r=jandem 2017-10-12 13:34:56 +01:00
Benjamin Bouvier 74c8c8384a Bug 1406883: Make the constructing of MutableHandleValue explicit in CoerceInPlace calls; r=luke, r=jonco
MozReview-Commit-ID: 5Xfc8W9TR6v

--HG--
extra : amend_source : a8689c5e2206ec6bd06ab5455a638f19427f854f
2017-10-09 12:08:46 +02:00
Jon Coppeard 5f676753c0 Bug 1395744 - Save scheduled zones at the start of GC in case begin callback changes them r=sfink 2017-10-12 10:32:24 +01:00
Jan de Mooij b39bc4656a Bug 1407058 - Fix isDataProperty to return false for accessors with nullptr getter/setter. r=evilpie 2017-10-12 11:06:55 +02:00
Jan de Mooij 4f3b63ae99 Bug 1406957 part 4 - Remove now-dead InterpreterFrame createSingleton flag. r=tcampbell 2017-10-12 11:04:46 +02:00
Steve Fink 3d3cc368d4 Bug 1407236 - Use allow-oom instead of error: out of memory for racy test, r=jonco
--HG--
extra : rebase_source : e238f94daaa01f46198e192c7fc58f3297b6b91f
2017-10-11 16:28:55 -07:00
Steve Fink 9a54469366 Bug 1406570 - "Root" compartment while entering it, r=jonco
--HG--
extra : rebase_source : 71cf95cb8dc7c561787a9d93162bcc63c610ef88
2017-10-11 17:19:24 -07:00
Brian Hackett 7e6045a916 Bug 1402836 - Avoid racing while destroying JS shell contexts, r=jandem.
--HG--
extra : rebase_source : b1d7ab23e9a347fae3efbea0b00aab8dfb3a6202
extra : histedit_source : 09d44a28f35289aad0195c29d6f5d1442baa7913
2017-10-12 05:23:29 -07:00
Jason Orendorff 2db41f075d Bug 1396466 - Remove Xray expando chains from the weakmap when transplanting nodes. r=bz
--HG--
extra : rebase_source : aa90385160666b155cc8dbad63bcfa34d3e50d32
extra : amend_source : 6b9ebda268a6198f5e0143e5449f9d62ef1aed76
2017-10-10 10:42:18 -05:00
Ted Campbell 810352b6f4 Bug 1402596 - Init Promise job queue on cooperative threads (jsshell) r=till
MozReview-Commit-ID: 6ikd7yZyIRk

--HG--
extra : rebase_source : 97c356490a938d98a1daaae3cdc28809b9f8ef94
2017-10-11 11:32:32 -04:00
Dustin J. Mitchell c673307b64 Bug 1403322 - schedule jsreftests inclusively; r=ahal
This is just one flavor of the "reftets" suite, so we need to add a distinct
scheduling component for it.

MozReview-Commit-ID: AtKuvuUCk1l

--HG--
extra : rebase_source : 3f316f0293e8d1245fc6e891bbcd044586ab6c06
2017-10-11 17:31:20 +00:00
Dustin J. Mitchell 0b3b170dce Bug 1403322 - schedule jittests inclusively; r=ahal
MozReview-Commit-ID: JcvMSTBJ83p

--HG--
extra : rebase_source : d51581a5418fdf5b119b8670ccf89cafcc0743ae
2017-10-11 17:21:11 +00:00
Brian Hackett ed36a3172e Bug 1355109 - Add IC for property reads on xrays, r=jandem,bz.
MozReview-Commit-ID: 942dk0gNh23
2017-07-21 07:49:53 -07:00
Benjamin Bouvier 6d0c96ad81 Bug 1406041: Add a fast-path for wasm code segment lookup; r=luke
MozReview-Commit-ID: L6LXvOOaNKs

--HG--
extra : rebase_source : c6efebdeba448366dd6f8adf740cbc167edadbbd
extra : amend_source : 07625d42aaadf3dc2e13176a66ad09bd7d705ea0
2017-10-11 19:01:57 +02:00
André Bargull f5a7cfc81b Bug 1407674 - Shrink extlangMappings by removing redundant "preferred" fields. r=Waldo 2017-10-12 05:30:19 -07:00
André Bargull 46b0925912 Bug 1407551 - Allow any printable ASCII characters in time zone names for Date.prototype.toString. r=Waldo 2017-10-12 05:33:18 -07:00
Steve Fink 7a34436b57 Bug 1406508 - Allow fuzzers to set binary clone buffer data, r=jorendorff
--HG--
extra : rebase_source : a336fba8c49ed474fd6334a4d79eec038fb32bc1
2017-10-09 17:41:01 -07:00
Nicolas Auvray b85b90d54f Bug 1285917 - Add tests for JS::InformalValueTypeName. r=jorendorff
--HG--
extra : rebase_source : b8d242611174ac1ceaf3761b47c654ee657ab524
extra : amend_source : a098f77e902d9d8248dab06a950faf5726270e01
2016-12-11 20:05:59 +01:00
André Bargull ee940f786b Bug 1407584 - Part 3: Update test262 skip list. r=Waldo
--HG--
extra : rebase_source : 8d51cab94744f8a3dc698b4fae08a56a786b1162
2017-10-11 05:36:42 -07:00
André Bargull c234564550 Bug 1407584 - Part 2: Update test262 files. rs=Waldo
--HG--
extra : rebase_source : 9f4b567d79e1a9f6b12704378523a3fdf92891c8
2017-10-11 05:36:38 -07:00
André Bargull daef1c9317 Bug 1407584 - Part 1: Update the list of supported and unsupported features for the test262 importer. r=Waldo
--HG--
extra : rebase_source : b1dbe0c67ebff6e8c9ab768a2a9bc9b8f8f2370f
2017-10-11 05:36:21 -07:00
Brian Hackett 731824c92b Bug 1405820 - Remove ReportUsageErrorASCII assertions that are invalid when used with shell clone() function, r=waldo. 2017-10-11 10:31:10 -07:00
André Bargull ffdab4fa13 Bug 1405284 - Avoid extra copying of property keys when calling js::GetOwnPropertyKeys. r=jandem
--HG--
extra : rebase_source : 1bcf4acbf4db018e403b82d724da50297a5470a7
2017-10-11 06:50:59 -07:00
André Bargull f5c8496af4 Bug 830304 - Compute correct time zone offsets for Date methods. r=Waldo
--HG--
extra : rebase_source : 480e087c1e19771f18ccb7146b55f063f347b817
2017-10-11 06:54:44 -07:00
Benjamin Bouvier ffd821fe46 Bug 1406041: Make testTypedArrayInit temporarily faster to run in ARM sim to fix bustage on a CLOSED TREE; rs=luke
--HG--
extra : amend_source : 480a8dc09e76a1b825218ff758e311426f31e411
2017-10-11 18:34:55 +02:00
Benjamin Bouvier 7a5082e0d1 Bug 1406897: use quit() instead of top-level return in test to fix bustage on a CLOSED TREE; r=me 2017-10-11 18:27:53 +02:00
Jon Coppeard f665a1c133 Bug 1384049 - Trigger an incremental GC based on malloc memory counters r=pbone 2017-10-04 15:45:30 +01:00
Benjamin Bouvier c4b8fd08c0 Bug 1406897: Use JitFrameIter::operator++ in OnlyJSJitFrameIter::settle; r=luke
--HG--
extra : rebase_source : b26122993792502ad0f30f63abccc41a7abd853e
extra : amend_source : e718b2e5469a8dd7ae9e489a1626c37b80ae771b
2017-10-11 16:45:32 +02:00
Benjamin Bouvier dbd7908b4d Bug 1406041: Implement process-wide wasm code lookup; r=luke
--HG--
extra : rebase_source : 78f074a8aa470014276f77bda151d3165588fa4d
2017-10-11 11:40:30 +02:00
Jason Orendorff 7b5f4b93ca Bug 1405760 - Don't set the op field of array literal and object literal nodes. r=Waldo
--HG--
extra : rebase_source : 59251498af17b43d3146fdbd6db13e0c23090a79
2017-10-04 15:08:20 -05:00
Jason Orendorff e899cc8b59 Bug 1405760 - Remove ParseHandler::newBinary from the interface. Don't set the op field of assignment nodes. r=Waldo
FullParseHandler::newBinary remains as a private method.

--HG--
extra : rebase_source : f51fe8f1a3357e826d05c8afc3fad4139eceec3a
2017-10-04 11:51:14 -05:00
Jason Orendorff 13fc4dd2ea Bug 1405760 - Remove op argument from ParseHandler::newList signatures. r=Waldo
Several kinds of list nodes still have a pn_op set, even with this change.

--HG--
extra : rebase_source : a64aeef176f93363e0be477e2a4a036f40c8d6a2
2017-10-04 11:17:18 -05:00
Jason Orendorff dc98eca3a4 Bug 1405760 - Don't set the op field for other unary nodes either. r=Waldo
--HG--
extra : rebase_source : 644aef19dedc9901eb65d3ad6c3e68660ce870f5
2017-10-04 10:41:54 -05:00
Jason Orendorff 7de5fe074e Bug 1405760 - Don't set the op field of nodes for unary operators. r=Waldo
--HG--
extra : rebase_source : 5ffb6696f69e8ecf4725af2333d2bc239a7eeea8
2017-10-04 10:21:46 -05:00
Jason Orendorff 5bf23340aa Bug 1405760 - Change add{Class,Object}MethodDefinition not to take a JSOp argument. r=Waldo
The ParseNodes still store a JSOp, though, for now.

--HG--
extra : rebase_source : 59483bcf080699e5631d32cc800036ff9091b632
2017-10-04 09:43:16 -05:00
Jason Orendorff d7a3eb23e0 Bug 1405760 - Remove ParseHandler::newTernary. r=Waldo
This also removes the (already-obsolete) op argument from TernaryNode constructors.

--HG--
extra : rebase_source : 0fd68ea1da8b90bfd289dca2ba19c179023e48a3
2017-10-04 09:21:39 -05:00
Jason Orendorff e7b835b2c0 Bug 1405760 - Don't set the op field of nodes for binary operators. r=Waldo
--HG--
extra : rebase_source : 90a217fabcf960c3c12ac3fae8de56863d4ae1af
2017-10-04 10:23:25 -05:00
Jason Orendorff c80673f70b Bug 1405760 - Remove ParseHandler::newNullary, replacing the one use with a new method. r=Waldo
--HG--
extra : rebase_source : 7ef6ca92e439e815e7352102b8e4fe9be11b3ed4
2017-10-04 08:50:05 -05:00
Jason Orendorff a9b8193313 Bug 1405760 - Remove the JSOp argument from ParseHandler::newDeclarationList. r=Waldo
This changes these ParseNodes to have pn_op=JSOP_NOP, but the field is
already ignored downstream for these node kinds.

--HG--
extra : rebase_source : e9d58d22dd116de134e3e36e6c8f3754511bc735
2017-10-04 08:42:50 -05:00
Jason Orendorff c30e5830c0 Bug 1402456 - Document that entering a compartment roots the global. r=sfink
--HG--
extra : rebase_source : 229cc90fcb5bc93b1e4f39be5f7d95bbabe9ccc3
2017-09-22 15:01:52 -05:00
Jason Orendorff fe9baf1ed1 Bug 1277734 - Null test after dereference in CompartmentChecker::check. r=billm
--HG--
extra : rebase_source : e9e52309c12b7d27c388aaf10200dda4ed80ab33
2017-10-03 09:57:13 -05:00
Kartikaya Gupta 0998110100 Bug 1407578 - Fix build error due to unused variable. r=jorendorff
MozReview-Commit-ID: 6tpEC7i3Mgh
2017-10-11 10:17:28 -04:00
Jan de Mooij 1c2dea7b92 Bug 1406957 part 3 - Get rid of some code duplication in jit::CreateThis and MaybeCreateThisForConstructor. r=tcampbell 2017-10-11 14:55:17 +02:00
Jan de Mooij da26f3886d Bug 1406957 part 2 - Rewrite this-creation to be simpler and more consistent. r=tcampbell 2017-10-11 14:54:31 +02:00
Jan de Mooij 0278bed6ce Bug 1406957 part 1 - Remove Maybe<InvokeState> in Interpret. r=tcampbell 2017-10-11 14:53:10 +02:00
Jon Coppeard fa34bb9ca6 Bug 1406065 - Make JSGC_MAX_MALLOC_BYTES param the same in the shell as the browser r=sfink 2017-10-11 13:22:09 +01:00
Sebastian Hengst 051f888cef Backed out changeset 759a43ebc6bf (bug 1405541) for asserting in devtools/client/performance/test/browser_perf-console-record-03.js on Windows 7. r=backout
--HG--
extra : amend_source : 3df3e75c561cbc42db104ec1a6f6026ef021e3c7
2017-10-11 13:15:26 +02:00
Nicholas Nethercote add7e65972 Bug 1405541 - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange.
It's easy to mess up the scoping so that (a) the label is pushed and then
immediately popped, and/or (b) the string doesn't live long enough. It's also
easy to do a utf16-to-utf8 conversion unnecessarily when the profiler is
inactive.

This patch splits that macro into three new ones that are harder to mess up.

- AUTO_PROFILER_LABEL_DYNAMIC_CSTR: same as current.
- AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING: for nsCStrings.
- AUTO_PROFILER_LABEL_DYNAMIC_LOSSY_NSSTRING: for nsStrings.

--HG--
extra : rebase_source : 53c8b43b6a1be06d00618a133e28bf95c46a3ba3
2017-10-11 13:03:34 +02:00
Lars T Hansen 8b81bfc9d4 Bug 1361526 - merge from upstream test262 to kill intermittents. r=me
--HG--
extra : rebase_source : af91036a74264ff546c164e69b8ff6b5988d9506
2017-10-11 11:16:49 +02:00
Lars T Hansen 6feb402ed2 Bug 1402257 - use some fraction of physical cores for tier-2 compiles. r=luke
--HG--
extra : rebase_source : 7a09d8ba264cc9ff21d8dbd2bb9c3d31ba561fcb
extra : histedit_source : 95ce64a768b6140b425cc8218e795178eac99cf9
2017-10-09 19:37:22 +02:00
Jan de Mooij bca78a439b Bug 1385843 - Handle nested eval-in-frame better in ThrowUninitializedThis. r=tcampbell 2017-10-11 10:57:41 +02:00
Jan de Mooij 3bb67d4f17 Bug 1404306 - Set ION_COMPILING_SCRIPT in AutoLockHelperThreadState scope to avoid a shell-only race. r=jonco 2017-10-11 10:56:03 +02:00
Jan de Mooij 763bc6ef8d Bug 1406888 - Inline GeckoProfilerEntryMarker ctor/dtor. r=anba 2017-10-11 10:30:00 +02:00
Jan de Mooij cc66552944 Bug 1406900 - Devirtualize RunState methods. r=luke 2017-10-11 10:29:05 +02:00
Phil Ringnalda bd5ca8f40d Backed out changeset 901a16fec9fc (bug 1405541) for Windows assertion failures
MozReview-Commit-ID: DRGWXU4Tbfk
2017-10-10 23:28:33 -07:00
Nicholas Nethercote b23fb68ae3 Bug 1405541 - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange.
It's easy to mess up the scoping so that (a) the label is pushed and then
immediately popped, and/or (b) the string doesn't live long enough. It's also
easy to do a utf16-to-utf8 conversion unnecessarily when the profiler is
inactive.

This patch splits that macro into three new ones that are harder to mess up.

- AUTO_PROFILER_LABEL_DYNAMIC_CSTR: same as current.
- AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING: for nsCStrings.
- AUTO_PROFILER_LABEL_DYNAMIC_LOSSY_NSSTRING: for nsStrings.

--HG--
extra : rebase_source : 59f77df0124249bfd11fee3585420a17b4201d37
2017-10-04 13:44:24 +11:00
Sebastian Hengst 044775ad49 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-11 00:01:28 +02:00
Sebastian Hengst 01cd7f3d0f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GbmY183Epi2
2017-10-10 23:56:11 +02:00