Commit Graph

59560 Commits

Author SHA1 Message Date
Paul Bignier
166ed99e17 Bug 1352805 - Typo fixes in comments around "unfortunately". r=MattN
MozReview-Commit-ID: B76JuHabq9T
2017-04-03 09:23:00 -07:00
Wes Kocher
734b25e05c Merge m-c to inbound, a=merge 2017-04-03 14:51:06 -07:00
Tom Schuster
7c9aab27bc Bug 1352006 - Inline NewArrayIterator in Ion. r=jandem 2017-04-03 22:24:03 +02:00
Ted Campbell
cf8fb2b9dd Bug 1351951 - Cleanup GetStubReturnAddress handling
MozReview-Commit-ID: 6e7fUZZTnC9
2017-04-03 14:47:20 -04:00
Ted Campbell
08f87617cd Bug 1351951 - Add ICStubCompiler::assumeStubFrame
MozReview-Commit-ID: FKwYMjDqCLf
2017-04-03 14:47:18 -04:00
Ted Campbell
2e40b47644 Bug 1352077 - Refactor IonBuilder.cpp::IsCallOpcode r=h4writer
MozReview-Commit-ID: F1tzVpLJOw9

--HG--
extra : rebase_source : 7ad5958963b6e5af70437e46dffeb42902fbfb0b
2017-03-29 16:39:41 -04:00
Charles Robertson
d60267ab32 Bug 1352236 - Work around missing GETRANDOM_NR when building against older versions of glibc. r=luke
--HG--
extra : rebase_source : 20b50d03507e76b6e884889298466b587081bec3
2017-03-30 14:53:00 -04:00
Tom Tromey
8e0d0b9741 Bug 1350097 - handle very long floating point output in cvt_f; r=froydnj
Bug 1350097 points out a case where the assertion in cvt_f, added in
https://bugzilla.mozilla.org/show_bug.cgi?id=1060419#c127, triggers.
Before this addition, code calling this printf variant would end up just
printing something invalid, as the truncated value would be emitted.
This patch increases the buffer size to be sufficient for DBL_MAX.

MozReview-Commit-ID: AVphURGa6jL

--HG--
extra : rebase_source : c7a2dad8e496434a631441ccc25dfee2db1ea71a
2017-03-24 08:18:51 -06:00
Tooru Fujisawa
bdbfda64bc Bug 1343417 - Verify bytecode documentation in js/src/vm/Opcodes.h in make check. r=nbp 2017-04-03 10:14:38 +09:00
Petr Sumbera
904e4613b3 Bug 1351309 - Look for hypot in libm instead of libc in function-definition.js. r=arai 2017-03-28 07:03:59 -07:00
Eric Rahm
572d67e180 Bug 1351831 - Build more xpconnect code in unified sources. r=bholley
These files were being excluding because we thought they used plarena.h, but it
turns out they did not. A few tweaks needed to be made to clarify whether we
wanted to use mozilla::UniquePtr or js::UniquePtr.

MozReview-Commit-ID: 1su5dO3rR0T
2017-03-31 15:21:27 -07:00
Ryan VanderMeulen
75e7e911b8 Backed out changeset 42ea3fb4b694 (bug 1351831) for Windows bustage. 2017-03-31 14:58:03 -04:00
Benjamin Bouvier
a13e9d2f73 Bug 1352500: Baldr: Force stack alignment for asm.js atomics callouts on ARM; r=luke
MozReview-Commit-ID: HsROuItxJMX

--HG--
extra : rebase_source : 03a1030f2279da7c41e687455acc9c736cd47be8
extra : histedit_source : 365f49c34984d150bd99a120379cd54fbf674100
2017-03-31 20:10:18 +02:00
Eric Rahm
9afbcd5a22 Bug 1351831 - Build more xpconnect code in unified sources. r=bholley
These files were being excluding because we thought they used plarena.h, but it
turns out they did not. A few tweaks needed to be made to clarify whether we
wanted to use mozilla::UniquePtr or js::UniquePtr.

