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

59262 Коммитов

Автор SHA1 Сообщение Дата
Lars T Hansen d0e10d0f4a Bug 1333446 - ARM assembler: fast paths for putting simple instructions. r=nbp
--HG--
extra : rebase_source : 8fdcd9f0fe43684149e480a96fca6ebf965ec848
2017-03-02 09:40:38 +01:00
Jon Coppeard e37c8ad5d4 Bug 1343590 - Improve CallArgs gray marking assertions r=sfink 2017-03-02 10:23:15 +00:00
Jon Coppeard 82cbd987a2 Bug 1338623 - Add a slower but more exact gray marking check for checking correctness r=sfink r=mccr8 2017-03-02 10:22:47 +00:00
Sylvestre Ledru e0fb6996ea Bug 1342665 - Disable header sorting for js/ r=jolesen
MozReview-Commit-ID: Cj6WWwqv2R2

--HG--
extra : rebase_source : 4304a0d024a56616c9d135b13d07b9805c330a99
2017-03-01 11:56:48 +01:00
André Bargull d064f2c3ff Bug 1343043 - Part 2: Enable previously disabled test262 tests. r=shu 2017-02-27 13:39:58 -08:00
André Bargull 9f390ff099 Bug 1343043 - Part 1: Remove some global variables from shell.js and instead declare them locally in tests. r=shu 2017-02-27 13:51:39 -08:00
André Bargull f5150ddf41 Bug 1340146 - Part 2: Process js/src/shell JavaScript files as self-hosted in eslint plugin. r=evilpie 2017-02-27 09:55:21 -08:00
André Bargull 23a673a28d Bug 1340146 - Part 1: Normalize paths for module registry in shell module loader. r=jonco 2017-02-28 03:31:25 -08:00
Brian Hackett deb1eaae99 Bug 1341321 - Require runtimes to be single threaded when using a Debugger, r=jandem.
--HG--
extra : rebase_source : 42f88769ddd36082339664cad86acd1f6dff5d67
2017-03-01 07:15:50 -07:00
Carsten "Tomcat" Book b43c07a10c Merge mozilla-central to mozilla-inbound 2017-03-01 16:39:27 +01:00
Carsten "Tomcat" Book 3b3f4c17a2 merge mozilla-inbound to mozilla-central a=merge 2017-03-01 11:40:59 +01:00
Tooru Fujisawa bb44116931 Bug 1329113 - Use PropertyIteratorObject* in AutoCloseIterator. r=sfink 2017-03-01 13:34:45 +09:00
Tooru Fujisawa 8d91d7841a Bug 1342634 - Use --optimize/--no-optimize style in autospider.py r=sfink 2017-03-01 13:34:45 +09:00
Tooru Fujisawa 822174c52d Bug 1319638 - Part 2: Change line number of a function created by Function constructor to start from 1. r=shu 2017-03-01 13:34:45 +09:00
Nicolas B. Pierron 71e99a4d66 Bug 1341951 - Use override keyword for all virtual methods of Recover Instructions. r=Waldo 2017-03-01 13:36:50 +00:00
Nicolas B. Pierron 53e2d4c026 Bug 1341951 - Replace RInstructionStorage copy by a cloneInto function on every RInstruction. r=Waldo 2017-03-01 13:36:50 +00:00
Tooru Fujisawa e4598a4995 Bug 1343481 - Part 7: Add BytecodeEmitter::emitDotGenerator and make yield/await nodes unary. r=shu 2017-03-01 20:40:05 +09:00
Tooru Fujisawa c60d1be9c1 Bug 1343481 - Part 6: Add native functions wrapper for GetInternalError and GetTypeError. r=shu 2017-03-01 20:40:05 +09:00
Tooru Fujisawa ab32c358c6 Bug 1343481 - Part 5: Rename AsyncFunction-related names in Promise.cpp to explicitly say Async Function. r=shu 2017-03-01 20:40:05 +09:00
Tooru Fujisawa 242fbfe0d7 Bug 1343481 - Part 4: Add Add GeneratorObject.{isAfterYield,isAfterAwait}. r=shu 2017-03-01 20:40:05 +09:00
Tooru Fujisawa c6a69a3c6c Bug 1343481 - Part 3: Add JSOP_AWAIT and rename {yieldIndex,yieldOffset} to {yieldAndAwaitIndex,yieldAndAwaitOffset}. r=shu 2017-03-01 20:40:04 +09:00
Tooru Fujisawa 62afed54a5 Bug 1343481 - Part 2: Stop using StarGegerator for async function. r=shu 2017-03-01 20:40:04 +09:00
Tooru Fujisawa f7e4224690 Bug 1343481 - Part 1: Remove {JSFunction,JSScript,LazyScript}.isGenerator() method. r=shu 2017-03-01 20:40:04 +09:00
André Bargull 0fa1b47441 Bug 1050755: Allow to call Date.UTC with fewer than two arguments per ES2017. r=shu
--HG--
extra : rebase_source : 22adaa402fd624259702d2c05810cc0858dbd75f
2017-02-27 13:22:45 -08:00
Zibi Braniecki b6bc066991 Bug 1329904 - Introduce mozIntl.DateTimeFormat. r=Waldo
MozReview-Commit-ID: LKUcrg0bht4

