Commit Graph

59004 Commits

Author SHA1 Message Date
Brian Hackett
5b5e83bd5c Bug 1336893 - Tolerate redundant writes in WriteOnceData checks, r=jandem.
--HG--
extra : rebase_source : b584c3f341300e605d33be05a02eb7b87e386059
extra : histedit_source : efe03535c241ec245562d9dc029eec2f51053e5d
2017-02-07 06:00:57 -07:00
Brian Hackett
d56142ab7b Bug 1334880 - Don't use JSContext* symbolic address in wasm jitcode, r=luke.
--HG--
extra : rebase_source : 6304598657ce2f5b1e38bc00dda5e76d9fa9565b
2017-02-05 07:46:09 -07:00
Jan de Mooij
b05dcaf0a2 Bug 1338894 - Rewrite NurseryAwareHashMap to speed up WrapperMap sweeping. r=jonco 2017-02-13 19:11:19 +01:00
Jan de Mooij
a196f8f3a1 Bug 1337024 part 2 - Port Baseline stubs for adding dense/unboxed elements to CacheIR. r=evilpie 2017-02-13 17:38:51 +01:00
Tom Schuster
39312086de Bug 1339036 - Rename JSTYPE_VOID to JSTYPE_UNDEFINED. r=arai 2017-02-13 17:26:16 +01:00
André Bargull
da565844f3 Bug 1339031 - Part 2: Remove unneeded version calls from non-standard tests. r=evilpie 2017-02-13 03:03:15 -08:00
André Bargull
4662d3495a Bug 1339031 - Part 1: Use the default JavaScript version in standard tests. r=evilpie 2017-02-13 03:04:26 -08:00
André Bargull
23bfe02cd8 Bug 1339030 - Don't skip tests using detachArrayBuffer when running in browser. r=evilpie 2017-02-13 03:06:36 -08:00
André Bargull
b550bb939c Bug 1339029 - Remove unused parameter from internal DataView read/write methods. r=evilpie 2017-02-13 03:05:23 -08:00
Sander Mathijs van Veen
a9119dcaa8 Bug 1331350 - Fuse BitAnd, Compare and Test into BitAndAndBranch r=jandem
MozReview-Commit-ID: 3EqbLbOywc9
2017-02-13 03:33:00 +01:00
Jon Coppeard
46c6dced28 Bug 1338614 - Refactor incremental barrier APIs and make them call the read barrier r=sfink 2017-02-13 11:11:09 +00:00
Lars T Hansen
58483a5212 Bug 1302037 - Don't allow SAB in transfer map. r=shu
--HG--
extra : rebase_source : 5f3e2b8ea633a7dd504fa2bdab91bc5c36957e1b
extra : amend_source : 50cae6b6d5b04f8484051d469aef5b2898a6fe2a
2017-02-10 10:02:18 +01:00
Tooru Fujisawa
4bdc66dec5 Bug 1338373 - Update word boundary in RegExp with unicode and ignoreCase flags to include U+017F and U+212A. r=till 2017-02-11 11:47:57 +09:00
Sean Stangl
4e8843518e Bug 1332466 - Update VTune integration. r=sfink 2017-01-17 14:35:42 -08:00
André Bargull
98c86f084f Bug 1325052. r=Waldo 2017-01-19 04:57:37 -08:00
André Bargull
f67d1319c7 Bug 1338884 - Part 5: Enable test262 tests previously disable due to missing jstests harness hardening. r=arai 2017-02-13 03:06:54 -08:00
André Bargull
e02f601784 Bug 1338884 - Part 4: Harden jstests harness for test262 which modify built-ins. r=arai 2017-02-13 03:07:17 -08:00
André Bargull
babc101f20 Bug 1338884 - Part 3: Fix style nits in moved harness functions. r=arai 2017-02-13 03:07:38 -08:00
André Bargull
73de673c0f Bug 1338884 - Part 2: Move the remaining harness functions into shell.js' IIFE. r=arai 2017-02-13 03:07:56 -08:00
André Bargull
ae027bd68c Bug 1338884 - Part 1: Move the remaining helper functions into shell.js' IIFE. r=arai 2017-02-13 03:08:18 -08:00
Mike Shal
ad087668b7 Bug 1339182 - Remove OSX universal support in the build system; r=glandium
This removes the UNIFY_DIST and UNIFIED_BUILD variables, as well as the
--unify flag from the packager and UnifiedBuildFinder from mozpack. As a
result the STAGEPATH variable is never defined anymore, so its uses can
be removed as well.

test_unify.py is currently the only mozbuild/mozpack test that fails
without running configure first, and there isn't much point in fixing
tests for things that we don't actually use anymore.

MozReview-Commit-ID: F5q1FPW3Did

--HG--
extra : rebase_source : cadbd237f51c23ea1983135294521d628d16f0df
2017-02-10 16:52:17 -05:00
Tooru Fujisawa
1c9bfb2ba1 Bug 1320408 - Part 26: Remove Shape::set declaration. r=jandem 2017-02-08 23:04:58 +09:00
Tooru Fujisawa
08cf49ae48 Bug 1320408 - Part 25: Change NativeObject::toDictionaryMode to static method. r=jandem 2017-02-08 23:04:58 +09:00
Tooru Fujisawa
7e3dcf983b Bug 1320408 - Part 24: Change NativeObject::{fillInAfterSwap,replaceWithNewEquivalentShape,generateOwnShape,shadowingShapeChange} to static method. r=jandem 2017-02-08 23:04:57 +09:00
Tooru Fujisawa
c5ca920821 Bug 1320408 - Part 23: Change RegExpObject::{getShared,createShared,dumpBytecode} to static method. r=jandem 2017-02-08 23:04:57 +09:00
Tooru Fujisawa
33a302accc Bug 1320408 - Part 22: Remove JSContext* parameter from ProxyObject::renew and Wrapper::Renew. r=jandem 2017-02-08 23:04:57 +09:00
Brian Hackett
ea0cbd818d Bug 1334212 - Handle multiple contexts per runtime in compiled JIT code, r=h4writer.
--HG--
extra : rebase_source : 49c6a9d3b6b65dc221c2d23da332937fe9a5c175
2017-02-08 05:23:32 -07:00
ivica.bogosavljevic
72b92832e8 Bug 1331352 - "Implement MOVZ, MOVN and MOVF instruction in MIPS32/MIPS64 simulator" r=r
--HG--
extra : rebase_source : b7225ad9cd388005385b3ca9b3e4e3527cb7c84a
2017-01-16 04:13:00 +01:00
Tom Schuster
c11540e46e Bug 1331034 - Introduce CacheIRSpewer. r=h4writer 2017-02-08 14:46:17 +01:00
Jon Coppeard
e9517cb5dd Bug 1337365 - Fix testGCHeapPostBarriers jsapi test to have more standard API use r=bhackett 2017-02-08 13:35:50 +00:00
Jon Coppeard
22674bd5d8 Bug 1337450 - Simplify GC resets and aborts r=sfink 2017-02-08 13:35:49 +00:00
Brian Hackett
ad8fc51b1e Bug 1334194 - TraceLogger changes for multithreaded runtimes, r=h4writer.
--HG--
extra : rebase_source : 53ede317f566a6ed326685425190104b9ecdc2a8
2017-02-07 15:40:10 -07:00
Carsten "Tomcat" Book
d228eab012 Merge mozilla-central to mozilla-inbound 2017-02-08 11:30:50 +01:00
Carsten "Tomcat" Book
55606baab8 merge mozilla-inbound to mozilla-central a=merge 2017-02-08 11:30:00 +01:00
Jan de Mooij
db0cd4c822 Bug 1337561 - Fix executable page allocator to avoid fragmenting the JIT code space. r=luke
--HG--
extra : rebase_source : fe92d409f945d8f93116380b078b0c7e13ea81d7
2017-02-08 11:13:18 +01:00
Andrea Marchesini
8cf1cb8c2f Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 1 - tests, r=smaug 2017-02-08 10:18:32 +01:00
Wes Kocher
95ae929bd7 Merge m-c to autoland, a=merge
MozReview-Commit-ID: AY7XekuIyIs
2017-02-07 16:56:19 -08:00
Wes Kocher
672c83ed65 Merge inbound to central, a=merge
MozReview-Commit-ID: 5H1ZxSV0XuM
2017-02-07 16:33:31 -08:00
Brian Hackett
4f53741ced Bug 1336866 - Lock GC while getting heap growth factor in testing function, r=jonco. 2017-02-07 10:18:28 -07:00
Brian Hackett
adaab62494 Bug 1337324 - Fix GCManagedDeletePolicy so that it again tolerates being called off thread, r=jonco. 2017-02-07 10:15:24 -07:00
Brian Hackett
e009a2b331 Bug 1334837 - Add JSContext* to runtime for the active cooperatively scheduled thread, r=jandem,jonco,h4writer.
--HG--
extra : rebase_source : 2ceb22441a40570388d5704756000ee6dfe4ee8f
extra : histedit_source : ec04243fc5b5be99b592b064a5f5d10e03b8b6f9
2017-02-07 07:58:52 -07:00
Benjamin Bouvier
b68aabdda7 Bug 1337059: More checks for non-zero shifts on ARM; r=lth
MozReview-Commit-ID: 1C6OtcAdZsB

