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

63521 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky f7f6285330 Bug 1434686 part 1. Introduce a mozilla::IgnoreErrors which can be used as a temporary to pass to an ErrorResult& arg when the error should be ignored. r=mystor
Once bug 1434689 is fixed, we can mark this thing as being required to be a temporary.

MozReview-Commit-ID: 7VX0XSYVOc4
2018-02-01 14:21:14 -05:00
Jon Coppeard 66b53c4f36 Bug 1417380 - Make background sweeping sweep by zone and free empty arenas after each zone r=sfink 2018-02-01 17:18:39 +00:00
Jon Coppeard 043a35996a Bug 1417380 - Avoid calling string finalizers in cases where we know there's no work to do r=jandem 2018-02-01 17:16:24 +00:00
Jan de Mooij aac278c57c Bug 1434263 - Refactor JSString to have an IsLinear flag instead of IsFlat. r=luke 2018-02-01 15:29:29 +01:00
Andrew McCreight 470a8fdc64 Bug 767640, part 1 - Put Ci, Cr, Cc, and Cu on chrome contexts. r=bz,florian,jmaher
Almost every chrome script uses these abbreviations. We can avoid some
boilerplate by automatically defining them on chrome contexts where we
define Components.

The var declarations for Cc and Ci in MozillaFileLogger.js are run
before enablePrivilege("UniversalXPConnect"). The latter now attempts
to automatically define Cc and Ci, but the non-configurable Cc and Ci
prevent that. Work around this by just removing the var declarations.

MozReview-Commit-ID: 6FV9ahLeqUb

--HG--
extra : rebase_source : 75a3243ea2c267fad19cc6543046dc7b130cc4c1
2018-01-18 13:04:41 -08:00
Gurzau Raul 1315ffda06 Merge inbound to mozilla-central. a=merge 2018-02-02 00:22:39 +02:00
Ciure Andrei c536f2de2c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-08 00:32:12 +02:00
Markus Stange 46a81f0069 Bug 1385998 - Use ReleaseAcquire memory ordering when modifying the PseudoStack. r=froydnj
Before this patch, the writes to stackPointer were done using sequentially-
consistent stores. On x86 these compile to 'xchg' instructions, which showed up
as the most expensive part of the PseudoStack overhead.

MozReview-Commit-ID: IP9w9ievEXZ

--HG--
extra : rebase_source : 6b08b1ce98b59812e9da6da055a9a8daa18a1200
2018-02-05 16:41:29 -05:00
Ted Campbell e39c734df6 Bug 1433837 - Replace ShapedObject::shape_ with JSObject::shapeOrExpando_. r=jandem
The shape is such a key piece of how our JITs work that we should define
them on JSObject and be more explicit about the invariants. This patch
adds a |void* shapeOrExpando_| field to JSObject since we allow
JSObjects to store a non-Shape, provided they follow certain rules.

MozReview-Commit-ID: 4r1mldmGh19

--HG--
extra : rebase_source : fd9cd88433d7a58fd0acdd532296dcaa0b2119c7
2018-01-30 14:56:00 +02:00
Ted Campbell 6796c353a8 Bug 1433837 - Use accessors for ShapedObject::shape_ field. r=jandem
MozReview-Commit-ID: 4Kw6iAudVyH