--HG--
extra : rebase_source : abe40dec1d13d3f7d372453ae6bf1a69c1252233
2017-02-14 16:05:47 -08:00
Tooru Fujisawa 8e9c527458 Bug 1343072 - Update HasLiveStackValueAtDepth to follow the change in JSTRY_FOR_OF r=shu 2017-03-01 16:43:04 +09:00
Tom Tromey 550affaf12 Bug 1343292 - change return types in GenericPrinter; r=nbp
MozReview-Commit-ID: 1GJYujhrWj7

--HG--
extra : rebase_source : 90aef429db4285707f23105f950d9d930f98c21b
2017-02-28 14:18:40 -07:00
Wes Kocher dbf209197e Backed out 2 changesets (bug 1340146) for spidermonkey bustage a=backout
Backed out changeset 5556b171034e (bug 1340146)
Backed out changeset c355a0ffcb10 (bug 1340146)

MozReview-Commit-ID: JTVSUcenPdC
2017-02-27 15:28:34 -08:00
Wes Kocher d2b28917c0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7UN77Uvxgus
2017-02-27 13:37:44 -08:00
Wes Kocher 1e95bd721f Merge inbound to central, a=merge
MozReview-Commit-ID: F0XvCKnh8H7
2017-02-27 13:34:55 -08:00
André Bargull a8358b9891 Bug 1340146 - Process js/src/shell JavaScript files as self-hosted in eslint plugin. r=evilpie
--HG--
extra : rebase_source : c34e54150dafbab3f6422b1beb0689b9ced87608
2017-02-27 09:55:21 -08:00
Benjamin Bouvier ee24048334 Bug 1342956: Fix promise_test in wasm-testharness.js; r=luke
MozReview-Commit-ID: IfPkWSw05pX

--HG--
extra : rebase_source : cf2ffc8c0f3640dbfbcd3a633df8d9f3db8093f1
2017-02-27 17:35:18 +01:00
André Bargull bdc5d2e7cf Bug 1340146 - Normalize paths for module registry in shell module loader. r=jonco
--HG--
extra : rebase_source : 8712d18be190acc67416d33850844b1fb6c247a7
2017-02-27 07:49:29 -08:00
Tom Schuster f69d3a9d55 Bug 1342402 - Use optimized GetElement in JSON. r=jandem 2017-02-27 16:43:24 +01:00
André Bargull 455dcb1fcb Bug 1342648 - Only define PluralRules constructor when calling addIntlExtras in test262 PluralRules tests. r=gandalf
--HG--
extra : rebase_source : 17c29061f6ff57bacdc3e56462b859266c71b643
2017-02-25 01:59:42 -08:00
André Bargull 7705059007 Bug 1340148 - Disallow function redeclarations at module top level. r=jonco
--HG--
extra : histedit_source : aebb69bd265fe7429737b118a48986e3f69c2de9
2017-02-27 07:15:53 -08:00
Benjamin Bouvier 7fd59c572e Bug 1342176: Enable 80-bits precision for the x87 floating-point unit; r=jandem
MozReview-Commit-ID: 1Y4H0ywIX5Q

--HG--
extra : rebase_source : 80c0df972e471878ccaab043f874ef3d5d83de1b
extra : histedit_source : 40b745f2d0f68e9a038a186de264c3102ea19bb4
2017-02-23 20:03:46 +01:00
Ehsan Akhgari 4f4a529bd2 Bug 1342719 - Optimize away a virtual function call in AccessCheck::isChrome; r=bholley 2017-02-27 09:39:50 -05:00
Tooru Fujisawa ac394c8f93 Bug 1322019 - followup: Change a testcase for decompilation to follow the change. r=bustage 2017-02-27 20:46:31 +09:00
Tooru Fujisawa 62794b35b6 Bug 1322019 - Part 6: Decompole NEWARRAY+INITELEM_ARRAY/INITELEM_INC to [...]. r=nbp 2017-02-27 20:02:56 +09:00
Tooru Fujisawa 54043392f7 Bug 1322019 - Part 5: Print stack transition in dis() function output. r=nbp 2017-02-27 20:02:56 +09:00
Tooru Fujisawa 87031e6deb Bug 1322019 - Part 4: Remove unnecessary if in BytecodeParser::simulateOp. r=nbp 2017-02-27 20:02:55 +09:00
Tooru Fujisawa 922fcc522a Bug 1322019 - Part 3: Reflect the case that stack values are kept instead of newly pushed in BytecodeParser::simulateOp. r=nbp 2017-02-27 20:02:55 +09:00
Tooru Fujisawa 3fde96235d Bug 1322019 - Part 2: Decompile more opcodes. r=nbp 2017-02-27 20:02:55 +09:00
Tooru Fujisawa f58b3f1c81 Bug 1322019 - Part 1: Put unary operator inside parens in expression decompilation. r=nbp 2017-02-27 20:02:55 +09:00
Jan de Mooij 5e3013cebd Bug 1339535 - Set the hadElementsAccess flag less eagerly to avoid unnecessary Shape changes. r=evilpie 2017-02-27 18:56:58 +01:00
Benjamin Bouvier d80b2440cc Bug 1342893: Add signatures for function imports and exports in wasmTestMode; r=luke
MozReview-Commit-ID: 7s7nqLAioHr