--HG--
extra : rebase_source : c67c50ae9a2944404b95e3c46cd1759a54807755
2017-02-07 17:38:30 +01:00
Benjamin Bouvier
d2e532a8b7 Bug 1337060: Release tmp after using it in emitSelect on x86; r=lth
MozReview-Commit-ID: CoteqTEylx

--HG--
extra : rebase_source : 51229d75e606d061d4d5da13d2cd7023373610f1
2017-02-07 17:00:47 +01:00
Sebastian Hengst
0264cdf6be Bug 1336311 - Change code comments with http://hg.mozilla.org to https://. r=gps
For components also referencing it in code, see the blockers of bug 1336311.

MozReview-Commit-ID: 4tUZ24HKBWy

--HG--
extra : rebase_source : ec16149f525b9b7eaca7f96f1369929d21497121
2017-02-07 17:52:56 +01:00
Sander Mathijs van Veen
5d6575bee4 Bug 1337367 - Postpone spilling bundles till after regalloc main loop r=bhackett
MozReview-Commit-ID: EeYZ0JWoXLh
2017-02-07 07:18:00 +01:00
André Bargull
8f62883c40 Bug 1335135: Replace Array.p.push with DefineDataProperty in self-hosted code to avoid calling inherited accessors. r=gandalf 2017-02-06 23:04:45 +02:00
André Bargull
0b4daefc2f Bug 1225031 - Part 9: Inline methods from TypedArrayMethods and then remove TypedArrayMethods. r=lth 2017-01-27 02:38:40 -08:00
Zibi Braniecki
b8f991e41b Bug 1335983 - Migrate nsCollation::CreateCollection to use LocaleService::GetAppLocale. r=jfkthame
MozReview-Commit-ID: 5GEnL7Kihpj

--HG--
extra : rebase_source : 413d880035b49da82db0530379425d31ac31a82e
2017-02-07 12:52:03 -08:00
André Bargull
0c656c5685 Bug 1225031 - Part 8: Rename TypedArrayCommon.h to TypedArrayObject-inl.h. r=lth
--HG--
rename : js/src/vm/TypedArrayCommon.h => js/src/vm/TypedArrayObject-inl.h
2017-01-11 13:19:13 -08:00
André Bargull
7d9f67822d Bug 1225031 - Part 7: Replace includes for TypedArrayCommon.h with TypedArrayObject.h. r=lth 2017-02-06 23:29:46 +02:00
André Bargull
9eb29deac1 Bug 1225031 - Part 6: Remove switch over TypedArray's underlying type from TypedArrayMethods. r=lth 2017-01-11 13:21:04 -08:00
André Bargull
947a462085 Bug 1225031 - Part 5: Move TypedArray.prototype.set from TypedArrayCommon to TypedArrayObject.cpp. r=lth 2017-01-11 13:21:18 -08:00
André Bargull
182d4e598f Bug 1225031 - Part 4: Use explicit types for parameters instead of relying on runtime assertions. r=lth 2017-01-11 13:21:50 -08:00
André Bargull
eb19838a3f Bug 1225031 - Part 3: Remove template parameter from TypedArrayMethods. r=lth 2017-01-11 13:22:15 -08:00
André Bargull
568cad30d2 Bug 1225031 - Part 2: Replace typedarray template parameter with template parameter over storage type. r=lth 2017-01-11 13:22:55 -08:00
André Bargull
eab8ac68b9 Bug 1225031 - Part 1: Directly use TypedArrayObject in ElementSpecific and remove no longer used typedefs. r=lth 2017-01-11 13:25:55 -08:00
Lars T Hansen
b42d179897 Bug 1337060 - wasm baseline, avoid register starvation for i64 select on x86. r=bbouvier
--HG--
extra : rebase_source : 980e8c867cbdd03228713a44ee657e8bea2d963d
extra : amend_source : 8e0a8c5e7ce6670b0904018eb1f647ffcb18dbcc
2017-02-07 13:04:21 +01:00
Hannes Verschore
0c83157ac6 Bug 1313869 - IonMonkey - Ensure ballast in ensureDefined, r=nbp 2017-02-07 15:05:38 +01:00
Benjamin Bouvier
aa6e2f446c Bug 1337059: Don't left-shift for null constant amounts on ARM; r=lth
MozReview-Commit-ID: 1NqJuSANKsr

