Commit Graph

52434 Commits

Author SHA1 Message Date
Jon Coppeard
2b2b52b6ca Bug 1274065 - Fix possible assertion failure in pre-barrier verifier r=terrence 2016-05-22 09:28:20 +01:00
Sebastian Hengst
e94cdb56c3 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
cc1ca20a02 Backed out changeset d53726702252 (bug 996060) 2016-05-22 00:00:03 +02:00
Sebastian Hengst
bf25088df5 Backed out changeset 932ebd50f385 (bug 996060) 2016-05-21 23:59:55 +02:00
Nick Fitzgerald
9f79863810 Bug 1273647 - Elucidate reference counting of SharedImmutableStringsCache; r=jimb 2016-05-21 13:27:08 -07:00
Nick Fitzgerald
c4d1856093 Bug 1269451 - Part 6: Remove the unused compressedHash member from SourceCompressionTask; r=jimb 2016-05-21 13:27:07 -07:00
Nick Fitzgerald
3f78977166 Bug 1269451 - Part 5: SourceCompressionTask should use UniquePtr rather than raw pointers; r=jimb 2016-05-21 13:27:07 -07:00
Nick Fitzgerald
c9e0fbd7f1 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
9704876b60 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
5b541075b2 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
90e04d7d90 Bug 1261308 - Ensure Ion optimizes getgname constants exactly like Baseline. r=shu 2016-05-21 20:08:54 +02:00
Jan de Mooij
4f7e63aff8 Bug 1271609 - Make ReleaseAllJITCode call Zone::discardJitCode instead of duplicating it. r=jonco 2016-05-21 19:54:04 +02:00
Nick Fitzgerald
03d64c9b52 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
39c7d5e6ef 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
e57b0b4195 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
cac751e8e9 Bug 1269319 followup - Don't swap an entry with itself to avoid Variant self assignment. r=bustage 2016-05-21 18:08:30 +02:00
Tooru Fujisawa
031476b93f 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
b3bd2c540e 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
8e56129d3b 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
a9169bedbd 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
b94199ed72 Bug 1269319 - Make AlignedStorage/AlignedStorage2 non-copyable to fix strict aliasing issues. r=Waldo 2016-05-19 20:57:36 +02:00
Benjamin Bouvier
ae91f8f313 Bug 1272640: Implement wasm copysign opcode; r=sunfish
MozReview-Commit-ID: GT0Znmk0Dkl
2016-05-18 19:03:57 +02:00
Benjamin Bouvier
679a367c8a Bug 1272640: Implement wasm opcodes trunc/nearestint; r=sunfish
MozReview-Commit-ID: 5g9KwkTM36k
2016-05-19 15:48:29 +02:00
Benjamin Bouvier
7253b33a93 Bug 1274224: Move back the win64 special case to math_sin_uncached; r=arai
MozReview-Commit-ID: BdQ7xxGYw0w
2016-05-19 11:57:27 +02:00
Benjamin Bouvier
79b62712ae Bug 1271010: Remove AsmJSInternalCallee; r=luke
MozReview-Commit-ID: KHmDlCFflm
2016-05-10 16:11:51 +02:00
Benjamin Bouvier
708a9c0a49 Bug 1273483: Look up the correctly typed SIMD template object when inlining a SIMD constructor; r=nbp
MozReview-Commit-ID: CwWoXbUcDb6
2016-05-19 12:49:23 +02:00
Steve Fink
50c2f28940 Bug 1273639 - Fix nonunified spidermonkey builds, r=terrence 2016-05-19 11:27:57 -07:00
Terrence Cole
3c4b0a7119 Bug 1232417 - Followup to fix unexpected S bustage on a CLOSED TREE; r=meow 2016-05-19 12:12:40 -07:00
Terrence Cole
5d2022f797 Bug 1232417 - Use a Variant to represent the CrossCompartmentWrapperMap key; r=jonco 2015-12-14 13:28:26 -08:00
Nicolas B. Pierron
e9a016cd19 Bug 1263645 - Distinguish code coverage usages, and disable it by default in the interpreter. r=jandem 2016-05-19 13:28:35 +00:00
Tooru Fujisawa
9f220a0fc8 Bug 1268034 - Part 4: Delay modifying global constructor/prototype slots for classes other than Function and Object. r=jorendorff 2016-05-19 20:47:07 +09:00
Tooru Fujisawa
78a7d1ea9d Bug 1268034 - Part 3: Create CreateArrayFromBuffer function on demand. r=jorendorff 2016-05-19 20:47:07 +09:00
Tooru Fujisawa
dac378cc6e Backed out changeset d31171af48e4 (bug 1268034) 2016-05-19 20:47:07 +09:00
Eddy Bruel
59a4a8ea0e Bug 1271653 - Refactor isExtensible/isSealed/isFrozen;r=jimb 2016-05-19 13:26:27 +02:00
Jon Coppeard
209a627f2f Bug 1273432 - Fix off-by-one string length assertion r=jandem 2016-05-18 19:03:39 +01:00
Jon Coppeard
3564f25922 Bug 1273908 - Refactor GC to make it easier to add new kinds of GC thing r=terrence 2016-05-19 10:12:54 +01:00
Lars T Hansen
ce96046311 Bug 1227207 - throw correct error type. r=jorendorff 2016-05-18 11:51:33 +02:00
Jan de Mooij
f97f9e1c2f Bug 1273828 - Optimize JS::GetScriptedCallerGlobal. r=luke 2016-05-19 09:15:49 +02:00
Phil Ringnalda
f9d3b0566c Back out 66aec66b11b4 (bug 1246743) for frequent e10s 10.10 mochitest-media crashes
CLOSED TREE
2016-05-18 21:31:38 -07:00
Wes Kocher
d27aab4fd7 Backed out changeset e113053408b6 (bug 1273432) for winxp jit test failures CLOSED TREE 2016-05-18 15:25:21 -07:00
Steve Fink
133cbc91d9 Bug 1273639 - Add a nonunified spidermonkey build, r=terrence
MozReview-Commit-ID: 5FaxNw9SraO
2016-05-17 08:20:52 -07:00
Ralph Giles
680bc62894 Bug 1271794 - Use SSE2 instructions on win32. r=glandium
We've decided supporting the small number of x86 machines
without SSE2 instructions is no longer worth the cost in
developer time nor the performance impact for other users.