--HG--
extra : rebase_source : cadf62b262f1508eba8d4dde81b475d9b2b1392a
extra : amend_source : e9f9fc0765fb0385523770910831fad762acd66d
2017-02-27 13:39:59 +01:00
Ted Campbell af82d53726 Bug 1337763 - Add DenseInHole IC to CacheIR r=jandem
MozReview-Commit-ID: KsHopYVLeb

--HG--
extra : rebase_source : f62e9d8ba716da1f680d7f5a5990ea758822e466
2017-02-23 16:04:48 -05:00
Ted Campbell 1c323dd0b6 Bug 1337763 - Factor out GeneratePrototypeHoleGuards r=jandem
MozReview-Commit-ID: JvSj1dyEMnC

--HG--
extra : rebase_source : 43a6f9e9acc27994cea9ac61c6f4123f8d190140
2017-02-23 16:02:42 -05:00
Jan de Mooij 9fa749d29e Bug 1341067 followup - Fix non-unified build bustage. r=red 2017-02-27 10:00:02 +01:00
Jan de Mooij ed8798799e Bug 1341067 - Port Ion SetProp/SetElem IC to CacheIR. r=h4writer 2017-02-27 09:32:49 +01:00
Phil Ringnalda ab84dcd8f5 Merge m-i to m-c, a=merge 2017-02-26 10:48:26 -08:00
Tooru Fujisawa a88a89805e Bug 1342553 - Part 0.2: Support JSOP_CHECKISCALLABLE in JIT. r=shu 2017-02-26 14:02:37 +09:00
Tooru Fujisawa 8c428ebcee Bug 1342553 - Part 0.1: Use try-catch for IteratorClose in for-of. r=shu 2017-02-26 14:02:36 +09:00
Phil Ringnalda 13720d9c89 Merge m-c to m-i 2017-02-25 13:35:20 -08:00
Phil Ringnalda da4ecf2f5c Merge m-i to m-c, a=merge 2017-02-25 10:33:48 -08:00
Jan de Mooij 8e25a8bd29 Bug 1342439 part 2 - Optimize CheckRecursionLimit to avoid uninlined RunningWithTrustedPrincipals call. r=luke 2017-02-25 16:14:19 +01:00
Jan de Mooij 76f56574e3 Bug 1342439 part 1 - Replace macros to check for overrecursion with functions. r=luke 2017-02-25 16:07:56 +01:00
Brian Hackett be3d9f1c9f Bug 1338642 - Backout bug 1315596 (Don't evict bundles which won't help with allocating the target bundle), r=sunfish. 2017-02-25 05:32:59 -07:00
Jan de Mooij 9d0be99a0b Bug 1342345 part 2 - Use a Vector for AutoCycleDetector. r=jonco 2017-02-25 12:23:44 +01:00
Jan de Mooij ce45ed0a77 Bug 1342345 part 1 - Use a Vector for JSON cycle detector. r=evilpie 2017-02-25 12:22:28 +01:00
Luke Wagner a43669cbbd Bug 1342497 - Baldr: store current frame, not previous frame, in wasm::FrameIterator (r=yury)
MozReview-Commit-ID: 98mKbra2ehf

--HG--
extra : rebase_source : 75ced81ff98c040b585c75157cb4a405a967e840
2017-02-24 21:52:35 -06:00
Tooru Fujisawa f5a7718580 Bug 104442 - Part 1: Report the position and the kind of previous declaration for redeclaration error. r=anba 2017-02-25 12:52:33 +09:00
Masatoshi Kimura 7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Tooru Fujisawa 71a80300a4 Bug 1340850 - Add --noconf option to autospider.py to skip running configure before building. r=sfink 2017-02-23 05:49:14 +09:00
Shu-yu Guo 361a8713a8 Bug 1341061 - Test. (r=arai)
Will remove once https://github.com/tc39/test262/pull/869 merges and we
sync.
2017-02-24 16:51:11 -08:00
Shu-yu Guo a4b26febc0 Bug 1341061 - Manually unwrap WithEnvironmentObjects in GETBOUNDNAME. (r=arai)
Also refactor some stuff in this area.