--HG--
extra : rebase_source : 22377a0f02ef4cbcab8b86bd1305387ed7db24c8
2017-02-07 11:05:25 +01:00
Jan de Mooij
99ce69ec60 Bug 995069 - Use getrandom system call on Linux if available instead of opening /dev/urandom. r=cpeterson 2017-02-07 11:30:54 +01:00
Shu-yu Guo
613197451b Bug 1335996 - Make test for bug 1333946 more reliable. (r=me) 2017-02-06 21:22:35 -08:00
Phil Ringnalda
9e65b95fe1 Backed out changeset 4b8c006aff8d (bug 1334837) for Mac debug crashes [@ js::CurrentThreadIsIonCompiling()]
CLOSED TREE
2017-02-06 20:29:57 -08:00
Ryan VanderMeulen
b23c960609 Backed out changeset 6d4f210bd1c6 (bug 1330687) for bustage. 2017-02-06 19:45:30 -05:00
Jon Coppeard
2baa1f1249 Bug 1330687 - Fix ObjectValueMap::findZoneEdges. r=sfink 2017-02-06 19:37:42 -05:00
Brian Hackett
0051d4ae6b Bug 1334837 - Add JSContext* to runtime for the active cooperatively scheduled thread, r=jandem,jonco,h4writer.
--HG--
extra : rebase_source : 6cdc3cc3d50e1ab3863d56a4c588ca5663a2fb1c
2017-02-06 12:40:11 -07:00
Jan de Mooij
878781f731 Bug 1334933 part 4 - Fix mmap randomization on Linux32 to be within a fixed range to avoid conflicts. r=luke 2017-02-06 18:35:23 +01:00
Tom Schuster
bd692cc4e7 Bug 1330006 - Fix eslint no-unused-vars error. r=till 2017-02-06 18:15:07 +01:00
Tom Schuster
27297d935e Bug 1330006 - Fix eslint no-else-return and consistent-return errors. r=till 2017-02-06 18:15:07 +01:00
Hannes Verschore
0d0660a801 Bug 1286307: Include Architecture-arm in ExecutableAllocator, r=bustage ON CLOSED TREE 2017-02-06 17:48:42 +01:00
Hannes Verschore
fb1d206fcf Bug 1307651 - IonMonkey - Ensure ballast in jsop_rest, r=nbp 2017-02-06 17:18:18 +01:00
Hannes Verschore
9c5e86189f Bug 1286307: Double flush the instruction cache as workaround on the exynos7420 chipset, r=jandem 2017-02-06 17:11:16 +01:00
Jan de Mooij
83c8328d3a Bug 1335405 part 2 - Use SetPropIRGenerator for Baseline SETELEM stubs. r=h4writer 2017-02-06 16:25:05 +01:00
Jan de Mooij
484fe1e058 Bug 1335405 part 1 - Replace unused JOF_SET with JOF_PROPINIT and JOF_PROPSET. r=arai 2017-02-06 16:23:08 +01:00
Lars T Hansen
85a5e4d562 Bug 1313576 - wasm baseline, simple bounds check elimination. r=luke
--HG--
extra : rebase_source : 8dc5f0d326f82601972080e6cf979b5477762299
extra : source : 9856622d114628d81836f041ce09693c064acde9
extra : histedit_source : e3ee06eb6bb6d3627c72e8fac878819bcaf35e79
2017-01-18 20:42:43 +01:00
Jan de Mooij
2cbdd72968 Bug 1333000 part 5 - Annotate crash reports with the value we found instead of the TI magic word. r=ehoogeveen 2017-02-05 21:24:23 +01:00
Tom Schuster
4562413d8c Bug 1330006 - Fix various space related eslint errors. r=till 2017-02-05 13:10:16 +01:00
Tom Schuster
e0ca7bce95 Bug 1330006 - Fix space-infix-ops eslint. r=till 2017-02-05 13:10:16 +01:00
Jan de Mooij
a609ae147a Bug 1334933 - Randomize mmap address for executable code on posix platforms. r=luke 2017-02-05 08:41:33 +01:00
Phil Ringnalda
cde93160c2 Merge m-i to m-c, a=merge 2017-02-04 17:05:50 -08:00
Till Schneidereit
50b408fb96 Bug 1272697 - Part 1: Change ArrayBufferCopyData self-hosting intrinsic to take a start offset for the destination. r=lth
MozReview-Commit-ID: LroQFwbeAhi
2017-02-04 21:42:28 +01:00
Till Schneidereit
c381e3ad69 Bug 1336705 - Part 2: Add self-hosting intrinsics for resolving/rejecting Promises and adding reactions. r=arai
MozReview-Commit-ID: JFvaS5trzGA
2017-02-04 21:05:32 +01:00
Till Schneidereit
14b0837d40 Bug 1336705 - Part 1: Support creating and resolving Promises without resolve/reject functions. r=arai
Useful for internally-created Promises that'll only ever be resolved/rejected internally.

MozReview-Commit-ID: EdMmVoRQJgC
2017-02-04 20:25:35 +01:00
Tom Schuster
a16744c72e Bug 1331034 - Fix non-unified JS build. r=me 2017-02-04 13:27:14 +01:00
Tom Schuster
1acb65e9b6 Bug 1330006 - Fix the eslint single quotes error in self-hosted JS. r=till 2017-02-04 12:55:50 +01:00
Tom Schuster
f096742947 Bug 1331034 - Make JSONSpewer inherit from JSONPrinter. r=h4writer
--HG--
rename : js/src/jit/JSONSpewer.h => js/src/jit/JSONPrinter.h
2017-02-04 12:52:56 +01:00
Tom Schuster
9ab799f409 Bug 1331034 - Introduce a JSONPrinter class. r=h4writer
--HG--
rename : js/src/jit/JSONSpewer.cpp => js/src/jit/JSONPrinter.cpp
2017-02-04 12:52:47 +01:00
Jan de Mooij
a9aab9e5de Bug 1334933 - Allocate executable pages from a pre-reserved range. r=luke 2017-02-04 11:03:58 +01:00
Wes Kocher
b488ae9021 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GhBqmLvUpgQ
2017-02-03 17:04:18 -08:00
Brian Hackett
395f9cc88e Bug 1335643 - Fix bogus assert by marking atoms when serializing cross-zone saved frames, r=jonco.
--HG--
extra : rebase_source : eae1d6d19d0e2c2bede7b9c02914705ea6f2eef1
2017-02-02 13:29:29 -07:00
Jan de Mooij
7b0a921eed Bug 1333000 part 4 - Add more release asserts to TI code. r=jonco 2017-02-03 16:12:38 +01:00
Lars T Hansen
760c69453f Bug 1335068 - Break wasm globals out of the code segment. r=luke
--HG--
extra : rebase_source : a8aee83ebd5afded1fa7e206c027951d3b24cd7c
extra : source : d755ed03ad98fb3f9833ab9c606c0908b5a4bf88
2017-02-03 13:09:22 +01:00
Lars T Hansen
3a28f50da1 Bug 1333770 - Wasm baseline, remove remaining asm.js support. r=bbouvier
--HG--
extra : rebase_source : 8d7820de5c3f05128c32c368a876e9dd21411674
extra : source : 8f9d647407b267c652ae79e406c850105aa61f7c
2017-02-01 12:42:31 +01:00
Brian Hackett
dc06417de1 Bug 1335642 - Mark RegExp source atoms crossing zone boundaries in a better place, r=jonco.
--HG--
extra : rebase_source : b0e882c5adb063f736f803d1e87ff311f3bba426
extra : histedit_source : 0e30e42eaf50a63aa66663dc0837f7b47c1ebfbe
2017-02-02 13:18:52 -07:00
Jan de Mooij
c2a5de1997 Bug 1091978 - Make CacheIR AddProp stub support dynamic slot (re)allocation. r=evilpie 2017-02-03 13:40:11 +01:00
Carsten "Tomcat" Book
3860f49d11 Merge mozilla-central to mozilla-inbound 2017-02-03 13:32:38 +01:00
Carsten "Tomcat" Book
e95ecef88f merge mozilla-inbound to mozilla-central a=merge 2017-02-03 13:25:24 +01:00
Ted Campbell
045190ec7b Bug 1334268 - Fix regex escaping in js/src/old-configure. r=glandium
MozReview-Commit-ID: Dgyv3mFHeOb

