Commit Graph

52124 Commits

Author SHA1 Message Date
Eric Faust
c532ed6687 Bug 1055472 - Part 8 prelim: Rename InitializeRegExp to RegExpObject::initFromAtom for readability. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
a33ed54127 Bug 1055472 - Part 7: Make the Date constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
e9db21e231 Bug 1055472 - Part 6: Make the Number constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
13f285c204 Bug 1055472 - Part 5: Make the various Error constructors properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
224c3a8705 Bug 1055472 - Part 4: Make the Boolean constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
b3821647af Bug 1055472 - Part 3: Make the Object constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
0a68233ae4 Bug 1055472 - Part 2b: Make Function.prototype.bind play nicely with subclassed functions. (r=Waldo, shoutouts for good flyby by evilpie) 2015-11-13 18:22:21 -08:00
Eric Faust
36637e999d Bug 1055472 - Part 2: Make the Function constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
5d4f5bdf8b Bug 1055472 - Part 1: Factor out GetPrototypeFromConstructor and use it in existing object creation paths. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
7f6b5d6456 Bug 1230337 - Fix TypedArrayObject::isNeutered to stop calling typed arrays using inline storage neutered. (r=Waldo) 2015-12-03 22:30:25 -08:00
Chris Peterson
9709fe89a0 Bug 1230071 - Enable warnings-as-errors in js/src. r=Waldo
--HG--
extra : rebase_source : b97fc86c40a21b18eaa89b9bbdf888672e45d631
2015-11-27 22:47:09 -08:00
Chris Peterson
2de2960439 Bug 1229196 - Fix MSVC C4334 "was 64-bit shift intended" warning in js/src/asmjs. r=sunfish
js/src/asmjs/AsmJSSignalHandlers.cpp(594) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)

--HG--
extra : rebase_source : 4a290c2473de2b0b01e4e185719bf571909f3ff1
2015-11-26 11:14:25 -08:00
Chris Peterson
46bb7c80dd Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc
--HG--
extra : rebase_source : 4ab2c4a917ea90055e48bd6adcb53904f2266ee0
2015-11-27 20:49:55 -08:00
Jim Blandy
2c51be8732 Bug 1225474: Ensure we only ever seed the js::SavedStacks PRNG state with valid states. r=fitzgen
--HG--
extra : rebase_source : 394d1502d8c12560f3029b23af8d86521e95f1a1
2015-11-18 11:45:42 -08:00
Heiher
3370304e0b Bug 1229821 - IonMonkey: MIPS: Fix merge macro assemblers. r=bbouvier
---
 js/src/jit/mips-shared/Assembler-mips-shared.cpp   | 36 +++++++++++++++++++++-
 js/src/jit/mips-shared/Assembler-mips-shared.h     | 25 ++++++++++-----
 .../jit/mips-shared/MacroAssembler-mips-shared.cpp |  4 +--
 js/src/jit/mips32/Assembler-mips32.cpp             | 15 +++------
 js/src/jit/mips32/Assembler-mips32.h               |  2 +-
 js/src/jit/mips32/CodeGenerator-mips32.cpp         |  8 ++---
 js/src/jit/mips32/MacroAssembler-mips32.cpp        |  9 ++----
 js/src/jit/mips32/MacroAssembler-mips32.h          |  2 +-
 js/src/jit/mips32/Trampoline-mips32.cpp            |  9 ++++--
 js/src/jit/mips64/Assembler-mips64.cpp             | 15 +++------
 js/src/jit/mips64/Assembler-mips64.h               |  2 +-
 js/src/jit/mips64/CodeGenerator-mips64.cpp         |  8 ++---
 js/src/jit/mips64/MacroAssembler-mips64.cpp        |  9 ++----
 js/src/jit/mips64/MacroAssembler-mips64.h          |  2 +-
 js/src/jit/mips64/Trampoline-mips64.cpp            |  9 ++++--
 15 files changed, 95 insertions(+), 60 deletions(-)