Documenting why I think it's correct to use GETBOUNDNAME only for
dynamic (vs global) lookups, without the normal NAME checks:

1. GETBOUNDNAME doesn't need to check TDZ because BINDNAME does it
   already, and GETBOUNDNAME is always preceded by BINDNAME.

2. '.this' doesn't need to be checked, because '.this' can't be assigned
   to in a compound assignment or inc/dec.

3. For a global name there is never @@unscopables on the global
   environments, so GNAME ops, while doing repeated lookups, remain valid
   optimizations because the repetition is unobservable.

4. We *will* do double @@unscopable lookup in the case of a script
   compiled for a syntactic scope then run under a non-syntactic
   WithEnvironmentObject (e.g. like frame scripts). But this is
   Gecko-specific and outside the spec, so we can do whatever we want
   here.
2017-02-24 16:51:10 -08:00
Shu-yu Guo 2c8d8f538b Bug 1341061 - Rename GETXPROP to GETBOUNDNAME for clarity. (r=arai) 2017-02-24 16:51:10 -08:00
Shu-yu Guo 4faffe5818 Bug 1341061 - Fix Opcodes.h comments to say 'environment' instead of 'scope' to refer to the runtime objects. (r=arai) 2017-02-24 16:51:10 -08:00
Shu-yu Guo d6089d585f Bug 1341061 - Refactor NAME-related runtime functions. (r=arai) 2017-02-24 16:51:10 -08:00
Sebastian Hengst 257eeceb19 Backed out changeset 82cdbd24d06f (bug 1341061) for failing crashtest 366271-1.html. r=backout 2017-02-24 23:10:56 +01:00
Sebastian Hengst e460fecacb Backed out changeset 2cb11cb34069 (bug 1341061) 2017-02-24 23:10:26 +01:00
Sebastian Hengst 45b22b7436 Backed out changeset 76c74d43a9b0 (bug 1341061) 2017-02-24 23:10:21 +01:00
Sebastian Hengst 12475239db Backed out changeset 559f43c43369 (bug 1341061) 2017-02-24 23:10:16 +01:00
Sebastian Hengst 1642f69ece Backed out changeset 456c1dcfe087 (bug 1341061) 2017-02-24 23:09:59 +01:00
Shu-yu Guo 08c7d6f388 Bug 1342273 - Improve frontend tracelogging. (r=h4writer) 2017-02-24 12:52:13 -08:00
Shu-yu Guo 11db464a8a Bug 1341061 - Test. (r=arai)
Will remove once https://github.com/tc39/test262/pull/869 merges and we
sync.
2017-02-24 12:52:13 -08:00
Shu-yu Guo 1f9ef5342d Bug 1341061 - Manually unwrap WithEnvironmentObjects in GETBOUNDNAME. (r=arai)
Also refactor some stuff in this area.

Documenting why I think it's correct to use GETBOUNDNAME only for
dynamic (vs global) lookups, without the normal NAME checks:

1. GETBOUNDNAME doesn't need to check TDZ because BINDNAME does it
   already, and GETBOUNDNAME is always preceded by BINDNAME.

2. '.this' doesn't need to be checked, because '.this' can't be assigned
   to in a compound assignment or inc/dec.

3. For a global name there is never @@unscopables on the global
   environments, so GNAME ops, while doing repeated lookups, remain valid
   optimizations because the repetition is unobservable.

4. We *will* do double @@unscopable lookup in the case of a script
   compiled for a syntactic scope then run under a non-syntactic
   WithEnvironmentObject (e.g. like frame scripts). But this is
   Gecko-specific and outside the spec, so we can do whatever we want
   here.
2017-02-24 12:52:13 -08:00
Shu-yu Guo 390589726c Bug 1341061 - Rename GETXPROP to GETBOUNDNAME for clarity. (r=arai) 2017-02-24 12:52:13 -08:00
Shu-yu Guo 456932d2a6 Bug 1341061 - Fix Opcodes.h comments to say 'environment' instead of 'scope' to refer to the runtime objects. (r=arai) 2017-02-24 12:52:12 -08:00
Shu-yu Guo b1ecf17d44 Bug 1341061 - Refactor NAME-related runtime functions. (r=arai) 2017-02-24 12:52:12 -08:00
Steve Fink fadad6757e Bug 1337072 - Implement helper routines for inspecting and breaking on mark bits, r=jonco
MozReview-Commit-ID: FhdPEVo3BOi