--HG--
extra : rebase_source : 7b4df85565277055014fefaaf06cfbdc2c9950fa
2017-02-02 21:49:00 +01:00
Jan de Mooij
0e9af52963 Bug 1334356 - Don't attach a missing-property stub if extra warnings are enabled. r=h4writer 2017-02-03 11:39:54 +01:00
Jan de Mooij
76d4459138 Bug 1334590 - Fix QuoteString to not read a character out of bounds. r=nbp 2017-02-03 11:37:15 +01:00
Carsten "Tomcat" Book
1ce6a28f32 Merge mozilla-central to autoland 2017-02-03 13:33:41 +01:00
Wes Kocher
5157f17709 Merge m-c to inbound, a=merge
MozReview-Commit-ID: LWHPArc07kI
2017-02-02 16:45:08 -08:00
Wes Kocher
2dcccc4332 Merge inbound to central, a=merge
MozReview-Commit-ID: 9bhCPrArK3P
2017-02-02 16:39:24 -08:00
Wes Kocher
46047818b0 Backed out changeset 54d759872a2c (bug 1332466) for build failures a=backout
MozReview-Commit-ID: DsRWkEJpMPL
2017-02-02 16:05:55 -08:00
Boris Zbarsky
0041276515 Bug 1335654 part 4. Fix some CrossOriginXrayWrapper error reporting bits to follow the HTML spec for cross-origin objects. r=bholley 2017-02-02 12:48:49 -05:00
Boris Zbarsky
bcc1d4ab44 Bug 1335654 part 3. Implement actually throwing a SecurityError when cross-origin property accesses are denied. r=bholley 2017-02-02 12:48:49 -05:00
Boris Zbarsky
72ca8d1730 Bug 1335654 part 2. Change the deny() methods of our wrapper security policies to take a JSContext and a mayThrow boolean. r=bholley 2017-02-02 12:48:49 -05:00
Boris Zbarsky
52118e082c Bug 1335654 part 1. Propagate AutoEnterPolicy's mayThrow argument to the enter() methods of proxy handlers, so they know whether it's OK to throw some sort of custom exception or whether they should just silently deny. r=bholley,jandem 2017-02-02 12:48:49 -05:00
Hannes Verschore
65f3d3c7f2 Bug 1331414: Adding javascript.options.jit.full_debug_checks in about:config for people that want to use debug builds for surfing with less slowdown, r=jandem 2017-02-01 22:05:14 +01:00
Till Schneidereit
6e118a01eb Bug 1329845 - Part 2: Report missing properties on the self-hosting global during runtime initialization. r=shu
MozReview-Commit-ID: BEN3KmNnYie
2017-02-02 18:25:38 +01:00
Till Schneidereit
10f9ab3b74 Bug 1329845 - Part 1: Remove dead code referencing invalid property from Intl.js. r=shu
MozReview-Commit-ID: Luwit3QXgkK
2017-02-02 18:25:38 +01:00
Till Schneidereit
ef1805a237 Bug 1334507 - Mark long-running jstests as slow. r=sfink
MozReview-Commit-ID: L0lCzs2bIw6
2017-02-02 18:25:37 +01:00
Till Schneidereit
a466bef944 Bug 1334323 - Add support for logging long-running tests to the jstests harness. r=sfink
Adds two new parameters to jstests.py: --show-slow and --slow-test-threshold (defaulting to 5s).

MozReview-Commit-ID: AO6WAa4kLWy
2017-02-02 18:25:37 +01:00
Jon Coppeard
5c43c1ac3b Bug 1332745 - Split runtime-wide pointer udpates from per-zone updates in compacting GC r=sfink 2017-02-02 16:17:28 +00:00
André Bargull
d2f5081177 Bug 1335619 - Check for inherited accessors before extending the dense elements. r=jandem
--HG--
extra : rebase_source : 2c8aa060b6929252d1fb103d0c06517c5d37dec2
2017-02-01 06:09:13 -08:00
Sean Stangl
596376890b Bug 1332466 - Update VTune integration. r=sfink
--HG--
extra : rebase_source : d21b2ad8983dfa882fea7b57e75b2a215c1f041d
2017-02-02 15:40:00 -05:00
Brian Hackett
db7742c7f9 Bug 1325050 - Structure reorganization for multithreaded runtimes, r=jandem,jonco,h4writer,luke,lhansen,nbp.
--HG--
extra : rebase_source : 53c8fbae972fbf2f5e9428ce4d2965c8f86e942d
2017-02-02 12:12:43 -07:00
Luke Wagner
35ad8bf748 Bug 1334239 - Baldr: emit trap out-of-line paths in function import wrappers (r=bbouvier)
MozReview-Commit-ID: JViJfj2cZpG
2017-02-02 14:33:10 -06:00
Luke Wagner
1a04652efa Bug 1334239 - Baldr: re-enable SigIdDesc immediate optimization (r=bbouvier)
MozReview-Commit-ID: H8WJ8nandop
2017-02-02 14:33:07 -06:00
Luke Wagner
af9b83015c Bug 1334239 - Baldr: use word-size comparison for signature pointer (r=bbouvier)
MozReview-Commit-ID: 1XyLkUTWKm0
2017-02-02 14:33:04 -06:00
Tim Huang
72200b06f7 Bug 1319773 - Part 3: Making the WrapperFactory ignores the First Party Domain of the originAttributes when rewrapping the wrapper. r=mrbkap
--HG--
extra : rebase_source : 6013d2b7386f907af761098d006949ba07c163d7
2017-01-18 20:34:31 +08:00
Mike Hommey
9de779f50a Bug 1335666 - Remove @depends_when. r=chmanchester
In bug 1296530, we made @depends take a when argument, it can now replace
all uses of @depends_when.

--HG--
extra : rebase_source : d090723fcbf3a56e06bd9c2defc3301cac04d8b0
2017-02-01 16:25:29 +09:00
Wes Kocher
ad037c851d Merge m-c to autoland, a=merge
MozReview-Commit-ID: 8vGne2PAweU
2017-02-02 16:45:43 -08:00
Ted Campbell
e5f527ee00 Bug 1336216 - Fix JIT_SPEW_DIR on Win32. r=h4writer
MozReview-Commit-ID: IuxVFw6uBWh