MozReview-Commit-ID: 1su5dO3rR0T
2017-03-31 11:00:11 -07:00
Jon Coppeard
3905bf8fc4 Bug 1350844 - Don't add dead proxy zone edges for zones which are not being collected r=sfink a=abillings 2017-03-31 11:16:42 +01:00
Jon Coppeard
5a0d815ca0 Bug 1352114 - Improve jsapi-test failure messages r=luke 2017-03-31 11:16:09 +01:00
Jan de Mooij
1ad92e7cc7 Bug 1350760 part 6 - Add a Zone cache for recently atomized strings. r=jonco 2017-03-31 10:54:16 +02:00
Jan de Mooij
35bd8c0bf9 Bug 1350760 part 5 - Make sure various hashtable lookups get inlined when atomizing strings. r=luke 2017-03-31 10:53:39 +02:00
Jan de Mooij
9dff76b861 Bug 1350760 part 4 - Call JSString::validateLength only when we have to allocate a new atom. r=luke 2017-03-31 10:53:03 +02:00
Jan de Mooij
0a9d9be761 Bug 1350760 part 3 - Add AtomMarkingRuntime::inlinedMarkAtom to eliminate markAtom call overhead when atomizing. r=jonco 2017-03-31 10:52:09 +02:00
Jan de Mooij
4994bed355 Bug 1350760 part 2 - Ensure SparseBitmap::setBit gets inlined. r=sfink 2017-03-31 10:51:21 +02:00
Jan de Mooij
d3aa9773ba Bug 1350760 part 1 - Templatize and optimize AtomMarkingRuntime::markAtom. r=jonco 2017-03-31 10:50:52 +02:00
Phil Ringnalda
4cb08c4110 Backed out 2 changesets (bug 1351831, bug 1351820) for Windows build bustage
CLOSED TREE

Backed out changeset 91c2f1592df1 (bug 1351831)
Backed out changeset f825bdbb2ece (bug 1351820)
2017-03-30 19:21:06 -07:00
Eric Rahm
02c3c2e880 Bug 1351831 - Build more xpconnect code in unified sources. r=bholley
These files were being excluding because we thought they used plarena.h, but it
turns out they did not. A few tweaks needed to be made to clarify whether we
wanted to use mozilla::UniquePtr or js::UniquePtr.

MozReview-Commit-ID: 1su5dO3rR0T
2017-03-30 18:32:18 -07:00
Sean Stangl
ed0406e63e Bug 1352179 - Remove redundant calls to loadJSContext(). r=tcampbell 2017-03-30 12:08:00 -04:00
Ted Campbell
235bbd9d36 Bug 1351951 - Cleanup InitFromBailout to fight bit-rot
MozReview-Commit-ID: 9KXfF8H1PkN
2017-03-30 09:10:16 -04:00
Jon Coppeard
2060e390eb Bug 1351756 - Fix style test bustage r=me 2017-03-30 10:27:50 +01:00
Jon Coppeard
710cfac229 Bug 1351756 - Add a testing function to dump arena cell layout information r=sfink 2017-03-30 10:03:57 +01:00
Jon Coppeard
4744f1eb7f Bug 1351405 - Simplify incremental sweeping implementation r=sfink 2017-03-30 10:03:57 +01:00
Lars T Hansen
1a9a31f465 Bug 1351607 - pass -e expressions to the JS shell as separate command line arguments. r=sfink
--HG--
extra : rebase_source : 334c7a6d8ae60927c2a1c5269ca1bca102fd47a9
extra : amend_source : b56d1aecd95994d06e305f5762343d64938b1e2c
2017-03-29 13:37:58 +02:00
Steve Fink
bc7dc34148 No bug. Update to new way of detecting emacs
MozReview-Commit-ID: 4GJ2zg5vRN4

--HG--
extra : rebase_source : 378330a4280a901ce876e94d6d5fcda5ba71ac31
2017-03-26 15:43:23 -07:00
Steve Fink
b04182d5a8 Bug 1337209 - Add JS shell test mechanism for gray marking, r=jonco
MozReview-Commit-ID: IhnUy6KKs7O