2015-12-04 09:15:08 +08:00
Xidorn Quan
a816a8a87e Bug 1229604 - Use const for some struct arrays instead of constexpr to work around bug of VS2015u1. r=jandem
--HG--
extra : source : 7b18a22082273f868e1bf5d970db3139c84334f3
extra : intermediate-source : f173b16e93be55fd06cf56ad2a568e556f4ad2bb
2015-12-04 11:58:18 +11:00
Morgan Phillips
817cebef63 Bug 1197095 - ensure that ForOfIterator does not pass arguments to next calls; r=evilpie
--HG--
extra : rebase_source : e08bea96808616797f4840ce064c7c1389269593
2015-12-03 12:23:41 -08:00
Benjamin Bouvier
8a44551069 Bug 1229396: Templatize constants merging in the shared x86 masm; r=jandem
--HG--
extra : rebase_source : 924dd237eb655231842a96ff44bfdd61e5c86219
extra : histedit_source : ea1533c1aaf8897ff537fbbe6a8b1cc727cc7d32
2015-12-01 19:35:03 +01:00
Benjamin Bouvier
1bba39f692 Bug 1229396: Templatize Float/Double/SimdData in MacroAssembler-x86-shared.h; r=jandem
--HG--
extra : rebase_source : 88c53674d68586686b92d3ce215d649bb3c746ab
extra : histedit_source : cd0d7381f1a9a5087a4a174daa0d8aa369a47c68
2015-12-01 19:24:49 +01:00
Benjamin Bouvier
0c856aafcc Bug 1229396: Templatize get{Float,Double,SimdData}; r=jandem
--HG--
extra : rebase_source : b5529425719159dc9d08ba67c3c6add7da33d210
extra : histedit_source : 8c4ff3221b3374d976835ea9c88d4f0ee4f7ccff
2015-12-01 19:09:40 +01:00
Benjamin Bouvier
c1bb13250b Bug 1229396: Propagate OOM when pushing elements to the uses array; r=jandem
--HG--
extra : rebase_source : 1288ddfb31b5b71340d74d55f7b68ab7e49f52e2
extra : histedit_source : 11d523919e76ec641acacf0ccb659d2d02ede6e9
2015-12-01 18:28:51 +01:00
Jan Beich
814acd7ab8 Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium 2015-12-02 09:40:50 +00:00
Heiher
bb992fcdb0 Bug 1230039 - IonMonkey: MIPS: Implement cacheFlush for Loongson3. r=jandem
---
 js/src/jit/ExecutableAllocator.h | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
2015-12-03 19:22:37 +08:00
Heiher
1ed74c6354 Bug 1230010 - OdinMonkey: MIPS: Make immediate patching shared. r=luke
---
 js/src/asmjs/AsmJSModule.cpp | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)
2015-12-03 19:22:36 +08:00
Heiher
143fcc2167 Bug 1229989 - IonMonkey: MIPS: Fix patchCall for mips32. r=luke
---
 js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
2015-12-03 19:22:35 +08:00
Heiher
8cf9bff5bc Bug 1229292 - IonMonkey: MIPS64: Fix skip nops in conditional branches. r=huangwenjun06
---
 js/src/jit/mips64/Assembler-mips64.cpp | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
2015-12-03 19:22:34 +08:00
Till Schneidereit
b646fffd2a Bug 1229729 - Make make-source-package.sh work on OS X. r=sfink
--HG--
extra : rebase_source : 30cf8cec5e2dce92d0bb8f3ab9fab81bd763d82c
2015-12-01 23:41:45 +01:00
Lars T Hansen
29139d87d3 Bug 1225026 - Remove support for atomics on Uint8ClampedArray. r=nbp
--HG--
extra : rebase_source : 316a4b7e11d13eab6c1909490e18ee2982dbec15
2015-12-02 18:26:18 +01:00
Luke Wagner
3e2e979a8b Bug 1229642 - Odin: hoist some things into Wasm.h and simplify symbolic addresses (r=bbouvier)
--HG--
extra : rebase_source : 072480e2713f184b9dbac1e33d4ffb60af1c720c
2015-12-02 21:40:09 -06:00
Jeff Walden
382c52beaf Bug 1227677 - Minor renaming. r=shu
--HG--
extra : rebase_source : 467b4ca97848288a095e69ec8abdb84beba3dfc6
2015-11-06 15:09:15 -08:00
Jeff Walden
f579af2e1a Bug 1226188 - Define the DEFINED_ON_DISPATCH_RESULT macro such that it can be called with no arguments as well as with one argument. r=nbp
--HG--
extra : rebase_source : d8b096c104b28daa491d0d93922457d8af26c06a
2015-11-25 15:07:28 -08:00
Mike Hommey
826f769939 Bug 1229541 - Turn NSPR_CFLAGS, NSS_CFLAGS, MOZ_JPEG_CFLAGS, MOZ_PNG_CFLAGS and MOZ_ZLIB_CFLAGS into AC_SUBST_LISTs. r=mshal 2015-12-02 11:24:34 +09:00
Luke Wagner
d5f891c228 Bug 1229698 - Odin: fix memory corruption when -D passed to the shell (r=bbouvier)
--HG--
extra : rebase_source : 54987cfd536a8ee35d24df78c4b1510e10ad103e
2015-12-02 09:57:44 -06:00
Nathan Froyd
c381a6b86c Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Wes Kocher
b16dc998b7 Backed out 4 changesets (bug 1227190) for still having failures after several followups, most recently jit test assertions in jsfriendapi.cpp CLOSED TREE
Backed out changeset e3ae43ee51fa (bug 1227190)
Backed out changeset 2e33a92988cd (bug 1227190)
Backed out changeset 4ebb551d8db2 (bug 1227190)
Backed out changeset 5f84bb42a723 (bug 1227190)