--HG--
extra : rebase_source : 3a78c8dd8ab2ef268438fc720c6ecbbe43690dda
2018-01-29 13:19:00 +02:00
yuyin 6218181cc9 Bug 1434790 - MIPS64: Use XOR for Value unboxing on 64-bit to mitigate certain Spectre attacks. r=draganmladjenovic
--HG--
extra : rebase_source : c4e626080b308896ffae906816e439b8dc0499f0
2018-01-31 17:32:00 +02:00
Narcis Beleuzu 417fe29a5b Backed out changeset a4458bb78bb4 (bug 1432479) due to wrong bug number
--HG--
extra : rebase_source : 5bd7265a1823c6f8dc7d5e1ed6d5d95a9c5b6ae9
2018-02-01 14:39:58 +02:00
Jon Coppeard afbde53835 Bug 1434622 - Use a separate lock to protect the shared script data table r=sfink 2018-02-01 12:45:43 +00:00
Dragan Mladjenovic 1fc86397cb Bug 1434835 : Port changes from Bug 1432479; r=nbp. 2018-02-01 00:00:00 +02:00
yuyin 5504a4c66c Bug 1432479 - MIPS64: Use XOR for Value unboxing on 64-bit to mitigate certain Spectre attacks. r=draganmladjenovic 2018-01-31 17:32:00 +02:00
Chia-Hung Duan e86055999a Bug 1417388 - Simplify incremental sweeping on the main thread r=jonco 2017-12-07 17:31:28 +08:00
Jon Coppeard e3171b2eb5 Bug 1434224 - Remove excess helper threads now ion compilations no longer pause each other r=lth r=luke 2018-02-01 08:26:24 +00:00
Cosmin Sabou 97ef7010af Backed out 7 changesets (bug 1434429) for build bustages on regress-618572.js and TokenStream.h on a CLOSED TREE
Backed out changeset 1e0faca62e86 (bug 1434429)
Backed out changeset b190c5a3dab2 (bug 1434429)
Backed out changeset 95e07a79f4b2 (bug 1434429)
Backed out changeset 21c79fd76133 (bug 1434429)
Backed out changeset 45c9102825ab (bug 1434429)
Backed out changeset 112eaf00632c (bug 1434429)
Backed out changeset 024f70aeba70 (bug 1434429)
2018-02-01 03:31:45 +02:00
Jeff Walden 97ce3ebeb2 Bug 1434429 - Comment out an assertion whose condition is disliked by certain versions of gcc for entirely mysterious reasons, to be debugged later. r=bustage in a still-CLOSED TREE 2018-01-31 16:53:44 -08:00
Jeff Walden cc18bb0ca7 Bug 1434429 - Followup bustage fix (?) for gcc (and maybe other?) compiler bustage. Worked in recent clang... r=boogstage in a CLOSED TREE 2018-01-31 16:22:24 -08:00
Jeff Walden b3ac36a8a8 Bug 1434429 - Implement TokenStreamChars::matchMultiUnitCodePoint as a better nailing-down of behavior when processing a multi-code unit code point. r=arai
--HG--
extra : rebase_source : a3de66ce2abb1b5399b725961e67771ef374a58d
2018-01-18 11:34:27 -08:00
Jeff Walden fb577bbcc0 Bug 1434429 - Implement a TokenStreamChars::ungetCodePointIgnoreEOL and use it to report errors at precise locations, rather than blindly at the beginning of the token (which happens to be the same thing, just not nearly as clear about it). r=arai
--HG--
extra : rebase_source : 2402cd48df9d1a554756b1242a706d103f519901
2018-01-18 11:34:27 -08:00
Jeff Walden 806b664104 Bug 1434429 - Move TokenStreamSpecific::ungetCharIgnoreEOL into TokenStreamCharsBase. r=arai
--HG--
extra : rebase_source : 15c6b209b8a8509ed957f6b74ee0139714ecb68a
2018-01-18 11:34:27 -08:00
Jeff Walden de083b3ca7 Bug 1434429 - Move TokenStreamSpecific::ungetChar into a new GeneralTokenStreamChars<CharT, AnyCharsAccess> inserted between TokenStreamCharsBase<CharT> and TokenStreamChars<CharT, AnyCharsAccess> in the token stream inheritance hierarchy. r=arai
--HG--
extra : rebase_source : a5ed08ccd92c29476b1219f5966aa3d63de539d2
2018-01-18 11:34:27 -08:00
Jeff Walden 9771f077e9 Bug 1434429 - Use MakeScopeExit to handle resetting userbuf offset in TokenStreamSpecific::putIdentInTokenbuf. r=arai
--HG--
extra : rebase_source : 16e63b41fc4ed043ea6328aad03596f2344f8e36
2018-01-29 12:08:05 -08:00
Nathan Froyd 87e87fc09b Bug 1434659 - move --enable-oom-breakpoint to moz.configure; r=nalexander 2018-01-31 14:35:57 -05:00
Matthew Gaudet 6caae4c219 Bug 1432168 - Make guardType(..., JSVAL_TYPE_DOUBLE) check for Double, and not Number. r=tcampbell
To make this change, replace calls to guardType that currently have DOUBLE as the value
with ones that use a new guardNumber, which tests for Numbers instead.
2018-01-26 09:24:52 -05:00
Matthew Gaudet 8165be667f Bug 1432168 - Add ToBool IC for Symbols. r=jandem 2018-01-30 10:08:58 -05:00
Matthew Gaudet 4f6a387c96 Bug 1432168 - Convert ToBool inline cache to CacheIR. r=jandem 2018-01-26 10:05:13 -05:00
André Bargull c534d09565 Bug 1433432 - Inline Object.is(...) in Ion. r=jandem 2018-01-30 10:05:25 -08:00
Jon Coppeard 0baeaa5def Bug 1434546 - Reduce the length of time we hold the exclusive access lock while atomizing a string r=jandem 2018-01-31 16:06:48 +00:00
Jan de Mooij 25e45c8166 Bug 1433496 - Remove a bogus assert. r=nbp 2018-01-31 16:54:41 +01:00
Jan de Mooij f32cf525dc Bug 1434279 - Remove unused EmitStowICValues. r=evilpie 2018-01-31 16:54:04 +01:00
Jan de Mooij dc4f32901c Bug 1434267 - Add scratch register to MacroAssembler::loadStringChar. r=nbp 2018-01-31 16:53:13 +01:00
Aanchal ad3adf7561 Bug 1431698 - Change the IntConversion enumerations to enum classes. r=bbouvier 2018-01-31 10:21:20 +05:30
Aanchal fcdf6d6157 Bug 1431698 - Move the IntConversion enumerations from MacroAssembler.h to IonTypes.h. r=bbouvier 2018-01-26 19:12:57 +05:30
Lars T Hansen f634ea8511 Bug 1425583 - RegisterOrSP abstraction. r=sstangl
--HG--
extra : rebase_source : ac4dd5aaff54ec34cefddebe2f8edfad7897d2a7
extra : source : 1d94ec0ef6c57b003d1cd1e053c1d6d4ca0fa6c8
2018-01-19 11:21:03 +01:00
Lars T Hansen b37e65e581 Bug 1425583 - Hide ARM64 address computations behind an abstraction. r=sstangl
--HG--
extra : rebase_source : b9ef1e6f8f0169b5db545d862695dd70f22096ba
extra : intermediate-source : b320987d9b2cb151bceaddec220645a6decb1026
extra : source : 533dd94fa8d3d93d4332f74d5774ba9b935c2ee7
2017-12-15 16:49:01 -06:00
Lars T Hansen 9d9b05b2e8 Bug 1425583 - Rewrite gratuitous uses of getStackPointer(). r=sstangl
--HG--
extra : rebase_source : 90abf4ebc15c68f393e6bdfd8fcb44e0366ef93d
extra : intermediate-source : 1c467e11f6554e55b31fb3daf80a399d11ddfeb8
extra : source : 378cb21d204c3695d6e6bc49bcdfd5157b5a8a6f
2018-01-16 16:20:21 +01:00
Lars T Hansen 8d3eca2d64 Bug 1320353 - Avoid garbage AnyRegister. r=jandem
--HG--
extra : rebase_source : 9e6619eadb8908a1291e83137cd08d827cd3df5e
2018-01-29 16:23:52 +01:00
Andrea Marchesini 26352bfee1 Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug 2018-01-31 08:25:30 +01:00
Andrea Marchesini 2c7c69af24 Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug 2018-01-31 08:24:08 +01:00
Luke Wagner d75320da51 Bug 1434030 - Baldr: re-optimize stack limit and JSContext retrieval (r=jandem)
--HG--
extra : rebase_source : 8a916e402f8d1980310df93401be6a83a396da93
2018-01-30 17:53:10 -06:00
Sebastian Hengst 732cb1d98b merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-31 00:22:27 +02:00
Kris Maglione 19a956c2c6 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : 09a90b29837e339eec7bdf8504f86c28e74ca3dd
extra : intermediate-source : a1eca62826a1341ca24d4d2a93d4884d4fc7ad51
extra : histedit_source : eb26e73b531f9a34d3401d39f60b533b27b78540
2018-01-18 16:27:26 -08:00
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Jon Coppeard 779ba02591 Bug 1432794 - Skip prototype and constructor intialization for off-thread parsing r=jandem 2018-01-30 17:57:40 +00:00
Dragan Mladjenovic 8dfe56019b Bug 1434270 - Pull BaselineStubFrame back to SharedICHelpers-mips-shared.h. r=nbp 2018-01-30 10:25:31 -05:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione e050496c59 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : d0515fe4eb13b59cc490ca9d964ad9ee15ef3cd3
extra : intermediate-source : 6e56f4c8843ed134b2dba34fb007298fd55be966
extra : histedit_source : 88abf9f4ea4e740a9391278625ef07395205c3f5%2Cc14bc7a71eb413fcb573ed0d030fd7f99a1468f0
2018-01-18 16:27:26 -08:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Andrew McCreight 9d063bfac8 Bug 1420975 - Add a environment variable to record JS stack for leaks. r=froydnj,mrbkap
This patch adds a new environment variable XPCOM_MEM_LOG_JS_STACK that
changes XPCOM leakchecking to record a JS stack for all objects, in
addition to a C++ stack. This is useful when a C++ object is being
leaked due to JS. The JS stack will be printed if the object leaks, if
it is used in combination with XPCOM_MEM_BLOAT_LOG=1 and
XPCOM_MEM_LOG_CLASSES=nsFoo, if nsFoo is the class of interest.

