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

64766 Коммитов

Автор SHA1 Сообщение Дата
André Bargull 1cfe9bcd18 Bug 1456118: Update helper scripts for Python 3 compatibility. r=anba 2018-05-09 00:50:57 -07:00
Luke Wagner 32cfdd4da0 Bug 1458029 - Baldr: update wasm frame stack format string to match WebAssembly Web API spec (r=yury,bbouvier,fitzgen)
--HG--
extra : rebase_source : 526aea59059ef5710aac88aabd1ee71ddbf7512d
2018-05-08 13:26:40 -05:00
Luke Wagner e508e84004 Bug 1458029 - Baldr: tweak function display name interface (r=bbouvier)
--HG--
extra : rebase_source : 26c3f0c345155f8ed42764384b2acf16c37db001
2018-05-08 13:25:00 -05:00
André Bargull 59f1e53c7c Bug 1416289 - Part 3: Always use double values for Math functions which are inlined through MMathFunction. r=jandem 2018-05-08 05:41:19 -07:00
André Bargull 70715adb39 Bug 1416289 - Part 2: Add Ion-inline support for Math.sign. r=jandem 2018-05-08 05:41:18 -07:00
André Bargull 80a4563cec Bug 1416289 - Part 1: Add Ion-inline support for Math.trunc. r=jandem 2018-05-08 05:41:18 -07:00
André Bargull 5dfcfcd243 Bug 1459611 - Use NumberEqualsInt32 when negative and positive zero are treated the same. r=jandem 2018-05-07 09:28:12 -07:00
André Bargull b8d8d911f6 Bug 1458646 - Replace JS_NewStringCopyZ with NewStringCopyZ in Intl code. r=Waldo 2018-05-02 11:37:28 -07:00
Stephen A Pohl 860c14b396 Bug 1366808: Properly detect buildID mismatches between parent and child processes and display about:restartrequired to prompt the user to restart Firefox before proceeding. r=jimm,felipe,bz 2018-05-08 10:31:44 -04:00
Ms2ger 4b3d35dfe2 Bug 1459880 - part g: Introduce a PathOptions class for included and excluded paths; r=jandem
Besides being somewhat more readable, it avoids a redundant call to
|_split_files_and_dirs|.
2018-05-08 16:15:32 +02:00
Ms2ger a725ed1dab Bug 1459880 - part f: Use an iterative algorithm for |RefTestCase.prefix_command|; r=jandem
This should be somewhat more efficient, and will make it easier for me to make
a future change to add some additional paths.

It also removes the unused |filename| variable from |get_command|.
2018-05-08 16:15:32 +02:00
Ms2ger 2bd54e7a0b Bug 1459880 - part e: Merge the RefTest and RefTestCase classes; r=jandem
Only the RefTestCase subclass is ever used.
2018-05-08 16:15:32 +02:00
Ms2ger 5e8fc9889c Bug 1459880 - part d: Correct the documentation for |load_tests|; r=jandem 2018-05-08 16:15:32 +02:00
Ms2ger 5eebfa9a20 Bug 1459880 - part c: Consolidate the arguments to |_find_all_js_files|; r=jandem
We always pass the same value for the two arguments.
2018-05-08 16:15:32 +02:00
Ms2ger cbf9724b1d Bug 1459880 - part b: Remove unused |reldir| argument from |load_reftests|; r=jandem 2018-05-08 16:15:31 +02:00
Ms2ger 728ff89739 Bug 1459880 - part a: Use a |with| statement to open exclusion files; r=jandem
This is somewhat simpler, and yields a clearer error message if the file can't
be opened. (In this case, an exception is thrown before |fp| is defined, and
the |fp.close()| call then throws another exception, hiding the first one.)
2018-05-08 16:15:31 +02:00
Jan de Mooij 8494c26563 Bug 1459225 - Add a gc() call to wasm/atomic.js test so TSan builds don't OOM. r=lth 2018-05-08 15:06:53 +02:00
Jan de Mooij be1d10ec53 Bug 1459258 - Improve InlineMap OOM testing and fix some issues. r=jonco 2018-05-08 15:05:41 +02:00
Jan de Mooij 3a6641eae9 Bug 1437533 - Don't use memset to initialize JSFunction extended slots. Parts of this patch written by Waldo. r=jwalden 2018-05-08 11:29:32 +02:00
Tooru Fujisawa 48837f3950 Bug 1458973 - Rename {Rooted,Handle}ScriptSource to {Rooted,Handle}ScriptSourceObject. r=jimb 2018-05-08 14:52:43 +09:00
Chris Peterson 71422dcaa9 Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent

MozReview-Commit-ID: KuUsnVe2h8L

--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Eric Faust 3b53239890 Bug 1459609 - Add missing null-check to ParserBase::setSourceMapInfo(). (r=Waldo)
--HG--
extra : rebase_source : 03defc47db1436913c249aecbde6e609d9274397
2018-05-07 15:33:03 -07:00
Julian Seward 20e9dd7d5c Bug 1446930 - Wasm: basic (OOL) implementation of memory.fill and memory.copy. r=lth.
This patch adds an initial implementation, along with test cases, for the
memory.fill and memory.copy instructions that form part of the
bulk-memory-operations proposal at
https://github.com/WebAssembly/bulk-memory-operations/blob/master/proposals/bulk-memory-operations/Overview.md.

This covers code generation for the baseline and optimising compilers, as
well as supporting infrastructure for conversion to/from binary and text
representations.

The implementation is simple in the sense that -- for both compilers -- it
is done by a call to a helper function, which eventually devolves to a call
to memset/memmove respectively.

Per subsequent clarification requests:

* https://github.com/WebAssembly/bulk-memory-operations/issues/8
  The arguments to these instructions are all interpreted as unsigned 32 bit
  ints.

* https://github.com/WebAssembly/bulk-memory-operations/issues/11
  Zero length fills/copies that have starting point offsets out of bounds
  trap rather than are treated as no-ops.

--HG--
extra : rebase_source : 79c74cbe467905f03b796428ee80b643c105ca72
2018-05-04 23:14:09 +02:00
Jeff Walden 8c0a4864c7 Bug 1458011 - Remove the TypedObject.storage function and |new TypedObject(buffer [, offset])| constructor overload because they're no longer planned to be part of standardization efforts in this area. r=sfink
--HG--
extra : rebase_source : cbeb0e62928d03c2ef06d2465168ccde4840638f
2018-04-19 11:47:55 +02:00
Jeff Walden 2690d2331a Bug 1457612 - Use BitwiseCast instead of direct bit-punning in jsdate.cpp:NowAsMillis. r=luke
--HG--
extra : rebase_source : 34fc0e7a08eaf3a971ed11984b2a979c7b8f39a5
2018-04-27 18:25:42 -07:00
Jan de Mooij fabe2d7a86 Bug 1458456 part 9 - Stop skipping timeout tests when running TSan in automation. r=sfink
--HG--
rename : js/src/devtools/automation/tsan-sighandlers.txt => js/src/devtools/automation/tsan-slow.txt
2018-05-05 10:43:13 +02:00
Cosmin Sabou 2f93cbd6cb Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : testing/profiles/prefs_general.js => testing/profiles/common/user.js
extra : rebase_source : e56a2d784bd87af73d03cc5fcdca84d8156ed054
2018-05-04 21:07:31 +03:00
Cosmin Sabou dc4e10c449 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/profiles/prefs_general.js => testing/profiles/common/user.js
2018-05-04 20:37:47 +03:00
Jan de Mooij cfc5e634d1 Bug 1458456 part 4 - Discard JIT code before marking instead of sweeping during non-incremental GC. r=jonco
--HG--
extra : rebase_source : 6b1d5b3b550173e5180adc6c75a85d1aea364c0d
2018-05-04 15:31:18 +02:00
Jan de Mooij abfe4ff25a Bug 1458456 part 3b - Stop helper threads before setting JIT compiler options. r=jonco
--HG--
extra : rebase_source : 62d7c47e4a5b7b7f5b1b66a2f2d40706d3bf6662
2018-05-04 15:29:40 +02:00
Luke Wagner df164dd9df Bug 1458456 part 3a - Notify main thread after finishing wasm tasks to fix a race with waitForAllThreads. r=lth
--HG--
extra : rebase_source : 140c4c219fe2b8dbd28a46484afc0ffcef195ff0
2018-05-04 15:28:23 +02:00
Jan de Mooij ed21f1eb5d Bug 1458456 part 8 - Fix remaining TSan races. r=jonco 2018-05-04 17:29:05 +02:00
Jan de Mooij 290905a7c8 Bug 1458456 part 7 - Make TSan jobs test --ion-eager with off-thread compilation enabled. r=jonco 2018-05-04 17:29:05 +02:00
Jan de Mooij 8071de3bdd Bug 1458456 part 6 - Some TSan automation changes. r=sfink 2018-05-04 17:29:05 +02:00
Jan de Mooij 2997a50ac8 Bug 1458456 part 5 - Add TemplateObject wrapper to expose a thread-safe interface. r=jonco 2018-05-04 17:29:05 +02:00
Jon Coppeard 387370688d Bug 1458961 - Re-add removed assertion to String_pad r=anba 2018-05-04 09:47:58 +01:00
Jon Coppeard 2744e7e84e Bug 1456536 - Fix OOM handling in shell grayRoot() function r=sfink 2018-05-04 09:47:58 +01:00
David Teller 44d4196991 Bug 1456609 - Expose a method readSkippableSubTree for BinTokenReader{Tester, Multipart} r=arai
MozReview-Commit-ID: 2jceBpJOOoS