--HG--
extra : amend_source : 41b78fc50850a8a34c48b54aaaa82241607e98cd
2015-12-02 12:26:23 -08:00
Boris Zbarsky
9c0fbd9079 Bug 1227190. Make the constructor for ReportExceptionClosure explicit to silence our static analyzers. r=CLOSED TREE 2015-12-02 14:57:53 -05:00
Boris Zbarsky
f02a79a4e0 Bug 1227190 followup to address the review comments I missed. r=jorendorff 2015-12-02 14:04:47 -05:00
Boris Zbarsky
e8013a0abc Bug 1227190 part 2. Make debugger error reporting play nice with the embedding taking ownership of error reporting. r=jorendorff 2015-12-02 13:53:00 -05:00
Boris Zbarsky
d6f277acb4 Bug 1227190 part 1. change PrepareScriptEnvironmentAndInvoke to return void, not bool, to make it clearer that it reports exceptions for you. r=jorendorff 2015-12-02 13:53:00 -05:00
Boris Zbarsky
29345faced Bug 1229664. Drop the concept of inner exceptions from Exception/DOMException. r=bholley 2015-12-02 13:52:59 -05:00
Lars T Hansen
a297f1c8f3 Bug 1176214 - Part 10: jsapi-tests changes. r=bbouvier
--HG--
extra : rebase_source : 07fe1cd989452c31b60d57511a8f9eb875a307ed
2015-11-11 18:28:42 +01:00
Lars T Hansen
b5cd967500 Bug 1176214 - Part 9: tests changes. r=bbouvier
--HG--
extra : rebase_source : 6a9c2f9513efce47bc28b7321186c3ac6fe5d3d9
2015-11-23 18:08:32 +01:00
Lars T Hansen
9031bb2c2c Bug 1176214 - Part 8: jit-test changes. r=bbouvier
--HG--
extra : rebase_source : 1e6de87ce395ba20280becee5e113bc328ef683f
2015-11-23 17:35:06 +01:00
Lars T Hansen
6bda1e516c Bug 1176214 - Part 7: Ctypes, shell, xpconnect, etc. r=waldo
--HG--
extra : rebase_source : 47e9a61168f04ef0772784b12561f7597f14f663
2015-12-02 11:36:13 +01:00
Lars T Hansen
403d95c10c Bug 1176214 - Part 6: Odin changes. r=luke
--HG--
extra : rebase_source : dc3b9ee72314b4256e6d321a992fd259c56d34e8
2015-11-27 09:00:42 +01:00
Lars T Hansen
0b2079a3e0 Bug 1176214 - Part 5: Ion changes. r=h4writer
--HG--
extra : rebase_source : 35ea5cd4767072eb6f46846c22e09343e271b344
2015-11-30 11:27:48 +01:00
Lars T Hansen
65de5b1e48 Bug 1176214 - Part 4: VM built-in lib changes. r=waldo
--HG--
extra : rebase_source : fe518d6107523fa69f3358bd8423c57ef6b5cc21
2015-12-02 11:23:08 +01:00
Lars T Hansen
9a05479976 Bug 1176214 - Part 3: VM core changes. r=waldo
--HG--
extra : rebase_source : 7020c7375dc84a4bb34b56ea90fd9daa084edd0d
2015-12-02 16:38:26 +01:00
Lars T Hansen
5aae98ed9a Bug 1176214 - Part 2: Preliminary adjustments. r=waldo
--HG--
extra : rebase_source : b306ed5c0ded6830a9333e975d521bc6729c8312
2015-11-23 19:51:50 +01:00
Lars T Hansen
8da342c976 Bug 1176214 - Part 1: Remove obsolete files. r=waldo
--HG--
extra : rebase_source : 70cb1a286fe425bb438349b74020a73e72a6be03
2015-11-13 11:35:37 +01:00