Граф коммитов

51432 Коммитов

Автор SHA1 Сообщение Дата
Benjamin Bouvier c0c6e3dedb Bug 1181612: Rename AsmJSFunctionLabels to make them easier to understand; r=luke
--HG--
extra : commitid : IZMCWrFp9Vl
extra : rebase_source : c3395e05dc8fd8ac23e305d6458446f60d36c112
2015-10-19 16:03:12 +02:00
Benjamin Bouvier b9e217d3b1 Bug 1181612: Hoist codeLabels_ and associated common functions into Assembler-shared; r=luke
--HG--
extra : commitid : HC2oP6Gm6JA
extra : rebase_source : aa22bac23fea24ae9fe2554ec9cd4e766a21f35c
2015-10-08 18:05:12 +02:00
Jan de Mooij 6729df0f94 Backout ce75fb8d5a8b (bug 1187233) for B2G xpcshell failures. 2015-10-19 16:37:52 +02:00
Jon Coppeard 9f79fb702f Backed out changeset 1deba998864f (bug 1215555) for Android mochitest failures on a CLOSED TREE 2015-10-19 15:20:24 +01:00
Jan de Mooij 52f99ae0b7 Bug 1187233 - Date constructor should create a copy when called with a Date object. Original patch by Giovanni Sferro. r=jwalden 2015-07-29 22:47:51 -07:00
Jan de Mooij 6c3b08a91f Bug 1215573 - Remove AutoWritableJitCode from IonCache::updateBaseAddress. r=nbp 2015-10-19 15:38:33 +02:00
Jon Coppeard 9f21f44746 Bug 1215555 - Improve simulated OOM testing of ARM assembler buffer and fix bugs r=jolesen 2015-10-19 10:50:51 +01:00
Hannes Verschore 35615bd653 Bug 1097456: IonMonkey: Handle FoldTests failures, r=jandem 2015-10-19 13:40:08 +02:00
Benjamin Bouvier e4c2a11938 Bug 1201460: Disallow asm.js compilation for class/methods; r=luke
--HG--
extra : commitid : EWC4l5auzzc
extra : rebase_source : 73e860e191fb899356337d177ab0ab491d641617
2015-10-16 12:23:10 +02:00
Jon Coppeard 28f863ed8e Backed out changeset 2d0fadc97308 (bug 1215555) for bustage on ARM platforms on a CLOSED TREE
--HG--
extra : amend_source : 163d18fae6f752abbd6fb439ab9129af3e167528
2015-10-19 11:31:25 +01:00
Jon Coppeard 5e9dceaa9a Bug 1215555 - Improve simulated OOM testing of ARM assembler buffer and fix bugs r=jolesen 2015-10-19 10:50:51 +01:00
Tooru Fujisawa 406d1e9fbe Bug 1215937 - Remove use of expression closure from js/xpconnect/. r=bholley
--HG--
extra : commitid : Ktu9nsb2ozN
extra : rebase_source : bd5757a6ed71461e92dec4a72f6bfa441a06bfb7
2015-10-19 00:01:58 +09:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd 583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Michael Wu ed4b205b47 Bug 1212663 - Use doxygen style comments in jsapi, r=Waldo 2015-10-17 13:27:16 -04:00
Eric Faust b03dd5c99e Bug 1215744 - Unnamed class expressions shouldn't get a name property. (r=arai) 2015-10-17 00:53:18 -07:00
Heiher 8ed011b817 Bug 1066642 - IonMonkey: MIPS32: Do not allocate odd FP registers on Loongson CPU-s. r=arai
---
 js/src/jit/mips32/Architecture-mips32.h | 21 ++++++++++++++++++---
 js/src/jit/mips32/Assembler-mips32.cpp  |  6 +++---
 js/src/jit/mips32/Simulator-mips32.cpp  |  2 +-
 3 files changed, 22 insertions(+), 7 deletions(-)
2015-10-17 23:41:16 +08:00
Phil Ringnalda 0d4794a52d Back out 2 changesets (bug 1215336, bug 1215337) in hopes it will appease the angry gods, who will then stop hurling !phaseStartTimes[phase] assertion failures at our heads
CLOSED TREE