This patch moves a few XPConnect functions for recording the stack
into xpcpublic.h so they can be called from nsTraceRefcnt.cpp.

MozReview-Commit-ID: FX2QVCSXz4f

--HG--
extra : rebase_source : 5bd4e341072f4cf7d3be774b63d2107479fe9985
2018-01-10 14:02:45 -08:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione e70d01a9e9 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : rebase_source : 6286dcfd1a7c970272ac6befaccd3e47e90d2f6b
extra : intermediate-source : d48657228a0b84cf3a37a35227ca3b3d0bd2a017
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
2018-01-18 16:27:26 -08:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Gary Kwong 4a6be8beb3 Bug 1433597 - Remove unused --wasm-check-bce flag, r=luke 2018-01-26 16:58:00 +02:00
Ted Campbell 65cc03ef2a Bug 1433837 - Cleanup JSObject slots_ initialization r=jandem
js::Allocate<JSObject> now only sets slots_ if nDynamicSlots is
non-zero. This avoids spurious writes for other types and is now
consistent with JIT code.

MozReview-Commit-ID: 3spPMFj7Fxz

--HG--
extra : histedit_source : f01b0e2c54c85ec6b21f42ed564e714d0366cae0
2018-01-29 08:20:00 +02:00
Ted Campbell 79e38596f4 Bug 1433837 - Cleanup JSObject initialization nits r=jandem
Make JSObject initializations more consistent accross different types.

MozReview-Commit-ID: Ixbr1bfM0hj

--HG--
extra : histedit_source : a9d5a9bc53f169939caf6c4a2e463bbb0b90f199
2018-01-28 20:31:00 +02:00
Ted Campbell 613ec551bd Bug 1433837 - Delay MetadataBuilder for UnboxedObject and TypedObject r=jandem
Avoid NewObjectMetadata hook while OutlineTypedObjects have a
uninitialized owner pointer.

MozReview-Commit-ID: Hn0HmnEUmz5

--HG--
extra : histedit_source : 64387c21c2d8a27ffe55f5ac407fa6f8ef3201b5
2018-01-28 20:25:00 +02:00
Ted Campbell d172f1db6e Bug 1433837 - Objects that are isNative should extend NativeObject r=jandem
MozReview-Commit-ID: E3p4j45xnc7

--HG--
extra : histedit_source : 102760de3a858a80f22975d7f9118561137d21a7
2018-01-28 20:23:00 +02:00
yuyin b5a7934b36 Bug 1424978 MIPS: Fix some function implement. r=lth
--HG--
extra : rebase_source : ad2ad6256f201de90b4e7949061a34cf2809e9a0
2017-12-13 02:04:00 +02:00
Matthew Gaudet d644f669bc Bug 1420910: Add InstanceOf inline cache to IonMonkey r=jandem
Install an inline cache for some of the instanceof calls in IonMonkey that
would otherwise hit the interpreter.

--HG--
extra : rebase_source : 5f87ab799d22f44c84c74ec5d53524133900ec79
2018-01-12 14:07:07 -05:00
Matthew Gaudet 944d7681a3 Bug 1420910: Convert the Baseline InstanceOf IC to CacheIR r=jandem
This is the preliminary patch to convert the Baseline InstanceOf
IC to CacheIR, which will later allow us to add support to IonMonkey

--HG--
extra : rebase_source : a01db1640d7970dc90530fdf214248b1b076b0ab
2017-12-12 16:21:45 -06:00
Tom Schuster 753495c34b Bug 1426519 - Fix tests to explicitly enable expression closures. r=jandem
--HG--
extra : rebase_source : 4a0310989f3f8ba52ab0d2a434104db3ba967531
extra : histedit_source : 4c932de171970403c367f887a186d30be5952cb7
2018-01-26 20:26:13 +01:00
Tom Schuster 693cf81007 Bug 1426519 - Disable expression closures everywhere, but allow dynamic enabling them for tests. r=jandem
--HG--
extra : rebase_source : 8f17e69ba1a372fb692b0e0f69d4a54fc6926098
extra : histedit_source : 5d50c395fa592f96f4fb65b9b37323ddf93b9e28
2018-01-26 19:09:35 +01:00
Lars T Hansen f6b34b3652 Bug 1428453 : [MIPS] Implement hardware wasm traps support; patch=dragan.mladjenovic, r=luke, push=lth 2018-01-29 08:35:43 +01:00
André Bargull 30901afb92 Bug 1430800: Optimize String.raw by avoiding rest-parameter array allocation. r=evilpie 2018-01-18 04:20:55 -08:00
André Bargull ca93312f36 Bug 1423878: Remove check for detached ArrayBuffer before CloneArrayBuffer per ES2018. r=jandem 2017-12-07 05:25:20 -08:00
André Bargull 19ae59f64d Bug 1422415 - Part 1: Remove HAVE_SETLOCALE because setlocale() is available on all supported platforms. r=glandium 2018-01-19 05:19:40 -08:00
Markus Stange 3c3d175106 Bug 1385998 - Don't use atomic increments / decrements on stackPointer. r=froydnj
Only one thread ever modifies a PseudoStack, so we don't need to enforce
synchronization of writes from different threads. We can just read the old
value, add one to it, and then do an atomic store with the new value, because
we know that the current value of stackPointer can't have changed in the
meantime.

