Commit Graph

65585 Commits

Author SHA1 Message Date
Wander Lairson Costa
4c52aa4d3f Bug 1465505: Replace PRMJ_Now() by mozilla::TimeStamp r=jonco
Notice as TimeStamp is not an integral type, it can't be wrapped by
mozilla::Atomic. However, we wrap it in MainThreadData to assure it only
is accessed from the main thread.

Another issue is that TimeStamp class does allow some operations on a
Null value, with assertions on debug builds.

MozReview-Commit-ID: 9GPNDUooQmI

--HG--
extra : rebase_source : e2b5fe81a4c5c696425583a04395f2ae79aeaccc
2018-07-04 16:55:11 -03:00
Andrea Marchesini
d1b2b16ba7 Bug 1473024 - CSP should throw EvalError when blocking eval(), r=ckerschb 2018-07-05 08:21:04 +02:00
Matthew Gaudet
0b9e22cd4e Bug 1455770: Collapse AliasAnalysis into AliasAnalysisShared r=jandem 2018-07-03 16:08:30 -04:00
Matthew Gaudet
c15c5925f7 Bug 1472233: Ensure registers are saved at prepareVMCall site r=jandem
Take AutoSaveLiveRegisters as an argument, and use that to ensure the registers were saved

--HG--
extra : rebase_source : bb54592bd009afc67aaa0ca9c705ab28f4a45d44
2018-07-03 11:00:18 -04:00
Matthew Gaudet
d1e94adfd7 Bug 1472233: Add missed register save for Ion emitCompareStringResult r=jandem
--HG--
extra : rebase_source : 791a93a6d5800c43a7d2f980fe29d9a4f4958683
extra : source : 94543110b6eddf5d23b6d4ba51821a4894243f32
2018-06-29 11:56:01 -04:00
Benjamin Bouvier
1d7961c0ef Bug 1472974: Add more ENABLE_WASM_GC in Spidermonkey; r=jseward;
--HG--
extra : rebase_source : 2745450e4fd168084e3a6ea1655ccb03bfd19d62
extra : amend_source : db8a5765a6e70241f4babae4862a0215e74e54c6
2018-07-03 15:43:36 +02:00
Gurzau Raul
7842ca58ca Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-04 13:02:19 +03:00
Jon Coppeard
169c0ced40 Bug 1472124 - Fix memory leak in GC incremental marking validator r=anba 2018-07-04 09:48:02 +01:00
André Bargull
2304809316 Bug 1464475 - Use HandleValue for setPendingException(). r=sfink 2018-06-25 07:52:47 -07:00
Dragan Mladjenovic
b04e015746 Bug 1467404 - [MIPS] Apply MacroAssembler::convertDoubleToInt32 fix form Bug 1465770 to MacroAssembler::convertDoubleToInt32 also. r=nbp 2018-07-03 15:08:48 -04:00
shindli
5cc2efce78 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-04 01:01:25 +03:00
Petru Gurita
ff38a50f5e Bug 1468750 - add 'trackAttached' method to 'GetIteratorIRGenerator' class. r=mgaudet
Added method 'trackAttached' to the class 'GetIteratorIRGenerator' and implemented it accordingly.

MozReview-Commit-ID: CRLXFaOfgZD

--HG--
extra : rebase_source : 8c0554ef2a820b2efb1e89b1d847b127204ad5a7
2018-06-28 23:56:17 +03:00
Dragan Mladjenovic
2eecd771e7 Bug 1466461 - [MIPS] Do not emit SYNC instruction when MembarNobits is requested. r=lth
--HG--
extra : rebase_source : a922b0bbbebad4000a66f108a536ad1151525772
2018-06-04 01:04:00 +03:00
Jan de Mooij
9ba4faa71e Bug 1463163 - Make ArraySpeciesCreate realm check work with same-compartment realms. r=anba 2018-07-03 10:08:36 +02:00
Jeff Walden
51dd0dc9df Bug 1472569 - |this->|-qualify a bunch of function calls on |using Base::foo| members that gcc 8 completely chokes on and grossly misunderstands. r=arai
--HG--
extra : rebase_source : 2b14d2f9f18f2b2ecaed24d4ca23b4824df668c7
2018-07-02 19:16:58 -07:00
Nathan Froyd
2a1d44002c Bug 1472805 - silence more clang-cl warnings; r=chmanchester
clang seems to have decided that a new warning,
-Wused-but-marked-unused, is useful.  For the purposes of our codebase,
where we add __attribute__((unused)) explicitly to avoid warnings about
unused things, this new warning is useless.  The new warning is also
quite noisy, given that we have unused things in commonly-used headers
like Assertions.h.  So disable the warning.
2018-07-02 20:36:49 -04:00
Tom Schuster
604d57faf2 Bug 1413794 - Typed array [[Set]] wrongly inspects the receiver when a canonical numeric string is passed as property name. r=anba
--HG--
extra : rebase_source : f28f2528aa258b0ac3eea15bbaf0690bd1a19ace
2018-07-01 13:03:11 +02:00
Jan de Mooij
61dbdbba71 Bug 1472130 part 2 - Allow creating same-compartment realms in the shell with --fuzzing-safe. r=luke 2018-07-02 18:34:37 +02:00
Jan de Mooij
87cce62801 Bug 1472130 part 1 - Fix a bogus assert in GetInitialShapeProtoKey with same-compartment realms. r=luke 2018-07-02 18:34:27 +02:00
Jan de Mooij
a94a5f8023 Bug 1472132 - Don't inline non-scripted functions in Ion when constructing and new.target != the callee. r=anba 2018-07-02 18:34:02 +02:00
Christian Holler
2a3b6f8ca3 Bug 1471532 - Support Windows in ASan Nightly Reporter builds. r=froydnj
MozReview-Commit-ID: AK2dBOgoazY