--HG--
extra : rebase_source : 6bc1b3ec4d4f1bc8014e487026005390016914e1
2017-02-02 17:14:15 -05:00
Wes Kocher
8d4bb91470 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Am6M5iHxmAr
2017-02-01 16:31:23 -08:00
Wes Kocher
f2cb5e7c63 Merge inbound to m-c a=merge
MozReview-Commit-ID: EZrwvZH5DsY
2017-02-01 16:22:11 -08:00
Shu-yu Guo
e70be049ff Bug 1333946 - Make IonBuilder::processIterators transitive. (r=jandem) 2017-02-01 12:04:30 -08:00
Sebastian Hengst
ccd3fc9950 Backed out changeset 99587cc6ef23 (bug 1335536) for failing robocop testFilePicker on Android. r=backout 2017-02-01 19:08:22 +01:00
Jon Coppeard
a87699160e Bug 1325551 - Add MOZ_MUST_USE to ScriptSource r=jimb 2017-02-01 17:10:17 +00:00
Jon Coppeard
7787e5b10f Bug 1325551 - Check return value of ScriptSource::setSourceMapURL r=jimb 2017-02-01 17:10:09 +00:00
Andrea Marchesini
3b9eaa7785 Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 1 - tests, r=smaug 2017-02-01 17:13:08 +01:00
Jon Coppeard
cc9303a710 Bug 1335413 - Use mozilla array containers in GC statistics code r=sfink 2017-02-01 14:10:44 +00:00
Sebastian Hengst
d8b5080e39 Backed out changeset aeff5362812f (bug 1335413) for build bustage: unused variables i and j in Statistics.cpp at line 873 and 875. r=backout on a CLOSED TREE 2017-02-01 15:37:42 +01:00
Jon Coppeard
132610707a Bug 1335413 - Use mozilla array containers in GC statistics code r=sfink 2017-02-01 14:10:44 +00:00
Yury Delendik
8aac283225 Bug 1335489 - Fixes Debugger.Script lineCount getter behavior. r=luke
MozReview-Commit-ID: FO0ko60XNPF

--HG--
extra : rebase_source : 3fee2fbdc7701d73bbbca149e4becad3a789f62a
2017-01-31 12:55:32 -06:00
Steve Fink
fb4f8a33f8 Bug 1335592 bustage followup - missing colon
MozReview-Commit-ID: 6PN8ghHBUTL

--HG--
extra : rebase_source : e1b0a11afc00a401f33b9a29016b35ee6893ff5b
2017-01-31 17:59:10 -08:00
Steve Fink
e92962ff1e Bug 1335592 - Implement jstests.py --include and --exclude options for including and excluding files or directories, r=fitzgen
MozReview-Commit-ID: FQ3fVFU4yf9

--HG--
extra : rebase_source : 1f1399f14fa500ff57375c9623f53afbea32adce
2017-01-31 17:16:04 -08:00
Hannes Verschore
52a1bba47b Bug 1328133: IonMonkey - Ensure ballast in PrototypeHasIndexedProperty, r=nbp 2017-02-01 01:36:26 +01:00
David Major
67b6bcd31a Bug 905210: Use a member initializer list in VMFunction for better codegen with static data. r=nbp
MozReview-Commit-ID: 5XrMBkusm8p
2017-02-01 12:18:12 +13:00
Tooru Fujisawa
08175ab217 Bug 1320408 - Part 21: Change PromiseObject::onSettled to static method. r=jandem 2017-02-01 05:24:46 +09:00
Tooru Fujisawa
d255981a95 Bug 1320408 - Part 20: Change PromiseObject::resolve and PromiseObject::reject to static method. r=jandem 2017-02-01 05:24:46 +09:00
Tooru Fujisawa
1c5860338b Bug 1320408 - Part 19: Remove JSContext* parameter from ModuleObject::fixEnvironmentsAfterCompartmentMerge. r=jandem 2017-02-01 05:24:45 +09:00
Tooru Fujisawa
af7d50c76e Bug 1320408 - Part 18: Change StringObject::init to static method. r=jandem 2017-02-01 05:24:45 +09:00
Tooru Fujisawa
3252245d67 Bug 1320408 - Part 17: Change NativeObject::clearFlag to static method. r=jandem 2017-02-01 05:24:45 +09:00
Tooru Fujisawa
7c5cc718fa Bug 1320408 - Part 16: Change NativeObject::removeProperty to static method. r=jandem 2017-02-01 05:24:45 +09:00
Tooru Fujisawa
c957717def Bug 1320408 - Part 15: Change NativeObject::addDataProperty to static method. r=jandem 2017-02-01 05:24:45 +09:00
Tooru Fujisawa
7ac64c4771 Bug 1322069 - Add TryEmitter. r=shu 2017-01-28 20:54:25 +09:00
Nicolas B. Pierron
cc2bc31c6b Bug 1316078 part 5 - Add XDR off-thread decoder test cases. r=bhackett 2017-01-31 20:03:58 +00:00
Nicolas B. Pierron
bed272c792 Bug 1316081 part 3 - Expose a new JSAPI to incrementally encode bytecode when it is generated. r=shu 2017-01-31 20:03:57 +00:00
Nicolas B. Pierron
5d45eeacc4 Bug 1316081 part 2 - Add an XDRIncrementalEncoder instance on the ScriptSource. r=shu 2017-01-31 20:03:57 +00:00
Nicolas B. Pierron
64325df9bc Bug 1316081 part 1 - Add XDRIncrementalEncoder to replace delazified LazyScript in the encoded XDR buffer. r=shu 2017-01-31 20:03:57 +00:00
Nicolas B. Pierron
06fa404947 Bug 1334091 - XDR function use the sourceObject instead of the enclosingScript as argument. r=shu 2017-01-31 20:03:57 +00:00
Nicolas B. Pierron
16016eaa3b Bug 1316078 part 4 - Add a script decoder as a valid off-main-thread parse-task. r=bhackett 2017-01-31 20:03:57 +00:00
Nicolas B. Pierron
f6df4f6b59 Bug 1316078 part 3 - Use an ExclusiveContext instead of a JSContext in XDR functions. r=luke 2017-01-31 20:03:57 +00:00
Nicolas B. Pierron
71b2fe2212 Bug 1316078 part 2 - Make XDR traceLogger work on a different thread. r=h4writer 2017-01-31 20:03:57 +00:00
Nicolas B. Pierron
1351364780 Bug 1316078 part 1 - Extract redudant code into StartOffThreadParseTask. r=bhackett 2017-01-31 20:03:57 +00:00
Nicolas B. Pierron
71c9cc41df Bug 900784 part 0.11 - Instrument XDR Encode/Decode function with the TraceLogger. r=h4writer 2017-01-31 20:03:57 +00:00
André Bargull
1ed7640f55 Bug 1334573: Remove assertion that Intl.PluralRules.prototype is an Intl.PluralRules instance. r=Waldo
--HG--
extra : rebase_source : 39ba0048911ffa348a48b2be28cb9b375924a96e
2017-01-28 02:17:07 -08:00
Jon Coppeard
6dfb120d95 Bug 1335117 - Don't report that cells are gray in uncollected zones during incremental GC r=sfink 2017-01-31 10:15:17 +00:00
Hannes Verschore
1c3781d551 Bug 1329651: IonMonkey - Ensure ballast in EliminateDeadResumePointOperands, r=nbp 2017-01-31 02:34:32 +01:00
Jeff Walden
1103c67808 Bug 1332813 - Add tests verifying proper lookahead/modifier handling for various export declarations beginning with |export default async|. r=jonco
--HG--
extra : rebase_source : 0d9bf9881a9c89457908a2d62b26965801e2f87a
2017-01-12 15:33:33 -05:00
Shu-yu Guo
66a5c73864 Bug 1334314 - Fix debug mode OSR exception handling for IteratorClose trynotes. (r=jandem) 2017-01-30 13:36:43 -08:00
Emanuel Hoogeveen
bdb07b0aba Bug 1332594 - Part 2: Check AssemblerBuffer for corruption during realloc. r=jandem
--HG--
extra : rebase_source : fb8936ce4035fb5aac2894b084e6dd34e0a18085
2017-01-30 14:57:53 +01:00
Emanuel Hoogeveen
984d697b47 Bug 1332594 - Part 1: Simplify PageProtectingVector and make it initialize new buffers. r=jandem
--HG--
extra : rebase_source : 0d40361f6c38d8d276e893e0085d92aefe7ca932
2017-01-30 14:57:49 +01:00
Tom Schuster
91976c1c64 Bug 1334727 - CacheIR: SetProp array length IC. r=jandem 2017-01-30 20:48:38 +01:00
Benjamin Smedberg
ca77995f5d Bug 1333826 - Remove SDK_FILES, SDK_LIBRARY, and related is_sdk support in the build goop, r=mshal
MozReview-Commit-ID: 52vPyDXdFte