https://groups.google.com/d/msg/mozilla.dev.platform/dZC39mj5V-s/Xt_UqZXkAAAJ

Set -arch:SSE2 by default on x86 if an arch hasn't already
been supplied. This ensures we'll continue to build with
the right instruction set if the compiler changes its default
in the future, while still allowing custom builds to set
a lower minimum.

Also updates the filter to strip all arch switches on win64
when building the sandbox. The 64-bit compiler doesn't
support -arch:SSE2 either.

MozReview-Commit-ID: JzTRGPn9vzI
2016-05-18 11:06:30 -07:00
Jon Coppeard
40f92bd70c Bug 1273432 - Fix off-by-one string length assertion r=jandem 2016-05-18 19:03:39 +01:00
Nathan Froyd
5b76ad78ff Bug 1246743 - use libc++ on OS X builds; r=glandium 2016-05-18 22:01:53 -04:00
Terrence Cole
5988a033db Bug 1266887 - Store Rooted heads on the Zone; r=sfink 2016-04-25 12:32:36 -07:00
Dan Gohman
9d952062fe Bug 1273748 - BaldryMonkey: Miscellaneous fixes. r=luke 2016-05-18 09:23:09 -07:00
Jonathan Watt
ddccefa965 Bug 177957, part 3 - Make the WebIDL code generator support the [SecureContext] extended attribute. r=bz
MozReview-Commit-ID: 3O3V4MTgLuR
2016-05-16 10:04:38 +01:00
Lars T Hansen
d15bb83b90 Bug 1271736 - remove SharedArrayBuffer.isView. r=jorendorff 2016-05-12 17:01:55 +02:00
Heiher
50e0ebb046 Bug 1273722 - IonMonkey: MIPS: Use andi AMAP in branchTestPtr. r=arai
---
 js/src/jit/mips-shared/MacroAssembler-mips-shared-inl.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
2016-05-18 16:42:34 +08:00
Heiher
07f10b57a3 Bug 1273722 - IonMonkey: MIPS: Use andi AMAP in branchTest32. r=arai
---
 js/src/jit/mips-shared/MacroAssembler-mips-shared-inl.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
2016-05-18 16:42:32 +08:00