Backed out changeset f41fd6c7d522 (bug 1215337)
Backed out changeset 1998b272540e (bug 1215336)
2015-10-16 20:32:21 -07:00
Shu-yu Guo bdfd8379dd No bug - Annotate an OOM test as allow-oom. (r=terrence over IRC) 2015-10-16 17:54:47 -07:00
Shu-yu Guo b75caf79c0 Bug 1215341 - Update tests. (r=jandem) 2015-10-16 17:54:47 -07:00
Shu-yu Guo acb34e89d9 Bug 1215341 - Make assignment to const errors runtime TypeErrors in the JITs. (r=jandem) 2015-10-16 17:54:47 -07:00
Shu-yu Guo 53c5a76506 Bug 1215341 - Make assignment to const errors runtime TypeErrors in the frontend and interpreter. (r=jandem) 2015-10-16 17:54:47 -07:00
Eric Faust f948623c75 Bug 1214970 - Don't emit nullptr atoms for class expressions with default constructors. (r=Waldo) 2015-10-16 14:49:17 -07:00
Wes Kocher 1662b03a4f Merge m-c to inbound, a=merge 2015-10-16 12:30:35 -07:00
Wes Kocher 375b7b2d42 Merge inbound to central, a=merge 2015-10-16 11:52:24 -07:00
Carsten "Tomcat" Book f56a925c1e Merge m-c to fx-team 2015-10-16 15:01:23 +02:00
Steve Fink 4941565e3d Bug 1215337 - Cache slotSpan(), r=terrence
--HG--
extra : rebase_source : 30a1fa3398af0bf1aade4e1d7da469aa2aaf95ac
2015-10-15 15:45:51 -07:00
Steve Fink 7c7d0cb763 Bug 1215336 - Measure unmark gray time, r=terrence
--HG--
extra : rebase_source : 9e282639904d3624f942e5fc176bd8c3463f3a4a
2015-10-15 15:45:52 -07:00
Jon Coppeard a759c1ce57 Bug 1214846 - Make SPSProfiler::enter() report OOM to the context r=terrence 2015-10-16 11:51:37 +01:00
Jon Coppeard b35177a4cd Bug 1214781 - Make oomTest() clear any previous OOM condition r=terrence 2015-10-16 11:47:02 +01:00
Steve Fink 1e786086c0 Bug 1212624 - Make WeakMapBase be a LinkedListElement, r=Waldo
--HG--
extra : rebase_source : be69b304477e4eb9bca91040076dd3f28cceb055
2015-10-07 12:21:15 -07:00
Steve Fink 2fac3971ef Bug 1212624 - Tests for LinkedList, r=Waldo
--HG--
extra : rebase_source : 39cb2bc90342da5d5fc1379f805b1dd701a108df
2015-10-07 12:36:00 -07:00
Steve Fink 8c309b8afc Bug 1212624 - Use range-based iteration for various LinkedList<T> in spidermonkey, r=Waldo
--HG--
extra : rebase_source : ccc41529a6423dfb87a8d845453473925c49bb11
2015-10-07 12:19:59 -07:00
Steve Fink 839218c6e0 No bug. Reword a comment slightly because it confused me. r=woof!, DONTBUILD
--HG--
extra : commitid : IeYPPnsVkOL
2015-10-13 10:24:37 -07:00
Eric Faust ba6966f2d0 Bug 1214936 - Make the ArrayBuffer constructor throw if invoked without 'new'. (r=evilpie) 2015-10-15 13:54:49 -07:00
Nick Fitzgerald 842b5596e6 Bug 1213436 - Reject core dumps with node IDs that don't fit in an IEEE 754 double; r=sfink 2015-10-13 11:59:00 +02:00
Victor Carlquist 4642118258 Bug 1211150 - ARM: Adding 'explicit' keyword on the FloatRegister constructors; r=nbp 2015-10-12 18:58:18 -03:00
Jon Coppeard 8df5c11323 Bug 1214175 - Make hash table manipulation infallible in Shape::fixupGetterSetterForBarrier() r=terrence 2015-10-15 09:54:32 +01:00
Shu-yu Guo 2e3e819d24 Bug 1214050 - Don't give overwritten non-deoptimized function bindings slots in global scripts. (r=efaust) 2015-10-15 00:36:35 -07:00
Shu-yu Guo 2442b0dd3f Bug 1214013 - Add fuzz test. (r=efaust) 2015-10-15 00:36:35 -07:00
Shu-yu Guo 897a809df3 Bug 1214013 - Remove funky Maybe<ParseContext> logic in BytecodeCompiler. (r=efaust) 2015-10-15 00:36:34 -07:00
Shu-yu Guo 58795f9b24 Bug 1214013 - Remove drainGlobalOrEvalBindings and use generateBindings for all kinds of scripts. (r=efaust) 2015-10-15 00:36:34 -07:00
Shu-yu Guo 4205ab1b18 Bug 1214013 - Parse global scripts non-incrementally. (r=efaust) 2015-10-15 00:36:34 -07:00
Lars T Hansen 5eb430b3dd Bug 1211409 - load/store exclusive for ARM-32. r=jolesen 2015-10-09 18:10:37 +01:00
Joel Maher 1b7e2af1de Bug 1210876 - test_bug799348.xul fails on Windows debug with runByDir enabled. r=dvander 2015-10-14 04:10:00 +02:00
Jan de Mooij ec1b810761 Bug 1214562 part 2 - Refactor SetPropertyCache regalloc. r=bhackett
--HG--
extra : rebase_source : 992260b0a8440a17e0f9242edc56da95a1bcf69f
2015-10-15 16:20:29 +02:00
Jan de Mooij 453c4e0dd3 Bug 1214562 part 1 - SetElementCache no longer needs a byteop register on x86. r=bhackett 2015-10-15 15:52:47 +02:00
Jan de Mooij 3668e5a573 Bug 1214163 - Clean up SetPropertyIC::update. r=efaust 2015-10-15 15:52:42 +02:00
Lars T Hansen a552b9785c Bug 1133630 - handle stack overflows during analysis. r=jandem 2015-10-15 15:14:00 +02:00
Tom Schuster c965ad64a0 Bug 980945 - Throw when invoking a typed array constructor without new. r=efaust 2015-10-15 13:39:05 +02:00