Commit Graph

54810 Commits

Author SHA1 Message Date
Nick Fitzgerald
572e32d2ad Bug 1274867 - Fix OOM handling of js_realloc in SourceCompressionTask::work; r=jimb 2016-05-23 19:39:27 -07:00
Phil Ringnalda
f89be2268a Back out changeset 16a18faa5363 (bug 1273955) for causing frequent timeouts in browser_wa_destroy-node-01.js
CLOSED TREE
2016-05-23 18:59:27 -07:00
Hannes Verschore
bacbd47caf Bug 1256324: IonMonkey - Fix bailAfter for opt builds, r=nbp 2016-05-23 17:46:02 +02:00
Hannes Verschore
eec8f0fdcf Bug 1256324: IonMonkey - Add bailAfter debug function, r=efaust 2016-05-23 17:19:23 +02:00
Hannes Verschore
48421d8412 Bug 1273855: TraceLogger - Include PID in the log names in order to support browser with e10s, r=bbouvier 2016-05-23 17:19:11 +02:00
Nicolas B. Pierron
92bd2f2d95 Bug 1273955 - Bump the bytecode size limit of Ion to account for increased size of JSScript code length. r=h4writer 2016-05-23 14:27:10 +00:00
Nicolas B. Pierron
9612d6cab8 Bug 1261826 part 10.1 - Baseline: Increment counter located at the entry point of a script. r=bhackett 2016-05-23 14:21:51 +00:00
Nicolas B. Pierron
976d4649f4 Bug 1274048 - Code Coverage: Fix assertion to account for empty switch statements. r=bhackett 2016-05-23 14:19:42 +00:00
Eddy Bruel
f4e8d4729f Bug 1271653 - Whitespace fixes;r=me 2016-05-23 10:40:08 +02:00
Eddy Bruel
79f966d7e2 Bug 1271653 - Various API fixes;r=jimb 2016-05-23 09:43:27 +02:00
Eddy Bruel
da4d05063e Bug 1271653 - Implement a C++ interface for call/apply;r=jimb 2016-05-23 09:03:18 +02:00
Eddy Bruel
620cc262db Bug 1271653 - Fix a bug in THIS_DEBUGOBJECT;r=jimb 2016-05-23 08:42:54 +02:00
Eddy Bruel
aaf5d65167 Bug 1271653 - Implement a C++ interface for defineProperties;r=jimb 2016-05-23 08:31:33 +02:00
Eddy Bruel
3e9a75c40f Bug 1271653 - Implement a C++ interface for deleteProperty;r=jimb 2016-05-23 08:21:48 +02:00
Eddy Bruel
c98b51abce Bug 1271653 - Implement a C++ interface for defineProperty;r=jimb 2016-05-23 08:20:11 +02:00
Eddy Bruel
d042521264 Bug 1271653 - Implement a C++ interface for getOwnPropertyDescriptor;r=jimb 2016-05-23 07:51:56 +02:00
Eddy Bruel
232cf696ba Bug 1271653 - Implement a C++ interface for getOwnPropertyNames/Symbols;r=jimb 2016-05-23 07:43:35 +02:00
Eddy Bruel
4c8266c3b3 Bug 1271653 - Implement a C++ interface for preventExtensions/seal/freeze;r=jimb 2016-05-23 07:34:51 +02:00
Heiher
8dc819460d Bug 1272948 - IonMonkey: MIPS: Trap on integer divide by zero. r=bbouvier
---
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 38 ++++++++++++++--------
 js/src/jit/mips-shared/LIR-mips-shared.h           |  6 ++++
 2 files changed, 31 insertions(+), 13 deletions(-)