--HG--
extra : rebase_source : c3217730bb70eb7319152dd07536b12f49d6a597
2017-01-30 11:24:10 -05:00
Jan de Mooij
f75c5acde7 Bug 1334744 - Add a faster API for working with external strings. r=luke
--HG--
extra : rebase_source : 99b93a6cb0dde0960d1d4349498dd3e61fefec56
2017-01-30 19:07:54 +01:00
Steve Fink
7700214282 Bug 1264053 - Transfer DifferentProcess ArrayBuffers by copying, r=jorendorff
--HG--
extra : rebase_source : aed39bb2f92888af7626fd4c37df366cb1761bb8
extra : histedit_source : 4e231e7ef1b0b21d0c4bff2ebaa611e8b321e6d4
2017-01-19 14:02:40 -08:00
Tooru Fujisawa
9e08889388 Bug 1335049 - Fix bytecode documentation stack notation to match nuses/ndefs, and verify it in make_opcode_doc.py. r=jandem 2017-01-31 01:22:37 +09:00
Tooru Fujisawa
ba7dfbbb82 Bug 1335032 - Fix documentation comment for PNK_AWAIT. r=till 2017-01-31 01:22:36 +09:00
Tooru Fujisawa
021601c3c0 Bug 1335025 - Fix source notation of async function expression. r=till 2017-01-31 01:22:36 +09:00
Brian Hackett
8033ed29a8 Bug 1324002 - Mark atoms separately in each zone, r=jonco,mccr8,peterv.
--HG--
extra : rebase_source : 53cf4fa94f122a991c2adbd7bae3714de4391bb4
2017-01-30 06:31:47 -07:00
Jan de Mooij
136c6ae6ee Bug 1333690 part 3 - Port Baseline AddSlot stub to CacheIR. r=evilpie
--HG--
extra : rebase_source : 384d86345fe1a61065891a8fd0c293c772c3babe
2017-01-30 15:28:10 +01:00
André Bargull
0ac44cf89e Bug 1323782: Check iterated-flag before proceeding to fast path in Array.prototype.unshift. r=Waldo 2017-01-26 12:20:16 -08:00
Cameron McCormack
9c4ea5685f Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Jan de Mooij
5ed4988974 Bug 1333000 part 3 - Add more release asserts to TI code. r=jonco 2017-01-30 12:52:27 +01:00
Jon Coppeard
3ca0029737 Bug 1334433 - Add gray marking jsapi tests r=sfink 2017-01-30 11:24:10 +00:00
Lars T Hansen
bea7761589 Bug 1333392 - single-step profiling stacks are per-thread. r=jandem
--HG--
extra : rebase_source : bc0a2a2cab974b035c2f2d5f87a1ea56ec3f3140
2017-01-27 09:57:37 +01:00
Lars T Hansen
39550ffd9f Bug 1333436 - Guard against slicing onto the same shared memory block. r=bbouvier
--HG--
extra : rebase_source : b3bf18ad07c611a16c8d5f204e280ead4be39a2b
2017-01-24 18:20:01 +01:00
Lars T Hansen
ce9711ce02 Bug 1333436 - Add assertions about overlaps to the safe-for-races memcpy blocks. r=bbouvier
--HG--
extra : rebase_source : b5ffdbb03e85bc507bd1bdc0fb07dae50038d295
2017-01-24 18:39:21 +01:00
Florian Quèze
bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Nicholas Nethercote
b33fc679ac Bug 1334466 (part 2) - Merge Sampler and GeckoSampler. r=mstange.
There's no point having them as separate classes. This removes the need for
some virtual functions, too.

--HG--
extra : rebase_source : b2607ba2431ae043b6e015f4f435b0d660b02d71
2017-01-25 14:34:25 +11:00
Nicholas Nethercote
9fcc3d9c39 Bug 1328365 (part 2) - Rename ProfileGatherer::mTicker as mSampler. r=mstange.
It's a better name, given that the type is |GeckoSampler*|.

--HG--
extra : rebase_source : aaeb9d0c34f8650c2e034e334825c7e8d7c1e832
2017-01-25 16:09:06 +11:00
Cameron McCormack
7805d4716e Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Phil Ringnalda
b6c9ea587d Merge m-c to m-i 2017-01-28 13:12:17 -08:00
Phil Ringnalda
5d4072a82c Merge m-i to m-c, a=merge 2017-01-28 13:09:00 -08:00
Tom Schuster
48ee845dbd Bug 1333073 - Enable DataView Xray. r=bz 2017-01-28 21:52:45 +01:00
Tom Schuster
958ad51296 Bug 1333073 - Use ClassSpec for DataView. r=arai 2017-01-28 21:36:05 +01:00
Tom Schuster
fb7e4f2ec1 Bug 1333073 - Move DataViewObject to its own file. r=arai
--HG--
rename : js/src/vm/TypedArrayObject.cpp => js/src/builtin/DataViewObject.cpp
rename : js/src/vm/TypedArrayObject.h => js/src/builtin/DataViewObject.h
2017-01-28 21:33:29 +01:00
Tooru Fujisawa
f3c9396d1c Bug 1334799 - Handle stack value in correct order when leaving for-of loop from finally block. r=shu 2017-01-29 05:53:41 +09:00
Wes Kocher
4cf8a40463 Merge m-c to autoland, a=merge
MozReview-Commit-ID: J5UyPvoy89k
2017-01-27 16:39:56 -08:00
Wes Kocher
7cd28f7e5d Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Tom Ritter
9deebf811c Bug 1331939 Rename GlobalFlags to GlobalTypeImmediate to fix MinGW build r=luke
MozReview-Commit-ID: 1jXd3LUZ0dT

--HG--
extra : rebase_source : 7e1ef586f061a181c4e727a7036f568156987ce9
2017-01-24 15:00:42 -06:00
Gijs Kruitbosch
8faf5c08a8 Bug 1333164 - fix invalid references to mochitest stylesheet, r=erahm
MozReview-Commit-ID: 1Xxt72jYdm7