--HG--
extra : rebase_source : 2839d78db25126a12983770fe289ec73d869a8f7
2018-04-24 22:29:19 +02:00
Ciure Andrei 82f7c496dc Merge inbound to mozilla-central. a=merge 2018-05-04 00:52:04 +03:00
Jon Coppeard d4133481ca Bug 1458839 - Improve state assertions in GCParallelTask r=jandem 2018-05-03 17:51:58 +01:00
Jan de Mooij fe71bd0d2f Bug 1458456 part 2 - Move NEW_SCRIPT_CLEARED flag from BaseShape to JSFunction. r=tcampbell 2018-05-03 16:18:37 +02:00
Jan de Mooij e715d06b6f Bug 1458456 part 1 - Don't call JSFunction::needsSomeEnvironmentObject off-thread. r=jonco 2018-05-03 16:18:03 +02:00
Jan de Mooij 37e612ccea Bug 1458198 - Assert the frontend reported an exception if it fails to compile a script. r=jorendorff 2018-05-03 16:17:09 +02:00
Jan de Mooij 441f19d63f Bug 1458567 part 1 - Don't invoke interrupt callback and Debugger onStep hook for internal JS engine interrupts. r=luke 2018-05-03 16:01:01 +02:00
Benjamin Bouvier de0dc7d191 Bug 1455610: Prevent nop fills from happening in jump tables; r=lth
--HG--
extra : rebase_source : 7597099d50710e0b095a06e064a76404f88e4ecc
extra : amend_source : 0b97b9f26872b921410a91d229c5ea6d3e76ac58
2018-04-24 16:16:34 +02:00
Gurzau Raul 295c747edd Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-03 00:08:38 +03:00
Gurzau Raul 30662c7545 Merge inbound to mozilla-central. a=merge 2018-05-03 00:04:54 +03:00
Steve Fink d909fe8abb Bug 1458320 - Ignore Indexed DB stored scopes, as they can now be multiple incorrect values and we no longer need them for anything, r=jorendorff
--HG--
extra : rebase_source : 90629ac36d4229e7962ea46cec89c9e13ef4d350
2018-05-02 11:07:35 -07:00
André Bargull efedb00226 Bug 1140152 - Copy elements' underlying bit patterns in TypedArray.prototype.slice. r=till 2018-05-02 09:52:05 -07:00
David Teller eeaf4dfd56 Bug 1456416 - Make EagerGetter/EagerSetter create their scope earlier;r=arai
MozReview-Commit-ID: 2RlO4wUp5F2

--HG--
extra : rebase_source : dbe3b6653f5504988edf5a11dfb4513b84ed6993
2018-04-24 13:16:51 +02:00