--HG--
extra : rebase_source : 7370d369d7d33c2c08ec2044521275a134b0208a
2017-03-15 17:03:42 -07:00
Wes Kocher
3c0c112ff9 Merge m-c to inbound, a=merge 2017-03-29 15:47:46 -07:00
Wes Kocher
8e0bc97954 Merge inbound to central, a=merge 2017-03-29 15:41:57 -07:00
Christoph Diehl
5fb70d9869 Bug 1351708 - Fix Preferences::UnregisterCallback typo for fuzzing.enabled. r=froydnj
--HG--
extra : rebase_source : 29ed27d7019c08df775c48b116dffee7e6468af4
2017-03-29 08:20:00 -04:00
Steve Fink
408107d5ed Bug 1350998 - always include windows.h via jswin.h to undo macro damage, r=sstangl
--HG--
extra : rebase_source : 06b740de94743b51c6abd3bc1e03a4257423a859
extra : histedit_source : 047d6c33e370e9bb74a8508c74a5cb66b81c4233
2017-03-27 10:46:03 -07:00
Ted Campbell
afa4b6615d Bug 1351388 - Allow non-data properties in InIRGenerator::tryAttachNativeIn r=jandem
MozReview-Commit-ID: JJ9UeQtbQDp

--HG--
extra : rebase_source : 94fd0438e1d920f101437793279592dc80d892ae
2017-03-28 15:11:05 -04:00
Ryan VanderMeulen
7e1a57cfa4 Merge m-c to autoland. a=merge 2017-03-29 09:43:00 -04:00
Jon Coppeard
f184792604 Bug 1351345 - Add test that a module loader does not attempt to re-instantiate a previously instantiated module r=shu 2017-03-29 10:53:12 +01:00
Jon Coppeard
0c82b7b16d Bug 1322539 - Call ExposeObjectToActiveJS on the targets of xray wrappers r=sfink 2017-03-29 10:53:12 +01:00
David Teller
80e9560eef Bug 1342714 - Reducing allocations in AutoStopwatch;r=froydnj,jandem
This patch fixes two related issues.

1. The AutoStopwatch uses a stack-allocated `mozilla::Vector` to
communicate with its callback during each compartment switch. This
vector was designed to allow its contents to be stack-allocated but
they turned out to be accidentally heap-allocated.


2. During each tick, the stopwatch fills a vector
`recentGroups_`. This vector always started with minimal capacity and
had to grow repeatedly as groups were added, causing repeated
reallocations. This patch preallocates `recentGroups_` to have the
same capacity as the previous tick. We expect that this should
eventually reach a stable size that closely matches the actual needs
of the process.

MozReview-Commit-ID: A7e3HNdSuML

--HG--
extra : rebase_source : bb205970b4186d9325dded7ddae066bcad18fb0e
2017-03-24 22:25:03 +01:00
Jan de Mooij
0508a2a7f8 Bug 1346547 followup - Use toInt32 instead of isInt32 in ArrayPushDense. r=h4writer 2017-03-29 10:24:13 +02:00
Jan de Mooij
7d7a4a6d3e Bug 1351102 - Fix GetFinishedBuilder to check the runtime instead of the compartment. r=h4writer 2017-03-29 10:22:27 +02:00
Tooru Fujisawa
76239ccf41 Bug 1331092 - Part 12: Disable Async Iteration in chrome or add-ons code. r=shu 2017-03-29 17:15:13 +09:00
Tooru Fujisawa
8a2a7c5dc8 Bug 1331092 - Part 11: Await on the innerResult.value when innerResult.done is true in yield*. r=shu 2017-03-29 17:15:13 +09:00
Tooru Fujisawa
0e1a0c420d Bug 1331092 - Part 10: Support JSOP_TOASYNCGEN, JSOP_TOASYNCITER, and JSOP_AWAIT in decompiler. r=shu 2017-03-27 23:20:20 +09:00
Tooru Fujisawa
d42bfcff8b Bug 1331092 - Part 9: Implement for-await-of. r=shu 2017-03-27 23:20:19 +09:00
Tooru Fujisawa
ec1bf94ed6 Bug 1331092 - Part 8: Support JSOP_TOASYNCITER in JIT. r=jandem 2017-03-27 23:20:19 +09:00
Tooru Fujisawa
0d535229d3 Bug 1331092 - Part 7: Implement Async Generator yield*. r=shu 2017-03-27 23:20:19 +09:00
Tooru Fujisawa
da9d10eb88 Bug 1331092 - Part 6: Support JSOP_TOASYNCGEN in JIT. r=jandem 2017-03-27 23:20:18 +09:00