--HG--
extra : rebase_source : 63f71add6af053a25876f8f250436d8b3bf82893
2017-02-06 10:56:16 -08:00
Steve Fink 3c066c06e6 Bug 1337465 - Create proper help strings for JS shell namespace objects, r=jonco
MozReview-Commit-ID: Ha6gkvgUIgZ

--HG--
extra : rebase_source : 9272fd8f06280b19a25250fa43d970cfa72389a6
2017-02-17 14:04:06 -08:00
Luke Wagner 3486b55697 Bug 1341749 - Backout test (r=red)
MozReview-Commit-ID: EZAL9Urln2d
2017-02-24 11:48:41 -06:00
Steve Fink ef3d545285 Bug 1342301 - Split out an "optimize" key from configure-args, r=arai
--HG--
extra : rebase_source : 4e6b682d848e1d6e0c081903efb89b982db693f8
2017-02-23 19:35:49 -08:00
Steve Fink 5b823a90ec Bug 1337427 - Add MOZ_MUST_USE to GCVector bool returns, r=woof!
MozReview-Commit-ID: FuGjTr08mpL

--HG--
extra : rebase_source : f4adc4ad2b7558f25b344f8f4a7667ca05eed9c9
2017-02-07 16:13:04 -08:00
Steve Fink a38125cbf4 Bug 1337427 - Implement GCVector::sweep, r=jonco
MozReview-Commit-ID: 6q2OlAHHMsy

--HG--
extra : rebase_source : 7985e133488f60cd8d87080bc221785bab09399c
2017-02-07 16:12:25 -08:00
Luke Wagner fc5f17cd6c Bug 1341749 - Drain job queue even after error (r=bbouvier)
MozReview-Commit-ID: D7rjnADZ5if

--HG--
extra : rebase_source : 09b662af12898c40fcefc3f294abfa4fd577d97c
2017-02-24 09:30:38 -06:00
Olli Pettay 66be2f31cc Bug 1342244, try to avoid extra CompartmentPrivate::Get calls during Rewrap, r=bholley
--HG--
extra : rebase_source : 951f392a2d19a509ce951213686684cc326f4895
2017-02-24 15:03:38 +02:00
Lars T Hansen 1c373598e5 Bug 1342353 - Wasm baseline, properly compute aligned frame size. r=bbouvier
--HG--
extra : rebase_source : 93c6561711452bc4be22031e03be64a4627d65fd
extra : histedit_source : b8a96a58356138a310a3f049b2c6c336f10d9e56
2017-02-24 10:47:55 +01:00
Benjamin Bouvier 6bb969b59d Bug 1332691: Handle known failures in wasm WPT and JS test cases; r=luke
MozReview-Commit-ID: EQNCTOXNy75

--HG--
extra : rebase_source : 265435b105f36e59ac7b34f11cca884c08b940d4
2017-02-17 18:18:35 +01:00
Benjamin Bouvier 11f5a3d12f Bug 1342045: Allow wasm::Memory of size 2**32; r=luke
MozReview-Commit-ID: EVzM6yr0UHf

--HG--
extra : rebase_source : 8f8a1537687b3a23ab18e3beb3cdcf45c5bf9663
2017-02-23 16:11:00 +01:00
Benjamin Bouvier 5c5071161c Bug 1333490: Change WebAssembly.instantiate.length to 1; r=luke
MozReview-Commit-ID: CJ5fYRKoeh8

--HG--
extra : rebase_source : 6a110c29fb64a3fb77beac720219f33bfeaa009d
2017-02-17 19:14:50 +01:00
Benjamin Bouvier 4d2bf9619a Bug 1333490: Define toStringTag for wasm prototypes; r=luke
MozReview-Commit-ID: HIfvvQkZJnG

--HG--
extra : rebase_source : 85aec31d0d712b817f37ad72765f559340bf77fd
2017-02-17 19:14:24 +01:00
Benjamin Bouvier 6f626b9431 Bug 1332691: Generate wasm JavaScript tests from the shared test suite; r=luke
MozReview-Commit-ID: 5HQAuUmS10O

--HG--
extra : rebase_source : 36b1caa8dc993139d31d974706144e3e2ba546b6
2017-02-17 18:06:33 +01:00
Benjamin Bouvier a73e4c7ee7 Bug 1332691: Add script to regenerate tests, update the WPT manifest and expectations; r=luke
MozReview-Commit-ID: DPFVJRiRiCT

--HG--
extra : rebase_source : 891530350a9f7d4bf8cacfba8ccf7d3d86f0ad46
2017-02-17 20:13:54 +01:00
Benjamin Bouvier 2aa6e4413c Bug 1332691: Make a testharness.js polyfill for Spidermonkey; r=luke
MozReview-Commit-ID: IWhymoUJgJ7