On its own, this patch actually seems to make things slower. But combined with
the next patch (which changes the memory ordering to ReleaseAcquire) it doesn't.
(I haven't checked whether the next patch on its own would give just as much
improvements with and without this patch.)

MozReview-Commit-ID: 3WIdyJC9kcj

--HG--
extra : rebase_source : c4e88746a0239cab3d0f9cf6f7b7fb10732a62ab
2017-08-02 14:36:43 -04:00
Jeff Walden 92624b2025 Bug 1431957 - Move a bunch of functions in builtin/intl/CommonFunctions.js into more-specific files, where those functions are only used in a single more-specific file. r=anba
--HG--
extra : rebase_source : 746b65988b8f58ce920dc93c2eeaddf9ffa7a88c
2018-01-20 12:41:06 -08:00
Jeff Walden 0e500470a0 Bug 1431957 - js/src/builtin/Intl* doesn't exist any more, so don't tag it as BUG_COMPONENT = component_intl. r=anba
--HG--
extra : rebase_source : a99a83338b5f3a8f34e0d4b4b7ca7f9af280ad3b
2018-01-22 12:53:23 -08:00
Jeff Walden ad521c076e Bug 1431957 - Move builtin/Intl.js (which now contains only shared functionality) to builtin/intl/CommonFunctions.js. r=anba
--HG--
rename : js/src/builtin/Intl.js => js/src/builtin/intl/CommonFunctions.js
extra : rebase_source : 7dc206fe31a7aa9ee82529365937fe1b90531d70
2018-01-20 12:41:06 -08:00
Jeff Walden e35f51daf6 Bug 1431957 - Move Intl.Collator self-hosted code to a new builtin/intl/Collator.js file. r=anba
--HG--
rename : js/src/builtin/Intl.js => js/src/builtin/intl/Collator.js
extra : rebase_source : 18f48d145d9eef44c491253356b4450811a1d7c4
2018-01-20 12:41:06 -08:00
Jeff Walden 57c5806aa2 Bug 1431957 - Move Intl.NumberFormat self-hosted code to a new builtin/intl/NumberFormat.js file. r=anba
--HG--
rename : js/src/builtin/Intl.js => js/src/builtin/intl/NumberFormat.js
extra : rebase_source : acedba27911988258318f5ea1a67f1f392a9cb74
2018-01-20 12:41:05 -08:00
Jeff Walden d7d15bd1b3 Bug 1431957 - Move Intl.DateTimeFormat self-hosted code to a new builtin/intl/DateTimeFormat.js file. r=anba
--HG--
rename : js/src/builtin/Intl.js => js/src/builtin/intl/DateTimeFormat.js
extra : rebase_source : f4f9cb0099705c99df1a5d93906d5d646e467a4c
2018-01-20 12:41:05 -08:00
Jeff Walden 72523a946b Bug 1431957 - Move Intl.PluralRules self-hosted code to a new builtin/intl/PluralRules.js file. r=anba
--HG--
rename : js/src/builtin/Intl.js => js/src/builtin/intl/PluralRules.js
extra : rebase_source : f9bbb991221743fade628cb39787cc05799b1bcc
2018-01-20 12:41:05 -08:00
Jeff Walden b5944774dd Bug 1431957 - Move Intl.RelativeTimeFormat self-hosted code to a new builtin/intl/RelativeTimeFormat.js file. r=anba
--HG--
rename : js/src/builtin/Intl.js => js/src/builtin/intl/RelativeTimeFormat.js
extra : rebase_source : 49de40d029f399e35300a677b2e5fa4b25b2a3f3
2018-01-20 12:41:05 -08:00
Jeff Walden e67efd42cd Bug 1431957 - Move the self-hosting of non-constructor properties of Intl to a new builtin/intl/IntlObject.js file. r=anba
--HG--
rename : js/src/builtin/Intl.js => js/src/builtin/intl/IntlObject.js
extra : rebase_source : b66bdb3b6c776f05c2906217ac2aed7878039b62
2018-01-20 12:41:05 -08:00
Jeff Walden 4aa0290a3a Bug 1431957 - Rerun |python ./make_intl_data.py langtags| generating langtag mapping data into the new location, demonstrating that the only changes that happen are timestamp changes). r=anba
--HG--
extra : rebase_source : ab60bfd8b62aa6e9de9a1fc5ee02749d6302715b
2018-01-20 01:15:27 -08:00
Jeff Walden 3454b689e2 Bug 1431957 - Rerun |python ./make_intl_data.py currency| generating currency data into the new location, demonstrating that the only changes that happen are because upstream data changed (in insignificant ways). r=anba
--HG--
extra : rebase_source : adc3444894bfba21d38e7f64376687736a45b3a5
2018-01-20 01:13:18 -08:00
Jeff Walden 0a795699ac Bug 1431957 - Move various generated files from builtin/Intl* to builtin/intl/*, and add "Generated" to their names for clarity. r=anba
--HG--
rename : js/src/builtin/IntlCurrency.js => js/src/builtin/intl/CurrencyDataGenerated.js
rename : js/src/builtin/IntlData.js => js/src/builtin/intl/LangTagMappingsGenerated.js
rename : js/src/builtin/IntlTimeZoneData.h => js/src/builtin/intl/TimeZoneDataGenerated.h
rename : js/src/builtin/make_intl_data.py => js/src/builtin/intl/make_intl_data.py
extra : rebase_source : e88230d13853aec0c82accae02abcd41ed00821e
2018-01-20 01:07:54 -08:00
Jeff Walden 3c228dad29 Bug 1431957 - Move builtin/Intl.* to builtin/intl/IntlObject.* and trim the contents of them a little further. r=anba
--HG--
rename : js/src/builtin/Intl.cpp => js/src/builtin/intl/IntlObject.cpp
rename : js/src/builtin/Intl.h => js/src/builtin/intl/IntlObject.h
extra : rebase_source : 3f6f2a93676dbceace0d05181d88c9a4cfee725b
2018-01-19 22:29:47 -08:00
Jeff Walden 7caff7027f Bug 1431957 - Trim builtin/Intl.cpp's #include set down to size, now that it contains *only* stuff related to Intl, its non-constructor properties, and initialization of Intl. r=anba
--HG--
extra : rebase_source : c571efb616b8741e093cb91b326cc371a1a354ef
2018-01-19 21:49:05 -08:00
Jeff Walden 9999e83d84 Bug 1431957 - Move String-based Intl-dependent functionality out of Intl.cpp, into jsstr.cpp. It may *depend* on Intl, but it *lives* on String, so it should be defined in String code for easiest searching. And with newly-slimmed builtin/intl/*.h headers, it's no real compile overhead to define this outside of Intl code. r=anba
--HG--
extra : rebase_source : 6471c2d3028dba1f6ac9348d8b40c20f07e50cbd
2018-01-19 21:02:38 -08:00
Jeff Walden d0f152b2e0 Bug 1431957 - Move Intl.RelativeTimeFormat functionality into builtin/intl/RelativeTimeFormat.*. r=anba
--HG--
rename : js/src/builtin/Intl.cpp => js/src/builtin/intl/RelativeTimeFormat.cpp
extra : rebase_source : 36750b0baaf6b5cf1b85dbe5e7f3f1ca27ba7320
2018-01-19 20:26:54 -08:00
Jeff Walden 9438e5adad Bug 1431957 - Move Intl.PluralRules functionality into builtin/intl/PluralRules.*. r=anba
--HG--
rename : js/src/builtin/Intl.cpp => js/src/builtin/intl/PluralRules.cpp
extra : rebase_source : 4610f0ff617a1964ae0f1a42cfe0ae3a4cf36303
2018-01-19 19:03:21 -08:00
Jeff Walden 04ae6bd928 Bug 1431957 - Move Intl.DateTimeFormat functionality into builtin/intl/DateTimeFormat.*. r=anba
--HG--
rename : js/src/builtin/Intl.cpp => js/src/builtin/intl/DateTimeFormat.cpp
rename : js/src/builtin/Intl.h => js/src/builtin/intl/DateTimeFormat.h
extra : rebase_source : fb54f801b971845ecc6342efac1e30af217a8a7f
2018-01-19 18:37:09 -08:00
Jeff Walden 77349d1f5b Bug 1431957 - Move SharedIntlData into its own builtin/intl/SharedIntlData.* files so the world doesn't have to import all shared Intl functionality. r=anba
--HG--
extra : rebase_source : 61e7615c8bb172aa8fe4fe8a4d3e62458410b0c8
2018-01-19 17:27:14 -08:00
Jeff Walden b73e7420db Bug 1431957 - Move Intl.Collator functionality into builtin/intl/Collator.*. r=anba
--HG--
rename : js/src/builtin/Intl.cpp => js/src/builtin/intl/Collator.cpp
extra : rebase_source : 2eb6a4c9577ea8bfd82d495e65c01b94e9639647
2018-01-19 16:28:11 -08:00
Jeff Walden a71542f55c Bug 1431957 - Move NewUNumberFormatForPluralRules next to its only use. r=anba
--HG--
extra : rebase_source : 65bc342a0c78e92d632f5ffd98551ad7a0565b5a
2018-01-19 16:20:55 -08:00
Jeff Walden 7919f20f84 Bug 1431957 - Move Intl.NumberFormat functionality into builtin/intl/NumberFormat.*. r=anba
--HG--
rename : js/src/builtin/Intl.cpp => js/src/builtin/intl/NumberFormat.cpp
rename : js/src/builtin/Intl.h => js/src/builtin/intl/NumberFormat.h
extra : rebase_source : f8c30c3fa2bd7f2bb7e27ebe111ea5141952d24b
2018-01-19 16:20:44 -08:00
Jeff Walden 28710eaade Bug 1431957 - Move functionality used in the implementation of multiple Intl.* constructors into builtin/intl/CommonFunctions.*. r=anba
--HG--
extra : rebase_source : 9e65fc7957ee93b6b58e38329741de5079b4be62
2018-01-19 16:14:03 -08:00
Jeff Walden 8d38b42160 Bug 1431957 - Move ICU stub functions into builtin/intl/ICUStubs.h. r=anba
--HG--
extra : rebase_source : 8112cb169f912b6157541fb1eec9d899ba95c2fe
2018-01-19 13:34:13 -08:00
Jeff Walden f77f5aa89c Bug 1431957 - Move ScopedICUObject to its own header. r=anba
--HG--
extra : rebase_source : 530554014ee18693a5426993386e2720ac6c993f
2018-01-19 13:32:05 -08:00
Jeff Walden 8314131139 Bug 1432646 - Implement mozilla::WrapToSigned. r=froydnj
--HG--
extra : rebase_source : 2c1a216830767da789eea59d00b55a45845f4d60
2018-01-25 14:48:01 -08:00
Jeff Walden 1cf916f6d8 Bug 1432646 - Don't overflow performing signed integer arithmetic when performing |JS::ToInt32(0xFFFFFFFF)|. r=froydnj
--HG--
extra : rebase_source : bf64d6eceb631fbd4fe018a34530defd59e20d71
2018-01-25 14:47:55 -08:00
Tooru Fujisawa 1729fa2851 Bug 1425691 - Do not update type information of iter result object template if the object group has unknown properties. r=jandem 2018-01-26 09:23:47 +09:00
Jon Coppeard 1b60b9f184 Bug 1433014 - Fix test bustage r=me 2018-01-25 17:43:51 +00:00
Jon Coppeard 3463b30dca Bug 1433014 - Cancel off thread job if we fail to append it to job list r=luke 2018-01-25 17:12:47 +00:00
Jon Coppeard d72b56bf6b Bug 1433013 - Only cancel off-thread jobs for the current context when a worker thread exits r=luke 2018-01-25 17:12:47 +00:00
Gurzau Raul ea1ff80377 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-25 19:08:48 +02:00
Gurzau Raul 062e1cf551 Merge inbound to mozilla-central. a=merge 2018-01-25 19:02:48 +02:00
Luke Wagner 68d1372735 Bug 1432956 - Baldr: remove GlobalSegment (r=bbouvier) 2018-01-25 09:17:20 -06:00
Gurzau Raul 49c692983a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-25 13:02:27 +02:00
Yury Delendik 0cc3f8ba82 Bug 1431864 - Use Response.url as WebAssembly module URL. r=bkelly,luke
MozReview-Commit-ID: 2xAasdmpIKX

--HG--
extra : rebase_source : a4664e04930eda6dc1a4429be5b9a3c3467cd71b
2018-01-22 14:55:30 -06:00
Jan de Mooij d2cba68ca9 Bug 1431173 - Use Spectre index masking for more bounds checked loads. r=nbp 2018-01-25 16:51:44 +01:00
Jan de Mooij 41241750c1 Bug 1431096 - Use Spectre index masking when loading int/unit strings. r=nbp 2018-01-25 16:51:05 +01:00
Andrea Marchesini c6da271117 Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
* * *
Bug 1425458 - Resource timing entries Workers - part 10 - Correct parameters in NS_NewChannel in nsDataObj.cpp, r=me
2018-01-24 17:17:31 +01:00
Lars T Hansen 1ccda3f5bc Bug 1427130 - Add guard to SAB structured clone. r=jorendorff
This demotes a MOZ_RELEASE_ASSERT in the SAB case for SC write to a
run-time check.  The reason is that the clone policy must conform to
the clone scope, specifically, if the scope is DifferentProcess then
the policy must deny SAB.

The check was an assert previously because we mistakenly thought that
we controlled all the callers, but we do not - the TestingFunction
serialize() has a permissive API and instead of adding a lot of
complexity there we should change the assert to a run-time check.  The
code is more resilient as a result anyway.

Also document this quirk in the SC header file.

--HG--
extra : rebase_source : 4b632fe57bc9ebf3f38210b1ffad11fde57befa6
2018-01-15 11:31:35 +01:00
Lars T Hansen 2375c682a8 Bug 1431402 - Add 64bit-int-to-floating-point conversion to MacroAssembler.h. r=nbp
Including ARM64 implementations here because they are easy, and will be
needed by the Wasm baseline compiler anyway.

--HG--
extra : rebase_source : 5baab6faed8fcd4c5b661e40ac011da051573a0a
extra : intermediate-source : 6d7fa52e38fbd7f9d106b8bbacca51d3907bd4f7
extra : source : 724822b1b806b8f7ce6af0d3891be1e4a450ffe9
2018-01-16 14:16:52 +01:00
Lars T Hansen ef546b990b Bug 1431402 - Add floating-point-to-64bit-int conversion to MacroAssembler.h. r=nbp
Including ARM64 stubs here because it simplifies code in the Wasm
baseline compiler, and doesn't hurt.

--HG--
extra : rebase_source : 58933b501248f2f53cb88117f93662f1ae3f9bfe
extra : source : f217aeea295bac03a323917292560ba1f491b0fb
2018-01-18 15:00:45 +01:00
Lars T Hansen 3dacab010f Bug 1430161 - Factor ARM disassembler, implement for ARM64. r=nbp
We extract the ARM disassembler bits and place them in
jit/shared/Disassembler-shared.{cpp,h}, and then clean them up and
generalize them.  The ARM assembler is slightly modified to deal with
this but the changes are local.

We then add code to the ARM64 assembler to drive the disassembler.
The structure is as for the ARM disassembler.

--HG--
extra : rebase_source : 7197ec8b3b8985005efb7522b6719140b2eac5e4
extra : source : aa8517d9efb1aa89f4661bdb095d5a0f526cb652
2017-12-15 13:10:23 -06:00
Lars T Hansen 3d9e46b95b Bug 1412238 - Implement WebAssembly.Global for immutables. r=luke
--HG--
extra : rebase_source : 95f927424504041f5e08cce8f233f2cbbc1a641f
2018-01-10 14:44:35 +01:00
Lars T Hansen 6b0c25d28f Bug 1432808 - Root a string in a test case. r=jonco
--HG--
extra : rebase_source : 56497b5581d188c41ee83660bcf1edd9ca7f57fc
2018-01-24 16:42:42 +01:00
Kris Maglione aec63e140c Backed out 3 changesets (bug 1431533) for Android mochitest bustage. CLOSED TREE
MozReview-Commit-ID: 5ubE9EMQpZ9

--HG--
extra : histedit_source : df68d7595925c07d9d6e8bacc2c46e69556f479a%2C72b768b9825e20ede6603ead75f871c50dc041f7
2018-01-24 22:04:59 -08:00
Kris Maglione b1f8945974 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : rebase_source : e6325fc83bd2fef811a4f1e97634ce5d32eddc9c
extra : absorb_source : 64645bed5d58034f4240ce4cd9eb932739c0c63d
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : histedit_source : 81a28bce375dd35da39c8a27b15cbf49c971c454
2018-01-18 16:27:26 -08:00
Kris Maglione 30b3a49bfd Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
MozReview-Commit-ID: 8V1ZT53ReiP

--HG--
extra : rebase_source : 12b5f8c3e125111db7382eb3d7d20a99fb2c35b3
extra : absorb_source : e99fa7f6eee02e7e6cadeb898c7fcf6dac9c902a
extra : histedit_source : d0dfc31fadc2b81d341c9d0cd1efec02923c003b
2018-01-24 15:48:47 -08:00
Kris Maglione 68ac13e6b6 Bug 1431533: Part 2 - Add ChromeUtils.defineModuleGetter helper. r=bz
This helper makes it easy to lazily import a JavaScript module the first time
one of its exports is required. It is intended to replace
XPCOMUtils.defineLazyModuleGetter, which has similar functionality but is much
less efficient.

MozReview-Commit-ID: 2zxXYwrn3Dr

--HG--
extra : rebase_source : 998de7388ee03fdec0a0949b4e43bd9169dbb592
extra : histedit_source : 414d0ed1842b2270146d37b2788a56c682d3d695
2018-01-17 19:20:16 -08:00
Kris Maglione be57cf30bb Bug 1431533: Part 1 - Cache module exports when a module is first loaded. r=mccr8
Looking up and copying exported properties each time a module is loaded is
fairly expensive at the best of times. It's even more expensive when we only
want to export a subset of symbols, which generally requires creating a
temporary object to hold the exports, or fetching them directly from the
returned global.

Aside from making the general case a bit faster, storing exports on an object
allows us to optimize lazy module imports by fetching imported symbols
directly from the exports object with very little additional overhead.

MozReview-Commit-ID: C9PGoXPNmsh

--HG--
extra : rebase_source : 6232cf7a52fd69ebeb8b6e39680646f287c272a8
extra : histedit_source : b223c73a6e9092491f4fb09f8c795f5aa4b43df3
2018-01-18 14:12:04 -08:00
Tom Ritter 5a600ec834 Bug 1431797 Fix capitalization in mozilla files so the sandbox can compile on MinGW r=bobowen
This patch also adds the capitalization patch file to the chromium patches

MozReview-Commit-ID: BzAkEtCKAi4

--HG--
extra : rebase_source : 8f24d2b855e721f354f12b0d3fca5783cc66702e
2018-01-24 14:27:21 -06:00
Jan de Mooij 93e1e4e3d9 Bug 1432479 - Use XOR for Value unboxing on 64-bit to mitigate certain Spectre attacks. r=luke
--HG--
extra : rebase_source : e0825f48994b4556db2f71d04d3c0971de5275ac
2018-01-24 12:33:53 +01:00
Brindusan Cristian 368c3d5b6b Backed out 12 changesets (bug 1425458) for mochitest failures on WorkerPrivate.cpp on a CLOSED TREE
Backed out changeset 11997de13778 (bug 1425458)
Backed out changeset 100b9d4f36bc (bug 1425458)
Backed out changeset a29e9dbb8c42 (bug 1425458)
Backed out changeset b96d58fd945c (bug 1425458)
Backed out changeset f140da44ba68 (bug 1425458)
Backed out changeset af56400233d9 (bug 1425458)
Backed out changeset 7034af4332e4 (bug 1425458)
Backed out changeset f70500179140 (bug 1425458)
Backed out changeset 793bbfc23257 (bug 1425458)
Backed out changeset 2efb375a8ffc (bug 1425458)
Backed out changeset 07e781e37451 (bug 1425458)
Backed out changeset e875f3702a5f (bug 1425458)
2018-01-24 20:47:48 +02:00
Andrea Marchesini 6480b95ba3 Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug 2018-01-24 17:17:31 +01:00
Jeff Walden 2766ecfe78 Bug 1432312 - Remove the now-unused EmitUnstowICValues function from SharedICHelpers.h. rs=nbp
--HG--
extra : rebase_source : 58e5c368a92608ef9361ad6e18e41dd6a20335c3
2018-01-23 13:00:54 -08:00
Jeff Walden c5a44deb1a Bug 1432378 - Fix used-but-not-defined errors for MacroAssembler::makeFrameDescriptor and MacroAssembler::call(TrampolinePtr) by moving the uses-from-inlines-in-.h headers to be in a new *-inl.h header, then #include-ing it in files that need those functions. r=nbp
--HG--
rename : js/src/jit/arm/SharedICHelpers-arm.h => js/src/jit/arm/SharedICHelpers-arm-inl.h
rename : js/src/jit/arm64/SharedICHelpers-arm64.h => js/src/jit/arm64/SharedICHelpers-arm64-inl.h
rename : js/src/jit/mips-shared/SharedICHelpers-mips-shared.h => js/src/jit/mips-shared/SharedICHelpers-mips-shared-inl.h
rename : js/src/jit/none/SharedICHelpers-none.h => js/src/jit/none/SharedICHelpers-none-inl.h
rename : js/src/jit/x64/SharedICHelpers-x64.h => js/src/jit/x64/SharedICHelpers-x64-inl.h
rename : js/src/jit/x86/SharedICHelpers-x86.h => js/src/jit/x86/SharedICHelpers-x86-inl.h
extra : rebase_source : 7e9794a5ebaf247912da96740bad01f699d0a92a
2018-01-23 13:00:47 -08:00
Jeff Walden 051a968cbc Bug 1432346 - Fix make_intl_data.py to work with the introduction of the non262/ directory to our tests directory layout. r=sfink
--HG--
extra : rebase_source : f0133d739ebc594acad0b72f8074ab8c75a510ca
2018-01-20 01:07:17 -08:00
Jeff Walden c9321043f3 Bug 1432340 - Introduce gc/FreeOp.h to contain that class, extricating it from the far-more-ponderous vm/Runtime.h for those users needing *only* js::FreeOp and nothing else. r=sfink
--HG--
extra : rebase_source : 08dd234832e23610ef49c3672fde91096b450e5b
2018-01-22 12:53:19 -08:00
Jeff Walden 9c29ec573b Bug 1432318 - Adjust Stopwatch code #ifdefs to not produce unreachable code when !defined(MOZ_HAVE_RDTSC). r=jandem
--HG--
extra : rebase_source : 97e39b7a435e9f037195164ff2ad5e0f039e8850
2018-01-22 12:53:18 -08:00
Jeff Walden a6e063da4b Bug 1432316 - Move a few ArrayBufferObjectMaybeShared inline member functions to the appropriate -inl.h file, after the *other* inline functions their definitions require. r=sfink
--HG--
extra : rebase_source : e1994e6f709d19ec14a7b036c70a3b75b0dc5e04
2018-01-22 12:52:56 -08:00
Jeff Walden c6ec5a3d4f Bug 1432314 - Remove a FuncPtrCallTemp register definition that's currently defined in JS_CODEGEN_ARM but entirely unused. r=jonco
--HG--
extra : rebase_source : 660b15e6ad1379e7e4fe2217208a8ca1e38e19d6
2018-01-22 12:52:35 -08:00
Jeff Walden 40b1aa5f10 Bug 1432312 - Move a few trivial -inl.h definitions into the .h to eliminate used-but-not-defined compiler warnings (errors, with -Werror). r=nbp
--HG--
extra : rebase_source : a2eb78ecf7815c7f903a312d26585beff91a1442
2018-01-22 12:51:58 -08:00
Jeff Walden 160f7db525 Bug 1431874 - Loop using a size_t index, not a pointer, to avoid undefined behavior computing an end pointer possibly outside the range of the underlying data. r=jonco
--HG--
extra : rebase_source : c877adc843c2e269742735f9af203278dfe9a973
2018-01-22 12:49:59 -08:00
Jeff Walden dde07bbcac Bug 1428863 - Move TokenStreamChars::copyTokenbufTo to TokenStreamCharsBase. r=arai
--HG--
extra : rebase_source : c98562481fd4eaf5a35bcb7b247e46a984778625
2018-01-11 07:54:01 -08:00
Andreea Pavel f8d01dd2d2 Backed out 2 changesets (bug 1420910) for mochitest assertion failure at /builds/worker/workspace/build/src/js/src/jit/MIR.cpp on a CLOSED TREE 2018-01-23 23:34:46 +02:00
Dorel Luca c00b3bfa4c Merge mozilla-central to mozilla-inbound r=merge 2018-01-23 19:58:07 +02:00
Dorel Luca 30b5be6d16 Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-23 19:46:03 +02:00
Dragan Mladjenovic 1a7d0b7b29 Bug 1432393 - [MIPS] Increase CodeAlignment to 8 bytes. r=jandem 2018-01-23 11:43:36 -05:00
Benjamin Bouvier f0075796d0 Bug 1431669: Follow up to fix build bustage on a CLOSED TREE; r=me
NoTypePolicy actually can't be used in a MixPolicy; revert this change.

MozReview-Commit-ID: 2BgZ3yNh8CP

--HG--
extra : rebase_source : 32615ccdc3181d60ff345e308ef63fa17362d043
2018-01-23 12:24:15 +01:00
Christian Holler 5e6434ac23 Bug 1431090 - Add FuzzingInterface support to JS engine. r=jandem
This patch adds basic support for the fuzzing interface in the JS engine on top
of the last patch. This includes all the necessary code except for actual
targets (just an example target skeleton) and also makes sure that the fuzzing
code is packaged for the standalone release.

MozReview-Commit-ID: D6Tyebz3jZS

--HG--
extra : rebase_source : f07a5d2bf8e09fb6c93501e58fbb958004e2fa05
2018-01-17 17:05:04 +01:00
Matthew Gaudet 6f97cedc35 Bug 1420910 - Add InstanceOf inline cache to IonMonkey. r=jandem
Install an inline cache for some of the instanceof calls in IonMonkey that
would otherwise hit the interpreter.

--HG--
extra : rebase_source : 6a112ecdd13a8125054156a9cfb9287dbf1c34db
extra : histedit_source : 0f229c71db901257a7c3f7ba6c0b262c3c26430d
2018-01-12 14:07:07 -05:00
Matthew Gaudet cbc2677342 Bug 1420910 - Convert the Baseline InstanceOf IC to CacheIR. r=jandem
This is the preliminary patch to convert the Baseline InstanceOf
IC to CacheIR, which will later allow us to add support to IonMonkey

--HG--
extra : rebase_source : 51c9b9b4aca126fc7a3aac69e0ca7a35a9a8882f
extra : histedit_source : 65b479fdf36284e4a06357c8cfa70e7fd065ab51
2017-12-12 16:21:45 -06:00
Coroiu Cristina faa2f8c7da Backed out 2 changesets (bug 1431090) for Bf bustage at src/tools/fuzzing/interface/harness/FuzzerTestHarness.h
Backed out changeset 2e98bda3f397 (bug 1431090)
Backed out changeset eb6acc9e44ad (bug 1431090)

--HG--
rename : tools/fuzzing/registry/FuzzerRegistry.cpp => tools/fuzzing/libfuzzer/harness/LibFuzzerRegistry.cpp
rename : tools/fuzzing/registry/FuzzerRegistry.h => tools/fuzzing/libfuzzer/harness/LibFuzzerRegistry.h
rename : tools/fuzzing/interface/harness/FuzzerRunner.cpp => tools/fuzzing/libfuzzer/harness/LibFuzzerRunner.cpp
rename : tools/fuzzing/interface/harness/FuzzerRunner.h => tools/fuzzing/libfuzzer/harness/LibFuzzerRunner.h
rename : tools/fuzzing/interface/harness/FuzzerTestHarness.h => tools/fuzzing/libfuzzer/harness/LibFuzzerTestHarness.h
rename : tools/fuzzing/interface/harness/moz.build => tools/fuzzing/libfuzzer/harness/moz.build
2018-01-23 13:49:26 +02:00
Christian Holler 08e812cc03 Bug 1431090 - Add FuzzingInterface support to JS engine. r=froydnj
This patch adds basic support for the fuzzing interface in the JS engine on top
of the last patch. This includes all the necessary code except for actual
targets (just an example target skeleton) and also makes sure that the fuzzing
code is packaged for the standalone release.

MozReview-Commit-ID: D6Tyebz3jZS

--HG--
extra : rebase_source : 58e4d85e657347b061de0ed912365f2a955a86e3
2018-01-17 17:05:04 +01:00
Christian Holler 9b23854e8b Bug 1432298 - Make sm-fuzzing build ready for libfuzzer. r=sfink
This patch disables the stdcxx-compat check for the sm-fuzzing build which
requires patching autospider as well. Furthermore, it switches the build
to linux64-clang-6-pre because the older clang 3.9 does not support trace-pc
instrumentation. Finally, it excludes fuzzing parts from the vanilla allocation
check.

MozReview-Commit-ID: FdhCIFdUore

--HG--
extra : rebase_source : c41bda01cb42f2ef0cd5a1675d88bdb55d9dc8c9
2018-01-22 21:23:47 +01:00
Kris Maglione 5c6644bdb6 Bug 1393270: Follow-up: Fix debug test bustage. r=bustage CLOSED TREE
MozReview-Commit-ID: 1R4BDt1lDNz

--HG--
extra : rebase_source : c59bdb6ecdf2e62e78fd9434b5ff4e864b671b0d
extra : amend_source : 44717b391ac819132080131dc783002ca6fda18b
2018-01-22 18:59:09 -08:00
Kris Maglione 572e9a786f Bug 1393270: Follow-up: Fix style linter error again. r=bustage CLOSED TREE
MozReview-Commit-ID: 4Z4EG940Zgw

--HG--
extra : rebase_source : d5a89fc624c0ae789dd4c2c9014ff2b53cfdedc2
extra : amend_source : da65bd28ce3e15a9747ca8d5d85fb677356209ed
2018-01-22 18:10:28 -08:00
Kris Maglione 06742a84eb Bug 1393270: Follow-up: Fix build bustage from rebase. r=bustage
MozReview-Commit-ID: Ix7itPBAdno

--HG--
extra : rebase_source : 6ab89c30bc23b0abe5a3057c47ed747c193012b7
2018-01-22 17:34:37 -08:00
Kris Maglione a09cf2763b Bug 1393270: Follow-up: Fix style linter error. r=bustage
MozReview-Commit-ID: IS5FQiNd80j

--HG--
extra : rebase_source : aebab5366ff2605b67f4d38ab764dd829b370fcc
2018-01-22 16:53:27 -08:00
Gurzau Raul 8d25fdea99 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-23 02:25:48 +02:00