--HG--
extra : rebase_source : 1065a2f3b10913ac574cf1187d717f21fc2994e6
extra : histedit_source : 3042e51e496e4e8593b367d89332a9199bf3999c
2018-06-27 11:19:00 +02:00
qiaopengcheng
8796d3d7c7 Bug 1472603 - Fix compiling error for switchToWasmTlsRealm on MIPS. r=jandem 2018-07-01 23:29:00 +03:00
Benjamin Bouvier
4768e602b7 Bug 1461616: Fix wasm/gc/debugger test so it actually tests something; r=luke 2018-06-28 10:13:57 +02:00
Benjamin Bouvier
f82eacce97 Bug 1450261: Implement Val, a rooted LitVal; r=luke, r=jonco
--HG--
extra : rebase_source : 010cd8dafd03402487cc80f30ff67a607895fe75
2018-06-29 16:43:20 +02:00
Benjamin Bouvier
29f287f4d4 Bug 1450261: Rename Val to LitVal; r=lth
--HG--
extra : rebase_source : 1ff8815d738b7a77f2e356e7c7dc69fd74b1d416
2018-06-21 14:25:28 +02:00
Benjamin Bouvier
6b3b7a6952 Bug 1450261: Implement support of anyref in wasm globals; r=lth
--HG--
extra : rebase_source : 7fd89ab7d62a6e46c329b34e9bf7d30324ea34b6
2018-03-27 15:40:13 +02:00
Gurzau Raul
3d25f84c56 Backed out changeset e17f5abb8114 (bug 1472268) for build bustages on /src/js/src/vtune/ittnotify_static.c on a CLOSED TREE 2018-07-02 00:59:56 +03:00
Bas Schouten
9b74ea4dc4 Bug 1472268: Update in-tree VTune integration SDK. r=sstangl
MozReview-Commit-ID: 9yRZFboc51U
2018-07-01 23:45:38 +02:00
Olli Pettay
b053857985 Bug 1472431, nodes in Shadow DOM aren't orphan, if they are in composed document, r=mccr8 2018-07-01 22:28:17 +03:00
Emilio Cobos Álvarez
3a5427ddbd Bug 1472538: Update bindgen. r=xidorn
Surprisingly painless.

I'll update to 0.37.4 instead of .3, but that only contains
https://github.com/rust-lang-nursery/rust-bindgen/pull/1343 on top to prevent
build warnings.

MozReview-Commit-ID: H0uMtdGnXvL
2018-07-01 16:04:49 +02:00
Tooru Fujisawa
a2cb2790cf Bug 1472101 - Part 2: Add a space after switch in auto-generated BinAST code. r=Yoric 2018-07-01 20:41:45 +09:00
Tooru Fujisawa
2865366ad6 Bug 1472101 - Part 1: Remove some duplicate empty lines in auto-generated BinAST code. r=Yoric 2018-07-01 20:41:44 +09:00
Tooru Fujisawa
18f5f5fee7 Bug 1472101 - Part 0: Add a script to build auto-generated BinAST code. r=Yoric 2018-07-01 20:41:44 +09:00
Tooru Fujisawa
51509797fa Bug 1460833 - Check interface when parsing field with single interface. r=Yoric 2018-07-01 20:41:43 +09:00
Bogdan Tara
da75179b31 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-01 00:57:20 +03:00
Bogdan Tara
de56c19e62 Merge inbound to mozilla-central. a=merge 2018-07-01 00:51:17 +03:00
Andreea Pavel
1bf7ac45bb Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-06-30 13:10:01 +03:00
Andreea Pavel
91a9c110e2 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-30 12:49:32 +03:00
André Bargull
e09a53c18a Bug 1471788: Apply ToNumber conversion even when the typed array write is out-of-bounds. r=evilpie
--HG--
extra : rebase_source : 9c1cc0307b8c1800f99e0884975ecd935b0e5a5d
2018-06-29 13:46:04 -07:00
jgilbert@mozilla.com
1527dfb596 Bug 1472402 - -MG for clang-cl breaks missing-include error reporting. - r=froydnj
MozReview-Commit-ID: EhtNTZcXBrt