--HG--
extra : rebase_source : d1faa7408ed1d7b795e0d52df02401d29bcdc9f2
2017-02-20 17:30:25 +01:00
Benjamin Bouvier 07beccf9f3 Bug 1332691: Allow including files with a jit-test directive; r=sfink
MozReview-Commit-ID: 8lCFJuEXOaW

--HG--
extra : rebase_source : 80624e594d90a0c2c035d8462df049f01d3b46ed
2017-02-23 12:10:10 +01:00
Benjamin Bouvier d923369600 Bug 1332691: Remove wasm/spec tests; r=luke
MozReview-Commit-ID: ALBmYZqtqFZ

--HG--
extra : rebase_source : fff6d2e49a24cd8e827de763d7a9326780ef47b7
2017-02-17 14:51:33 +01:00
Jeff Walden 696316371e Bug 1341951 - Use alignas/alignof (rather than a union that attempts to replicate the same thing) inside RInstructionStorage. r=nbp 2017-02-09 17:12:56 -08:00
Jeff Walden bae8a13c6e Bug 1341951 - Remove mozilla::AlignedStorage, and inline its sole use into js::jit::RInstructionStorage. r=nbp 2017-02-22 18:27:51 -08:00
Lars T Hansen c9aa17537a Bug 1338449 - use ToIndex to convert TA indices for atomic operations. r=shu
--HG--
extra : rebase_source : 0f7d9e860c3392075f9a1d12632875b471ba7769
2017-02-16 11:10:05 +01:00
Emanuel Hoogeveen 5cef196f1a Bug 1341889 - Part 2: Add a hazard suppression for malloc_usable_size. r=sfink
--HG--
extra : rebase_source : 3ca296d0878e82bf87d3743d01ed4e8f0ac6abd6
2017-02-23 14:27:00 -05:00
Emanuel Hoogeveen 366b8e875c Bug 1341889 - Part 1: Add more checks during reallocation to rule out other possibilities. r=jandem
--HG--
extra : rebase_source : 0ca7e08512b7e81d47cff4b6a1defbba7743ec1e
2017-02-23 14:27:00 -05:00
Sean Stangl f7092e271d Bug 1342196 - Remove assertion exception for MagicOptimizedArguments. r=h4writer
--HG--
extra : rebase_source : 357cac069ae919accdc7d06aa3fe593f8fe36594
2017-02-23 12:11:00 -05:00
André Bargull 9adaf67afa Bug 1341298 - Relax expected module state when resolving modules and circular module dependencies are present. r=jonco
--HG--
extra : rebase_source : c882d0813b2b58c7c0990687d2f3d6e700f0fee5
2017-02-23 07:04:20 -08:00
Luke Wagner 435f2dfc9a Bug 1341412 - Baldr: fix rebase fail (r=bustage)
MozReview-Commit-ID: Kydw7jaZiQ7

--HG--
extra : rebase_source : 760a4058ca6b548e00edc823707545f97d954f7d
2017-02-23 18:14:04 -06:00
Luke Wagner 09009d1744 Bug 1341412 - Baldr: fix offset reported by validation error (r=bbouvier)
MozReview-Commit-ID: CllhPo4uGde
2017-02-23 17:59:22 -06:00
Kris Maglione d1e03c1b46 Bug 1322273: Return DeadObjectProxy when wrapping for nuked compartment. r=bholley
MozReview-Commit-ID: V07P0eZvKO

--HG--
extra : rebase_source : 822441921b2b0a968a7dec5a532bba5535cb871b
extra : absorb_source : dd03f3197d5a4c09d228c2168726f9ae2408a7bb
extra : source : e74563742aafb580f88ef17f2121dd385e37755a
2017-02-22 19:11:52 -08:00
Kris Maglione 42bebe8564 Bug 1322273: Cut wrappers that point out of a browser compartment when nuking it. r=bholley
MozReview-Commit-ID: FLS3xRgih2u

--HG--
extra : rebase_source : ffae5590afe3efcb70cdda6386f5b1d71123943c
extra : absorb_source : 8b3db1348e793dabca338841dc18b6d9021c6ef8
2017-02-23 13:56:10 -08:00
Brian Hackett 71b7370e0f Bug 1341006 - Use a sparse representation for atom mark bitmaps in zones, r=jonco.
--HG--
extra : rebase_source : 94e392fe48c4d1b98ac2d6a7601850c2530962ea
2017-02-23 08:13:33 -07:00
André Bargull aa3ef986e4 Bug 1341411 - Support circular module dependencies through export* per ES2017. r=jonco
--HG--
extra : rebase_source : c7e1bf6780d2311c0302fe0b505886a35bb9ef86
2017-02-23 03:10:16 -08:00
Luke Wagner 6f8ce1e317 Bug 1342060 - wasm: enable by default (r=bbouvier,sr=jorendorff)
MozReview-Commit-ID: LozhxKgleFc