2016-05-23 10:14:00 +08:00
Morgan Phillips
7f8892b27f Bug 1265136 - Modify Date.parse's handling of two digit years to improve cross-compatibility; r=Waldo
--HG--
extra : rebase_source : 06add939e56d61394e05903c2e43049b1f831e00
2016-05-20 13:01:01 -07:00
Jon Coppeard
96a387c2b5 Bug 1274065 - Fix possible assertion failure in pre-barrier verifier r=terrence 2016-05-22 09:28:20 +01:00
Sebastian Hengst
bcf24386ee Backed out changeset 6e043a8ce335 (bug 996060) for cgc test failure in testCall.js. r=backout 2016-05-22 00:00:13 +02:00
Sebastian Hengst
14189e51f1 Backed out changeset d53726702252 (bug 996060) 2016-05-22 00:00:03 +02:00
Sebastian Hengst
04ea41e959 Backed out changeset 932ebd50f385 (bug 996060) 2016-05-21 23:59:55 +02:00
Nick Fitzgerald
59c05a06a8 Bug 1273647 - Elucidate reference counting of SharedImmutableStringsCache; r=jimb 2016-05-21 13:27:08 -07:00
Nick Fitzgerald
aaa95cb85e Bug 1269451 - Part 6: Remove the unused compressedHash member from SourceCompressionTask; r=jimb 2016-05-21 13:27:07 -07:00
Nick Fitzgerald
a1aed1753f Bug 1269451 - Part 5: SourceCompressionTask should use UniquePtr rather than raw pointers; r=jimb 2016-05-21 13:27:07 -07:00
Nick Fitzgerald
3bb22ebfcb Bug 1269451 - Part 3: Stop doing DEBUG-only hashing to catch incorrect mutations to SharedImmutableString's chars; r=jimb
DEBUG tests keep timing out with these enabled.
2016-05-21 13:27:07 -07:00
Nick Fitzgerald
728d4fed84 Bug 1269451 - Part 1: SharedImmutableString should hold a pointer to the cache's entry; r=jimb
This commit changes SharedImmutableString from holding its cache's entry's chars
and length directly, to holding a pointer to its cache's entry. This allows us
to avoid a table lookup and the full string hashing that entails in the
destructor.
2016-05-21 13:27:07 -07:00
Nick Fitzgerald
3883b80862 Bug 1269451 - Part 0: Add an extra indirection around entries in the SharedImmutableStringsCache; r=jimb 2016-05-21 13:27:07 -07:00
Jan de Mooij
56733050cb Bug 1261308 - Ensure Ion optimizes getgname constants exactly like Baseline. r=shu
--HG--
extra : rebase_source : 73f2472dbbeadd70064029fe2cf308ee54c0dd13
2016-05-21 20:08:54 +02:00
Jan de Mooij
69cdac665d Bug 1271609 - Make ReleaseAllJITCode call Zone::discardJitCode instead of duplicating it. r=jonco
--HG--
extra : rebase_source : fb6f46e2c85b9696876bf2d4d90a83e95bfdc369
2016-05-21 19:54:04 +02:00
Nick Fitzgerald
6cb53b2637 Bug 996060 - Follow up: Add missing "js::" namespace qualification on a CLOSED TREE; r=me 2016-05-21 10:40:17 -07:00
Nick Fitzgerald
4777b6ccda Bug 996060 - Part 2: Add a testing function and jit test for pending exception's stacks; r=sfink 2016-05-21 10:15:25 -07:00
Nick Fitzgerald
d83fd413a3 Bug 996060 - Part 1: Save a stack on JSContext::setPendingException; r=sfink
This commit captures the JS stack in `JSContext::setPendingException` and
exposes a new JSAPI function for getting the stack:
`JS::GetPendingExceptionStack`. This stack is cleared out when the pending
exception is cleared.
2016-05-21 10:15:24 -07:00
Jan de Mooij
d54ca15369 Bug 1269319 followup - Don't swap an entry with itself to avoid Variant self assignment. r=bustage
--HG--
extra : rebase_source : 0bf8331f4aba57502bbff07df478c1aeb91c2fc6
2016-05-21 18:08:30 +02:00
Tooru Fujisawa
02977947a6 Bug 1274393 - Check the pattern syntax again when adding unicode flag to RegExp object in RegExp constructor. r=till 2016-05-22 00:42:10 +09:00
Heiher
132da39aba Bug 1272934 - IonMonkey: MIPS: Implement WasmTruncateToInt32. r=bbouvier
---
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 96 ++++++++++++++++++++++
 js/src/jit/mips-shared/CodeGenerator-mips-shared.h |  4 +
 2 files changed, 100 insertions(+)