--HG--
extra : rebase_source : 900afc0e4cfd0dde1c0f4f3ec883e879a295567c
2018-06-29 20:18:08 -07:00
Jeff Walden
80abb71067 Bug 1472066 - Add some helper functions to enable (once the non-integral Utf8Unit code unit type lands, soon) dealing with Utf8Unit as the type of UTF-8 source code in addition to char16_t for UTF-16 source code. r=arai
--HG--
extra : rebase_source : 1f050dd6c0cb07a8b5d8bc257eb42ec78d699a33
2018-06-28 20:17:17 -07:00
Jeff Walden
2f902e38d0 Bug 1472066 - Specialize TokenStreamCharsBase::fillCharBufferWithTemplateStringContents for char16_t now that its alternative UTF-8 implementation will have to function a bit differently to write data into a char16_t charBuffer. r=arai
--HG--
extra : rebase_source : 8c6e13e16777abc910aaf46d4654ae03e88f32fa
2018-06-28 20:14:27 -07:00
Jeff Walden
e249f558aa Bug 1472031 - Add SourceUnits::matchHexDigits and remove SourceUnits::peekCodeUnits used for the same ends (but that also performed a needless copy). r=arai
--HG--
extra : rebase_source : bad3e97ead1b4d72dd39420bfc96614913464d62
2018-06-28 16:08:53 -07:00
Jeff Walden
76990b22f2 Bug 1472031 - Avoid copying potential directives in TokenStreamSpecific::getDirective. r=arai
--HG--
extra : rebase_source : d6386e0fe99a2fe9050d25952426205779b8ee2e
2018-06-28 15:39:14 -07:00
Jeff Walden
75148cb5d5 Bug 1472031 - Implement a SourceUnits::remaining() function exposing how many code units are left. r=arai
--HG--
extra : rebase_source : a0e1e6add04478f6dda4407943772683f77fad24
2018-06-28 15:34:12 -07:00
Jeff Walden
4ec8af2179 Bug 1472031 - Define TokenStreamAnyChars::updateFlagsForEOL inline in the header, for simplicity. r=arai
--HG--
extra : rebase_source : 970066032cae253d5b816f188d03b23025d28729
2018-06-28 15:33:29 -07:00
Jeff Walden
4f9aef7e10 Bug 1472031 - Rename atomizeChars to atomizeSourceChars to clarify it's only for atomizing directly from source text. r=arai
--HG--
extra : rebase_source : 0a666084c0695aac7ac994c2b96d0f699965657c
2018-06-28 15:32:41 -07:00
Jeff Walden
7ed2b26ceb Bug 1472031 - Introduce a drainCharBufferIntoAtom function to clear charBuffer and create an atom from the chars that were in it. r=arai
--HG--
extra : rebase_source : bd8f3114f8704b7a266ccf21d4c110fe28ab77f1
2018-06-28 15:31:13 -07:00
Jeff Walden
da3129de0b Bug 1467336 - Change a bunch of 'character' nomenclature in token stream code to 'code unit', completing the transition from tokenizing by UTF-16 'character' to tokenizinng by UTF-8/16 code unit. (There are straggling places where algorithms will need to be specialized for UTF-8, or functions will need to move within the TokenStream* hierarchy to permit such; but what is in the tree now universally acts on code units first, full code points second.) r=arai
--HG--
extra : rebase_source : 06fa722d16b801f9db7f38110756d8a8f62b6617
2018-06-28 02:30:08 -07:00
Jeff Walden
8d4d43a2d1 Bug 1467336 - Remove GeneralTokenStreamChars::{,un}getChar now that they're unused. r=arai
--HG--
extra : rebase_source : 908ffc7370dafe00bb6266ec5817b40bb353d93f
2018-06-28 02:27:50 -07:00