--HG--
extra : rebase_source : 1821c3965c46044e99a132398ea862f49eb6aca0
2017-02-23 13:02:40 -06:00
Jon Coppeard 161b940553 Bug 1340110 - Make shell resolve root module relative to current directory as happens for non-module scripts r=anba 2017-02-23 16:26:14 +00:00
Jon Coppeard e2176b114a Bug 1337414 - Don't trace into GC things owned by other runtimes in CheckHeapTracer r=jandem 2017-02-23 16:26:14 +00:00
Jon Coppeard 383736d564 Bug 1340597 - Avoid triggering read barrier in DumpHeap and when collecting stats r=sfink 2017-02-23 16:26:14 +00:00
Luke Wagner 2e0b11e312 Bug 1337561 - Increase executable code allocation size on 64-bit (r=jandem)
MozReview-Commit-ID: DswlJQutGiC
2017-02-23 09:01:16 -06:00
Tom Schuster fb8e7cea05 Bug 1319087 - Add nukeCCW to the shell and test it. r=jandem 2017-02-23 15:26:49 +01:00
Benjamin Bouvier e54d365a47 Bug 1341090: Implement a JIT code counter; r=jonco, r=jandem
MozReview-Commit-ID: Hq8g3qmEsjG

--HG--
extra : rebase_source : 44e4d0d579894d56800fb2b3ae9a8bb297df48c1
extra : histedit_source : 5b68c6fae9a24e6186bcdf7a594966a917c48a6c
2017-02-21 19:02:31 +01:00
Benjamin Bouvier ec65139cde Bug 1341090: Refactor malloc counters in Zone and GCRuntime; r=jonco
MozReview-Commit-ID: K52KzVc4zSV

--HG--
extra : rebase_source : d540aef55c42f06fa9be1861c0f48b31d469597c
extra : histedit_source : e7cd0f0e433121d438bfc112e8fa708ed897e5dd
2017-02-21 16:09:07 +01:00
Benjamin Bouvier 67a5e08ada Bug 1341650: Don't clobber the last stack slot when calling into CurrentMemory/GrowMemory in the wasm baseline; r=lth
MozReview-Commit-ID: 4BxLPKakvdV

--HG--
extra : rebase_source : a76672c147b1ab76720a6e93bc91b400a372d5e0
2017-02-22 18:39:39 +01:00
Benjamin Bouvier 4e3ebaf242 Bug 1341650: Pass TLS when calling wasm current_memory in the Ion backend; r=luke
MozReview-Commit-ID: 2mLxEqdvGtK

--HG--
extra : rebase_source : 6c82c1a51143236458c2464ae0fb3ffcce28f0b9
2017-02-22 18:44:34 +01:00
Benjamin Bouvier fafada56ef Bug 1341650: A few drive-by nits fixing in WasmBaselineCompile.cpp; r=lth
MozReview-Commit-ID: 9SpdNG8sL9y

--HG--
extra : rebase_source : 090ffd90a120ffd7211862bbd31f2b7d85d874dc
2017-02-22 18:37:49 +01:00
Andrey Mukamolow 2defd7b373 Bug 1331954 - Put forgotten #error directive to dtoa.c. r=arai
There was some incorrect error handling in file dtoa.c, I just
put forgotten #error directive

MozReview-Commit-ID: 2zzwI0YAFpI
2017-02-05 03:09:23 +03:00
Nicholas Nethercote 352554c8f6 Bug 1340928 (part 10) - Remove nested calls to profiler_{init,shutdown}(). r=mstange.
The profiler can currently handle nested calls to profiler_{init,shutdown}() --
only the first call to profiler_init() and the last call to profiler_shutdown()
do anything. And sure enough, we have the following.

- Outer init/shutdown pairs in XRE_main()/XRE_InitChildProcess() (via
  GeckoProfilerInitRAII).

- Inner init/shutdown pairs in NS_InitXPCOM2()/NS_InitMinimalXPCOM() (both shut
  down in ShutdownXPCOM()).

This is a bit silly, so the patch removes the inner pairs, and adds a
now-needed pair in XRE_XPCShellMain. This will allow gInitCount -- which tracks
the nesting depth -- to be removed in a future patch.