--HG--
extra : rebase_source : 15d854ffd6a142687fe5232149a0e370f1c058c2
2017-01-24 14:24:04 +00:00
Carsten "Tomcat" Book
a516a86a24 merge mozilla-inbound to mozilla-central a=merge 2017-01-27 10:42:54 +01:00
Nicholas Nethercote
f4ea404f5e Bug 1333296 (part 6) - Remove SPS references in js/. r=shu.
The most significant thing about this is that it changes some built-in function
names:
- enableSPSProfiling() -> enableGeckoProfiling()
- enableSPSProfilingWithSlowAssertions() -> enableGeckoProfiling(WithSlowAssertions)
- disableSPSProfiling() -> disableGeckoProfiling()
- {en,dis}ableSPSProfiling*() -> {en,dis}ableGeckoProfiling*()
- readSPSProfilingStack() -> readGeckoProfilingStack()

It also requires two filename changes:
- SPSProfiler.{h,cpp} -> GeckoProfiler.{h,cpp}

And some type name changes, e.g.:
- AutoSPSEntry -> AutoGeckoProfilerEntry
- SPSProfiler -> GeckoProfiler
- SPSInstrumentation -> GeckoProfilerInstrumentation
- SPSEntryMarker -> GeckoProfilerEntryMarker
- SPSBaselineOSRMarker -> GeckoProfilerBaselineOSRMarker

And various method/function/variable name changes, and some comment changes.

--HG--
rename : js/src/vm/SPSProfiler.cpp => js/src/vm/GeckoProfiler.cpp
rename : js/src/vm/SPSProfiler.h => js/src/vm/GeckoProfiler.h
extra : rebase_source : f681e2c3c269aec483bba9d60c7afc39776e14bf
2017-01-25 09:08:15 +11:00
Wes Kocher
65216b775b Merge m-c to inbound, a=merge
MozReview-Commit-ID: 5CIctUOTFma
2017-01-26 16:32:26 -08:00
Wes Kocher
8fa84ca644 Merge inbound to central, a=merge
MozReview-Commit-ID: BZgxmhS6OtM
2017-01-26 16:19:05 -08:00
Jan de Mooij
1ea46b80dd Bug 1330593 part 1 - Allow non-flat external strings. r=jwalden,bz 2017-01-26 18:40:41 +01:00
Tom Schuster
005e29fb24 Bug 1333143 - Self-host Object.prototype.valueOf. r=till 2017-01-26 22:12:35 +01:00
André Bargull
3eadc5827f Bug 1331473 - Part 2: Remove the undefined check in Intl object finalizers which was only needed for Intl prototypes. r=Waldo 2017-01-23 08:51:25 -08:00
André Bargull
b47e97d9ca Bug 1332604 - Part 1: Change Intl prototypes to plain objects. r=Waldo 2017-01-26 04:56:40 -08:00
Jon Coppeard
8558a4af6f Bug 1332773 - Don't trace things in other runtimes in the pre barrier verifier r=sfink 2017-01-26 11:44:17 +00:00
Lars T Hansen
f5de4ebb36 Bug 1333694 - Implement Atomics[Symbol.toStringTag]. r=shu
--HG--
extra : rebase_source : af0cbda72d1d801abe2cb185238e71a376f3d2ed
extra : amend_source : 332746f5c967836a5cd07d6fbeccf07c2426c1d9
2017-01-25 11:13:28 +01:00
Phil Ringnalda
39e57631eb Merge m-c to m-i 2017-01-25 20:48:39 -08:00
Phil Ringnalda
7da3c9dcf4 Merge autoland to m-c, a=merge 2017-01-25 20:37:29 -08:00
David Major
ce8f6a7e21 Bug 1333939 - Remove -Wno-invalid-constexpr from clang-cl config. r=froydnj
The constexpr warning no longer appears in VS2015 headers.

I spot-checked a few other warnings in the list, and we still need to keep them.

Notably, we still need -Wno-ignored-attributes, but now for a different reason!

MozReview-Commit-ID: LMqJX1KlAra

--HG--
extra : rebase_source : c1ad696f19975a1252a9bf2b01771530183c6c14
2017-01-26 13:26:01 +13:00
Tooru Fujisawa
a6842dfb5b Bug 1332881 - Handle stack value in correct order when leaving loop and try-finally. r=shu 2017-01-26 08:37:24 +09:00
Ted Campbell
4fbf9693aa Bug 1332333 - Remove EffectlessLookupProperty. r=jandem
--HG--
extra : rebase_source : 4c0255db2f13175d4e6bb4af36256303981ad2bc
2017-01-24 18:07:54 -05:00
Ted Campbell
e694d95717 Bug 1332333 - Remove uses of EffectlesslyLookupProperty. r=jandem
--HG--
extra : rebase_source : 077ae1f08d0a0067e6903f5ab26f8c0a025dc17a
2017-01-24 18:07:14 -05:00
André Bargull
b7c42981da Bug 1328386 - Part 9: Relax error message in jit-test file so the test doesn't fail when the decompiler bails out. rs=jandem 2017-01-25 08:59:03 -08:00
André Bargull
88cc4e2564 Bug 1328386 - Part 8: Store internals object for Intl objects in internal slot instead of using a WeakMap. r=Waldo 2017-01-23 08:33:51 -08:00
André Bargull
23189400e5 Bug 1328386 - Part 7: Implement legacy constructor semantics for Intl.DateTimeFormat per ECMA-402, 4th edition. r=Waldo 2017-01-23 08:33:47 -08:00
André Bargull
26c8fa8110 Bug 1328386 - Part 6: Implement legacy constructor semantics for Intl.NumberFormat per ECMA-402, 4th edition. r=Waldo 2017-01-23 08:33:43 -08:00
André Bargull
8bfe298d5f Bug 1328386 - Part 5: Add Intl.[[FallbackSymbol]] to support ECMA402, 4th edition legacy constructor semantics. r=Waldo 2017-01-23 08:33:40 -08:00
André Bargull
f74a91d7d6 Bug 1328386 - Part 4: No longer allow to initialize arbitrary objects as Intl.Collator instances per ECMA-402, 2nd edition. r=Waldo 2017-01-23 08:33:37 -08:00
André Bargull
46a0a67dba Bug 1328386 - Part 3: Ensure PluralRules methods are always called with actual PluralRules instances. r=Waldo 2017-01-23 08:33:34 -08:00
André Bargull
ae381592c6 Bug 1328386 - Part 2: Add a NativeObject subclass for each Intl object. r=Waldo 2017-01-23 08:33:30 -08:00
André Bargull
9d46c8708d Bug 1328386 - Part 1: Remove boilerplate code and add comments in Intl code. r=Waldo 2017-01-23 08:33:27 -08:00
Jon Coppeard
87e23bd975 Bug 1313897 - Suppress assertion about non-empty UnboxedLayout list if GC cells were leaked at shutdown r=sfink 2017-01-27 10:21:58 +00:00
Carsten "Tomcat" Book
dca07ffc3a merge mozilla-central to mozilla-inbound 2017-01-27 11:16:17 +01:00
Florian Quèze
be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Lars T Hansen
5b550f83b7 Bug 1321521 - fix include order. r=me
--HG--
extra : rebase_source : 2cef7cf8a0f39e9ac4d9dcd1a8dead4f782da6b5
2017-01-27 09:47:04 +01:00
Lars T Hansen
afed35b4bb Bug 1321521 - register set adjustments for 'none' platform, r=me
--HG--
extra : rebase_source : ba53f9f102a317403ae7a8459b563c763bc88db6
extra : histedit_source : 828a56fcc8353fedb1efb1a440f365e64134eb47
2017-01-27 09:14:26 +01:00
Lars T Hansen
24993e240d Bug 1333770 - wasm baseline, remove dead asm.js support. r=luke
--HG--
extra : rebase_source : 44c1892b1ac965192d3f55165c33e21a89a57d65
extra : histedit_source : 1c6081344d48e0fd0e4e102ffe82287e66a0c91b
2017-01-27 09:13:18 +01:00
Masatoshi Kimura
f183df9557 Bug 1325299 - Disable untested code path in Stopwatch.(h|cpp). r=Yoric
This patch temporarily disables multiprocessor support because tests fail on Win7 VM and we would not like to block other bugs until we investigate the formerly untested code path.