2016-05-21 23:05:17 +08:00
Heiher
a0aa401368 Bug 1272934 - IonMonkey: MIPS: Implement Assembler::as_truncld/as_truncls. r=arai
---
 js/src/jit/mips-shared/Assembler-mips-shared.cpp | 12 ++++++++++++
 js/src/jit/mips-shared/Assembler-mips-shared.h   |  2 ++
 2 files changed, 14 insertions(+)
2016-05-21 23:05:16 +08:00
Heiher
e1290d9b2a Bug 1272934 - IonMonkey: MIPS: Implement Assembler::as_ctc1/as_cfc1. r=arai
---
 js/src/jit/mips-shared/Assembler-mips-shared.cpp | 12 ++++++++++++
 js/src/jit/mips-shared/Assembler-mips-shared.h   | 13 +++++++++++++
 2 files changed, 25 insertions(+)
2016-05-21 23:05:14 +08:00
Jan de Mooij
eb2ea5c544 Bug 1269319 - Make AlignedStorage/AlignedStorage2 non-copyable to fix strict aliasing issues. r=Waldo 2016-05-19 20:57:36 +02:00
Benjamin Bouvier
12b06802d9 Bug 1272640: Implement wasm copysign opcode; r=sunfish
MozReview-Commit-ID: GT0Znmk0Dkl

--HG--
extra : rebase_source : 205140ab0f22c82d29d4a5a35c707c451ee7caa2
2016-05-18 19:03:57 +02:00
Benjamin Bouvier
71c7696397 Bug 1272640: Implement wasm opcodes trunc/nearestint; r=sunfish
MozReview-Commit-ID: 5g9KwkTM36k

--HG--
extra : rebase_source : 1bcf9863bb895fb7d7ddf44fb2704db58ed4df4b
2016-05-19 15:48:29 +02:00
Benjamin Bouvier
3122bc0169 Bug 1274224: Move back the win64 special case to math_sin_uncached; r=arai
MozReview-Commit-ID: BdQ7xxGYw0w

--HG--
extra : rebase_source : 4915197738373792347795c80bf36b055a4f6cdc
2016-05-19 11:57:27 +02:00
Benjamin Bouvier
1071ba90e0 Bug 1271010: Remove AsmJSInternalCallee; r=luke
MozReview-Commit-ID: KHmDlCFflm

--HG--
extra : rebase_source : 438101e8797a29bba422b9747a8ce2cd023e57b9
2016-05-10 16:11:51 +02:00
Benjamin Bouvier
2fd6ea5137 Bug 1273483: Look up the correctly typed SIMD template object when inlining a SIMD constructor; r=nbp
MozReview-Commit-ID: CwWoXbUcDb6

--HG--
extra : rebase_source : 61fb7039539a0d40f70a5eb02f4aaaf5d310c53f
2016-05-19 12:49:23 +02:00
Steve Fink
e9c0a2efe8 Bug 1273639 - Fix nonunified spidermonkey builds, r=terrence
--HG--
extra : rebase_source : 4229d82148050e0970f4d269b2357bc7511ead4e
2016-05-19 11:27:57 -07:00
Terrence Cole
e912be9216 Bug 1232417 - Followup to fix unexpected S bustage on a CLOSED TREE; r=meow 2016-05-19 12:12:40 -07:00
Terrence Cole
b7949d7392 Bug 1232417 - Use a Variant to represent the CrossCompartmentWrapperMap key; r=jonco
--HG--
extra : rebase_source : 542db862370ad8298d066253f5f56fddcd0e575e
2015-12-14 13:28:26 -08:00
Nicolas B. Pierron
5404434320 Bug 1263645 - Distinguish code coverage usages, and disable it by default in the interpreter. r=jandem 2016-05-19 13:28:35 +00:00