--HG--
extra : rebase_source : 7e8dc6ce81ce10269d2db6a7bf32852c396dba0e
2017-02-15 17:08:38 +11:00
André Bargull af0bb93cff Bug 1339986 - Handle export* when checking for duplicate export. r=jonco 2017-02-22 06:58:29 -08:00
Jeff Walden d5deea2a4f Bug 1338374 - Make Vector not use AlignedStorage for its inline element storage. r=froydnj, r=keeler
--HG--
extra : rebase_source : 81eb5278404b4843ed5a59819f6000f74200aa41
2017-01-30 15:56:05 -08:00
Wes Kocher 29443ed98c Merge m-c to inbound, a=merge
MozReview-Commit-ID: HDHJC8X9xWG
2017-02-22 15:06:46 -08:00
Wes Kocher b7294d3167 Merge inbound to central, a=merge
MozReview-Commit-ID: 2R3yE5OIznC
2017-02-22 15:01:04 -08:00
Tom Schuster 20d9359561 Bug 1341692 - Enable passing %TypedArray%.prototype.set tests. r=anba 2017-02-22 18:10:29 +01:00
Brian Hackett 1938ed43c4 Bug 1341326 - Set stack limit and stack size properly for helper threads, r=jandem.
--HG--
extra : rebase_source : 31566501efe68ba25f88c50813f36d05c3bf2ab3
2017-02-22 06:45:05 -07:00
Andrea Marchesini e7a1e33581 Bug 1341250 - Moving nsExpandedPrincipal in separate files, r=qdot
--HG--
rename : caps/nsPrincipal.cpp => caps/nsExpandedPrincipal.cpp
rename : caps/nsPrincipal.h => caps/nsExpandedPrincipal.h
2017-02-22 10:01:43 +01:00
Carsten "Tomcat" Book a7cadef96e Merge mozilla-central to mozilla-inbound 2017-02-22 14:40:19 +01:00
Carsten "Tomcat" Book 9d982b9508 merge mozilla-inbound to mozilla-central a=merge 2017-02-22 14:33:38 +01:00
Sebastian Hengst 0ea43f8182 Backed out changeset f0886e3477a5 (bug 1341250) 2017-02-22 11:20:46 +01:00
Andrea Marchesini c83982c31f Bug 1341250 - Moving nsExpandedPrincipal in separate files, r=qdot
--HG--
rename : caps/nsPrincipal.cpp => caps/nsExpandedPrincipal.cpp
rename : caps/nsPrincipal.h => caps/nsExpandedPrincipal.h
2017-02-22 10:01:43 +01:00
Sebastian Hengst 54c0337374 Backed out changeset f2019fbd6f8c (bug 1341326) for failing backup-point-bug1315634.js and more on arm. r=backout 2017-02-22 13:39:53 +01:00
André Bargull dbda93465f Bug 1333844 - Create helper method to call ICU string conversion methods. r=Waldo
--HG--
extra : rebase_source : 1dad5ce1412d5b94401fae928839583c3ca4161c
2017-02-21 12:35:37 -08:00
Brian Hackett 5b7a11457c Bug 1341303 - Delete things in the right order when finishing shell worker threads, r=jandem. 2017-02-22 05:25:48 -07:00
Brian Hackett 33310aacec Bug 1341283 - Avoid conflicts between GC zeal behavior and cooperative multithreading context switches, r=jonco. 2017-02-22 05:22:47 -07:00
Brian Hackett f5cdd08aab Bug 1341358 - Don't accidentally clear the incumbent global callback when finishing a cooperative thread, r=jandem. 2017-02-22 05:16:50 -07:00
Brian Hackett c6152d786f Bug 1341326 - Set stack limit and stack size properly for helper threads, r=jandem. 2017-02-22 05:11:09 -07:00
Iris Hsiao c2bb6f5851 Merge mozilla-central to mozilla-inbound 2017-02-22 16:18:56 +08:00
Tooru Fujisawa 030e18d7ef Bug 1339964 - Support export async function f() {}. r=till 2017-02-22 16:11:35 +09:00
Tooru Fujisawa fa1ef124e8 Bug 1339963 - Part 3: Check IdentifierName in ExportClause without from. r=jwalden 2017-02-22 16:11:35 +09:00
Tooru Fujisawa 9f15eb94a2 Bug 1339963 - Part 2: Use MUST_MATCH_TOKEN for contextual keyword where it can be used. r=jwalden 2017-02-22 16:11:35 +09:00
Tooru Fujisawa 7248e52372 Bug 1339963 - Part 1: Split Parser::exportDeclaration. r=jwalden 2017-02-22 16:11:35 +09:00
Phil Ringnalda 53ccf8158e Backed out 5 changesets (bug 1318370) for mozilla-central Windows static-analysis bustage
Backed out changeset 196f9ddbf7aa (bug 1318370)
Backed out changeset 72f6eace33a1 (bug 1318370)
Backed out changeset c0c0e10ed613 (bug 1318370)
Backed out changeset a8032ae9cb2a (bug 1318370)
Backed out changeset 0848b3201c40 (bug 1318370)
2017-02-21 21:22:01 -08:00
Jon Coppeard 7b865b5def Bug 1340145 - Don't allow HTML comments in module scripts r=anba 2017-02-21 17:18:04 +00:00
Jon Coppeard 6f6fe80e74 Bug 1341256 - Fix module namespace object get handler r=anba 2017-02-21 17:17:34 +00:00