MozReview-Commit-ID: B2ajBK4rrrd

--HG--
extra : rebase_source : b22e11fc79f3a6a210728cd419d6d329bf9fa23c
2017-01-21 14:20:45 +09:00
Wes Kocher
18e735dcef Merge m-c to inbound, a=merge
MozReview-Commit-ID: EfMOcZbAiSe
2017-01-27 16:39:29 -08:00
Yury Delendik
e07bdc0fa2 Bug 1334678 - Adds virtual destructor for BreakpointSite. r=luke
MozReview-Commit-ID: 2pqOHiFWVVP
2017-01-27 16:44:15 -06:00
Boris Zbarsky
ecfa536932 Bug 1332713 part 3. Implement a version of XrayAwareCalleeGlobal that works for specialized getters. r=bholley
The problem is that JSJitGetterInfo doesn't contain a callee.  So we can't use
xpc::XrayAwareCalleeGlobal in a specialized getter, because we don't have our
callee function available.
2017-01-27 18:53:36 -05:00
Nathan Froyd
3a389c7c98 Bug 1312085 - part 2 - remove XP conditionalization for JS mutexes; r=fitzgen
Now that we don't support XP, we can use InitializeCriticalSectionEx
explicitly, rather than calling it through a function pointer.
2017-01-27 17:10:18 -05:00
Nathan Froyd
9b4a7e294c Bug 1312085 - part 1 - remove the XP fallback for JS condition variables; r=fitzgen
We no longer need the complicated XP fallback or the check for the
complicated XP fallback; we can use the Vista+ APIs directly.
2017-01-27 17:10:18 -05:00
Yury Delendik
0d62f886e9 Bug 1330370 - Adds breakpoint and step support for Web Assembly. r=luke, shu
MozReview-Commit-ID: EWAfAAhoTDM
2017-01-27 11:31:01 -06:00
Yury Delendik
f86ff90f2a Bug 1330370 - Extracts JSScript specific BreakpointSite code. r=shu
Adds JSBreakpointSite class, which is inherited from generic BreakpointSite.
This will allow adding of wasm specific BreakpointSite/Breakpoint.

MozReview-Commit-ID: 5zAcDu1XQ7N
2017-01-27 11:30:33 -06:00
Yury Delendik
e2785c2d68 Bug 1330370 - Implements wasm Debug.Script offset-to-location methods. r=luke
Implements necessary Debug.Script methods to resolve wasm bytecode offset
to the generated wasm source line number and back. Also implements related
startLine and lineCount script properties.

The generated text source map entries are extended to contain "end of function"
location, which allows to have at least one breakpoint per function and
allows to properly show location on the leave frame event.

MozReview-Commit-ID: 6RFi62GUhXI
2017-01-27 11:30:00 -06:00
Wes Kocher
29d8cca0b9 Backed out changeset ecd98c460060 (bug 1332594) for valgrind failures a=backout CLOSED TREE
MozReview-Commit-ID: 9Pok1fFe8KK
2017-01-27 12:24:11 -08:00
Hannes Verschore
55d272df10 Bug 1330330: IonMonkey: Only load 32bits for ResumeFromException::kind instead of 64bits on x64, r=nbp 2017-01-27 20:03:46 +01:00
Emanuel Hoogeveen
ad4dd253d6 Bug 1332594 - Check for poison and other corruption during realloc. r=jandem 2017-01-20 08:05:00 -05:00
Hannes Verschore
39a2606618 Bug 1332594: TraceLogger: Get --disable-trace-logging working again, r=bbouvier 2017-01-27 19:32:38 +01:00
Hannes Verschore
cfb64637e2 Bug 1334426: TraceLogger: Silently fail the logger when not-recoverable, r=bbouvier 2017-01-27 19:32:36 +01:00
Hannes Verschore
8f447d8b5a Bug 1334129: TraceLogger - On destruction remove the logger from the mainlogger list, r=bbouvier 2017-01-27 18:01:36 +01:00
Tooru Fujisawa
ddd36fec56 Bug 1332245 - Move nsScriptError from js/xpconnect to dom/bindings. r=bz
--HG--
rename : js/xpconnect/idl/nsIScriptError.idl => dom/bindings/nsIScriptError.idl
rename : js/xpconnect/src/nsScriptError.cpp => dom/bindings/nsScriptError.cpp
rename : js/xpconnect/src/nsScriptErrorWithStack.cpp => dom/bindings/nsScriptErrorWithStack.cpp
2017-01-28 00:42:47 +09:00
Jan de Mooij
9c2226a80d Bug 1333690 part 2 - Remove now-dead code related to ReceiverGuard. r=bhackett 2017-01-27 16:19:35 +01:00
André Bargull
35c4dc4746 Bug 1282104 - Part 2: Remove dense fast path in Array.prototype methods which didn't check for inherited accessors. r=jandem 2017-01-26 12:19:01 -08:00
André Bargull
4621cb1433 Bug 1282104 - Part 1: Remove dead code in jsarray.cpp and avoid implicit type coercion from double to uint32. r=jandem 2017-01-25 05:08:51 -08:00
Christian Holler
4dc29b3b09 Bug 1332361 - Expose TestingFunctions to content in FUZZING builds. r=jandem.
MozReview-Commit-ID: HA0oodPzAeS

--HG--
extra : rebase_source : 896f4d9465b8bd2a5655dec63165f893b0f0f5df
2017-01-25 13:39:54 +01:00
Carsten "Tomcat" Book
ff34e66ec7 Merge mozilla-central to autoland 2017-01-25 13:52:18 +01:00
Florian Quèze
0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Christian Holler
2e12913349 Bug 1333252 - Move FUZZING definition from toolkit to js. r=glandium
MozReview-Commit-ID: GjmfY5GjXJc

--HG--
extra : rebase_source : 9af2364425758bd00108fdcd454f0f8c69c98ce8
2017-01-24 00:40:38 +01:00
Tom Schuster
4d206d61cf Bug 1332946 - CacheIR: IC for function.length. r=jandem 2017-01-24 19:47:48 +01:00
Lars T Hansen
f7dda0c14d Bug 1333059 - use sysconf(_SC_NPROCESSORS_CONF) for numcores on ARM systems that have it. r=luke
--HG--
extra : rebase_source : 6b73aef7bb657bff3dfede9f6f7e51f60cabe7cd
extra : amend_source : 8679d1c2f29f9d4c8c978fe9961db611f80d5310
2017-01-23 17:28:24 +01:00
Lars T Hansen
324bb24be9 Bug 1316803 - Remove obsolete comments. r=me DONTBUILD 2017-01-24 11:34:43 +01:00