Commit Graph

51651 Commits

Author SHA1 Message Date
Tooru Fujisawa
ebb5c00373 Backed out changeset 85bf82ac6e9a (bug 1202134) for OSX xpcshell test failure
--HG--
extra : commitid : LQB6mfBZWw8
2015-10-23 03:06:05 +09:00
Lars T Hansen
4fc56ae280 Bug 1205390 - guard against asm.js compilation not being available. r=me 2015-10-23 14:58:54 +02:00
Lars T Hansen
1f96a66c3d Bug 1205390 - make Odin accept TypedArray constructors for shared memory. r=luke 2015-10-23 13:19:08 +02:00
Tom Tromey
64050c40ce Bug 1200832 - make Console.trace follow async parents; r=baku,bgrins
--HG--
extra : rebase_source : a39ad1bdc73ac53d0f611c3b5e43327aea36ec6f
2015-10-21 08:40:00 +02:00
Jason Orendorff
0fed3b5351 Bug 1210570 - Ensure that ToPrimitive(location) is not spoofable. r=bz.
--HG--
extra : commitid : 2rz0SkgNFBy
extra : rebase_source : cc7551193fb3a81cb6d7b69535eb152335a6cda4
2015-10-06 10:42:17 -05:00
Jason Orendorff
c006ac8bbd Bug 1206700 - Fix an bug in property assignment, recently exposed by Reflect.set. r=waldo
SetExistingProperty() contains a fast path for the case when pobj and
receiver refer to the same object. Ordinarily, if that much is true,
then obj also refers to the same object, but with Reflect.set() it is
possible to arrange for receiver == pobj to be true while obj is some
other object.
2015-10-01 09:37:46 -05:00
Sean Stangl
995165fd6b Bug 1207843 - Part 3/3 - Clean up ARM Imm8::EncodeImm(). r=h4writer 2015-09-23 15:32:48 -07:00
Sean Stangl
c1beee5c79 Bug 1207843 - Part 2/3 - Clean up MacroAssemblerARM spacing. r=h4writer 2015-09-23 15:03:33 -07:00
Sean Stangl
50f82a857f Bug 1207843 - Part 1/3 - Clean up ma_b(void* target). r=h4writer 2015-09-23 14:32:04 -07:00
Morgan Phillips
04bcf744e2 Bug 1192329 - Fix broken asm tests by explicitly setting js version; r=jorendorff
These tests should run on ecma 5.

--HG--
extra : rebase_source : a530c11dfa3ec7b7f079bf75a20e512b16879543
2015-10-23 12:42:53 -07:00
Jason Orendorff
5c06455625 Bug 1211660 - Remove dead obj argument from two functions. r=Waldo.
--HG--
extra : commitid : 2yLQK4gC51a
extra : rebase_source : 3f9807d54516f11ad0cfd408bab11f9b166f5e5d
2015-10-05 14:50:42 -05:00
Jason Orendorff
66ad12400a Bug 1206700 - Followup to add extra test assertion requested by jwalden in review.
--HG--
extra : commitid : LR7CtNl8WYm
extra : rebase_source : f2b35f892185bb361edb62aad8bf87a03aa9d384
2015-10-01 09:37:46 -05:00
Morgan Phillips
00287619c0 Bug 1192329 - Change JS shell to default to the standard version of JS (not 1.7+) 2/2; r=jorendorff
The shell tests no longer need to be forced on to the default version.

--HG--
extra : rebase_source : 621182645f35d3856418dfc0586dda7dc939f031
2015-10-22 21:53:22 -07:00
Morgan Phillips
aacf3c5337 Bug 1192329 - Change JS shell to default to the standard version of JS (not 1.7+) 1/2; r=jorendorff
--HG--
extra : rebase_source : fc57c68e1dec86d615b52d405cfdb1ee3c0efb78
2015-10-22 20:05:37 -07:00
Nicolas B. Pierron
aef78a05b8 Bug 1158632 - IonBuilder TableSwitch, fill-the-gap cases should encore the PC of the default block. r=h4writer 2015-10-22 14:23:25 +02:00
Tooru Fujisawa
488f2e9d6b Bug 1202134 - Save return value onto the stack before executing finally block. r=jandem
--HG--
extra : commitid : Cg2OQh8bCHP
extra : rebase_source : 1b293167b52aae087038716e0eceb3c7e9a081b2
extra : amend_source : 50973a52aadb9bf052107c2c24e0434a0c3a9fb9
2015-10-17 23:30:20 +09:00
Nick Fitzgerald
67c1e9e6a9 Bug 1216819 - Allow JSAPI SavedFrame accessors to skip past self-hosted frames. r=bz 2015-10-21 10:39:00 -04:00
Wes Kocher
3fe8e966dd Merge m-c to inbound, a=merge CLOSED TREE 2015-10-21 16:39:18 -07:00
Wes Kocher
b8596f28a2 Merge inbound to m-c a=merge 2015-10-21 16:28:43 -07:00
J. Ryan Stinnett
986f2a5cde Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
Terrence Cole
cbe5f3dfad Bug 1213005 - Try harder not to fire read barriers during GC; r=sfink 2015-10-08 11:24:16 -07:00
Tom Schuster
61ab007254 Bug 1198352 - Handle cross-compartment WeakSets. r=Waldo 2015-10-21 21:05:26 +02:00
David Rajchenbach-Teller
3ff3f77f9e Bug 1208747 - Move most of Stopwatch-related code to XPCOM-land (XPCOM-level + XPConnect-level);r=froydnj
--HG--
extra : transplant_source : %91G%19%1A%B33%A8%2C%F4%D0%D1%A3%E0%20G%86%CE%DF%A5%9D
2015-10-02 23:44:23 +02:00
David Rajchenbach-Teller
fa2e406f5f Bug 1208747 - Move most of Stopwatch-related code to XPCOM-land (JSAPI-level);r=jandem
--HG--
extra : transplant_source : %DB4%BB%7F%85%AD%98%8Cn%AD%A4%21%0A%24k%1EE%92%D3%09
2015-10-01 21:12:49 +02:00
Wes Kocher
230d556779 Backed out 10 changesets (bug 1207827) for SM(arm) failures CLOSED TREE
Backed out changeset ed9a39da785e (bug 1207827)
Backed out changeset d518935ddd2e (bug 1207827)
Backed out changeset a77d26defefc (bug 1207827)
Backed out changeset 0ea4e13f313d (bug 1207827)
Backed out changeset 4e69844a11f6 (bug 1207827)
Backed out changeset 26d2719ea5d7 (bug 1207827)
Backed out changeset 771f58704ac9 (bug 1207827)
Backed out changeset 97050efd681e (bug 1207827)
Backed out changeset 5e6973f92d22 (bug 1207827)
Backed out changeset 3175d41f0acf (bug 1207827)
2015-10-20 17:14:24 -07:00
Wes Kocher
040a8332a6 Merge m-c to inbound, a=merge CLOSED TREE 2015-10-20 15:28:33 -07:00
Wes Kocher
9630ce26b8 Merge b2ginbound to central, a=merge 2015-10-20 14:59:07 -07:00
Wes Kocher
05d30e3771 Backed out changeset a9a241b0c121 (bug 1207827) for Windows SM bustage CLOSED TREE 2015-10-20 13:53:27 -07:00
Jakob Olesen
e00aff10ae Bug 1207827 - Delete Assembler::actualOffset() and transitive closure. r=nbp
The implemetation of Assembler::actualOffset() is now a no-op in all
targets, and it is no longer necessary to rewrite assembler buffer
offsets to their final form after finishing the assembler buffer.

- Delete Assembler::actualOffset() in all targets.
- Delete AsmJSModule::CodeRange::updateOffsets().
- Delete AsmJSModule::updateCodeOffset().
- Delete AsmJSModule::updateOffsets().
- Delete CodeOffsetLabel::fixup().
- Delete ICEnty::fixupReturnOffset().
- Delete LSafepoint::fixupOffset().
- Delete OsiIndex::fixUpOffset().
- Delete PCMappingEntry::fixupNativeOffset().

Also delete all code calling these functions.

--HG--
extra : rebase_source : ff8a0173560e3368c2960442986da41c0b575e49
2015-10-20 12:57:40 -07:00
Jakob Olesen
041f92a59d Bug 1207827 - Remove ARM temporary offset buffers. r=nbp
The ARM assembler no longer needs to keep track of code offsets for
later translation to 'actual' offsets. The AssemblerBuffer offsets
are directly usable now.

Remove tmpDataRelocations_, tmpPreBarriers_, and tmpJumpRelocations_.

--HG--
extra : rebase_source : c07b5a000fa94bb1bbc4220add1af7cd8cbaf22e
2015-10-20 12:57:39 -07:00
Jakob Olesen
901d32e8e5 Bug 1207827 - Remove ARM64 temporary offset buffers. r=nbp
The ARM64 assembler no longer needs to keep track of code offsets for
later translation to 'final' offsets. The AssemblerBuffer offsets are
directly usable now.

Remove tmpDataRelocations_, tmpPreBarriers_, tmpJumpRelocations_, and
the finalOffset() method.

--HG--
extra : rebase_source : 52e73f091b1e63970b9fb37b9c22453b0b37910f
2015-10-20 12:57:39 -07:00
Jakob Olesen
9421e197a2 Bug 1207827 - Eliminate poolSizeBefore(). r=nbp
This method was used by the Assembler::actualOffset() methods to
translate buffer offsets from pre-pool to post-pool numbers. Since
pools are now injected immediately, there is no need to translate
offsets.

All the actualOffset() methods have become no-ops in all our supported
targets.

--HG--
extra : rebase_source : 7985a847bad5bfde2b696e1ff81420aa981d426c
2015-10-20 12:57:39 -07:00
Jakob Olesen
f592a41614 Bug 1207827 - Switch jit::Pool to a LifoAllocPolicy. r=nbp
This is possible because we no longer PodCopy the pools.

Use a more reasonable size for the inline memory in the loadOffsets
vector (8 loads instead of 512). This saves stack space when a
MacroAssembler is created on the stack. Use a matching inline size of 8
entries for the poolData array itself.

Don't drop memory in Pool::reset() by calling placement new - call
Vector::clear() instead which hangs on to previously allocated memory
for use by the next pool.

Delete an unused array of pools in arm64/vixl/MozBaseAssembler-vixl.h.

--HG--
extra : rebase_source : 5bf8228d04b7014934dbc4a4dd035b9508910cb8
2015-10-20 12:57:39 -07:00
Jakob Olesen
2b0c9e8667 Bug 1207827 - Use a Vector for poolInfo_. r=nbp
Use a Vector with 8 preallocated slots and a LifoAllocPolicy allocating
from the parent AssemblerBuffer's lifoAlloc_. We'll rarely need more
than 8 constant pools in a single assembler.

We can't actually allocate memory from this->lifoAlloc_ in the
constructor, but it is OK to capture allocator references like the
Vector constructor does.

Add an assertion to initWithAllocator() to verify that we didn't
allocate anything from lifoAlloc_ before the MacroAssembler constructor
had a chance to install an AutoJitContextAlloc.

--HG--
extra : rebase_source : 13fd97a76f2fbf318b0c30532a0f5f9ebb024a91
2015-10-20 12:57:39 -07:00
Jakob Olesen
ba6685b98f Bug 1207827 - Stop perforating AssemblerBuffers. r=nbp
There is no longer a 1-1 correspondence between buffer slices and
constant pools. We no longer need the ability to truncate a buffer
slice prematurely.

This uses less memory.

--HG--
extra : rebase_source : 11fb7941d197991201f9c064f54de5d3078b53bc
2015-10-20 12:57:39 -07:00
Jakob Olesen
cf990027c9 Bug 1207827 - Copy pool data into buffer immediately. r=nbp
Since constant pools have been simplified such that they always follow
the load instructions referencing them, it is now possible to copy the
pool data into the main assembly buffer right away in finishPool()
instead of deferring the copy to executableCopy(). This has the
important effect that BufferOffset values don't need to be adjusted to
account for the size of injected constant pools.

- In finishPool(), copy the constant pool data into the main assembler
  buffer with putBytesLarge() which allows the potentially large pool
  data to be split over multiple slices.

- Stop copying pool data in executableCopy(). It has already
  been copied in finishPool().

- Simplify the PoolInfo data structure to a simple (firstEntry, offset)
  pair which records the necessary information about a single emitted
  constant pool.

- Rewrite poolEntryOffset() to use the new PoolInfo data.

- Simplify poolSizeBefore() to just return 0. This function will be
  removed entirely in a followup patch.

- Stop patching branches in executableCopy() and delete the
  patchBranch() method. Since buffer offsets are reliable when the
  branches are inserted and when labels are bound, there is no need to
  adjust branches to account for constant pools.

- Delete the BufferSliceTail class. It is no longer necessary to
  maintain a bit vector of branch instructions since we don't rewrite
  branches any longer. Use the plain AssemblerBuffer::Slice class
  instead.

This patch implements the basic functional change of copying pool data
immediately instead of deferring it. Followup patches will clean up the
now redundant code.

--HG--
extra : rebase_source : 719225aef25dbf1b4bb7561391224b3c5f8793a5
2015-10-20 12:57:39 -07:00
Jakob Olesen
cd23e799de Bug 1207827 - Fix ARM64 OOM bugs in Assembler::bind(). r=nbp
--HG--
extra : rebase_source : 2fe66f442dd68ebb8a3cf09cb638f649b9e61466
2015-10-20 12:57:39 -07:00
Jakob Olesen
84e7b07d84 Bug 1207827 - Fix OOM error in ARM64 simulator. r=nbp
--HG--
extra : rebase_source : c787540a53aa5e377fb8c28fd62f28dfe1ace289
2015-10-20 12:57:38 -07:00
Jakob Olesen
4d8122b7f6 Bug 1207827 - Add AssemblerBuffer::putBytesLarge. r=nbp
This new method copies a large amount of data into the assembler
buffer, potentially splitting it across multiple slices.

The existing putBytes() method can only copy into a single slice which
limits the maximum since of data that can be inserted and potentially
wastes space at the end of the previous slice.

--HG--
extra : rebase_source : aab678bd50e232a328748232ca039da7d063639a
2015-10-20 12:57:38 -07:00
Tom Schuster
efac7fe726 Bug 1215814 - Small ThrowIfNotConstructing cleanup. r=efaust 2015-10-20 22:05:10 +02:00
Eric Rahm
e6f7a67577 Bug 1174785 - Part 1: Add LogModule, LogModuleManager, and LazyLogModule. r=froydnj
The logging interface is moved to xpcom/base, a LogModule wrapper for PR_Log is
added, a thread-safe LogModuleManager is added, and a LazyLogModule class used
to lazily load log modules in a thread-safe manner is added.

--HG--
rename : xpcom/glue/Logging.h => xpcom/base/Logging.h
extra : rebase_source : 89b76664d9477e2c894448cdea4dae1c61f8ca24
2015-10-19 12:22:11 -07:00
Carsten "Tomcat" Book
07bd9f4a87 Merge m-c to b2g-inbound 2015-10-20 12:36:00 +02:00
Thomas Zimmermann
e3f2696905 Bug 1216182: Rename MODE_MASK to MODE_BITS_MASK, r=hv1989
On Linux, the enumator value MODE_MASK interferes with a C preprocessor
define of the same name. This patch renames MODE_MASK to MODE_BITS_MASK.
2015-10-20 10:47:43 +02: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
Hannes Verschore
93124eec9f Bug 1212305: Also mark lazy link frames, r=jandem 2015-10-21 17:48:01 +02:00
Jon Coppeard
1030f8e32c Bug 1216277 - Don't assert properties of the buffer location if the assembler is out of memory r=jandem 2015-10-21 15:14:13 +01:00
Jon Coppeard
eb78152d61 Bug 1215767 - Rewrite the test for bug 1214006 to be more robust r=lth 2015-10-21 15:14:13 +01:00
Nicolas B. Pierron
9d63b4d6d2 Bug 1108603 - Evaluate ensure that the global is configured such that we can always clone singletons. r=jonco 2015-10-20 18:40:15 +02:00
Jon Coppeard
e8a5ce95b1 Bug 1215555 - Improve simulated OOM testing of ARM assembler buffer and fix bugs r=jolesen 2015-10-19 10:50:51 +01:00
Nicolas B. Pierron
d2a7443155 Bug 1172076 - Improve js::DumpBacktrace to include raw frame pointers and types. r=jandem 2015-10-20 14:57:58 +02:00
Nicolas B. Pierron
b10843500c Bug 1172076 - Assert that SnapshotIterator::initInstructionResults always match the recover instructions data. r=jandem 2015-10-20 14:57:57 +02:00
Jon Coppeard
3306b77a11 Bug 1215363 - Fix a couple of OOM handling issues and make JS_sprintf funcions crash when passed illegal format strings r=terrence 2015-10-20 10:29:46 +01:00
Jon Coppeard
cc1daf0586 Bug 1215058 - Fix various OOM handling issues related to off-thread compilation r=jandem 2015-10-20 10:29:46 +01:00
Bobby Holley
2ae3a1d103 Bug 1198934 - Support special-case WebExtension behavior for TypedArrays. r=billm 2015-10-14 16:57:51 -07:00
Steve Fink
833a3ce77b Backed out 5 changesets (bug 1212624) for breaking stuff.
Backed out changeset cf5ffa45a4a2
Backed out changeset 0d7a968d2d64 (bug 1212624)
Backed out changeset 379edefa8e47 (bug 1212624)
Backed out changeset f73fca35daad (bug 1212624)
Backed out changeset 4f499d30a0e0 (bug 1212624)
2015-10-14 16:49:12 -07:00
Steve Fink
2d1131de73 No bug. check-style include ordering fix. 2015-10-14 16:26:32 -07:00
Steve Fink
d8c1c7098d Bug 1212624 - Make WeakMapBase be a LinkedListElement, r=Waldo
--HG--
extra : rebase_source : b4f30de9e25f14d8cdcd09f724d183f2524e59f7
2015-10-07 12:21:15 -07:00
Steve Fink
d11146d60c Bug 1212624 - Use range-based iteration for various LinkedList<T> in spidermonkey, r=Waldo
--HG--
extra : rebase_source : 2064d71153c2aeb4ae0700d5926d34390aaec68e
2015-10-07 12:19:59 -07:00
Wes Kocher
0cbfd90dd3 Backed out changeset 0ce6e4af854a (bug 1214152) for windows jit test failures 2015-10-14 13:14:29 -07:00
Shu-yu Guo
6ef4878ad8 Bug 1213552 - Followup: add test. 2015-10-14 13:14:39 -07:00
Jeff Walden
72fb5f264f Bug 1052139 - Change the boolean constant controlling whether the global object prototype chain is immutable, to enable immutable-prototype enforcement generally. r=duh 2015-10-13 22:23:19 -07:00
Jeff Walden
c26e1c1dbc Bug 1052139 - One last test-tweak to make a test function whether or not the global prototype chain is mutable. r=me
--HG--
extra : rebase_source : 2be962eaf8b9548f7fbdeb5091a6e83e1e47c3cc
2015-10-13 19:37:26 -07:00
Lars T Hansen
e7ed5e6eb6 Bug 1214152 - early check that shell is executable. r=terrence 2015-10-14 20:22:28 +02:00
Nicolas B. Pierron
d11d5d713f Bug 1214548 - Fix test case: Add guard to check that oomTest function is present. r=jonco
CLOSED TREE
2015-10-14 18:12:20 +02:00
Nicolas B. Pierron
5600a4c53c Bug 1214548 - GenerateLcovInfo: Check that getOrCreateScript does not OOM. r=bhackett 2015-10-14 17:27:30 +02:00
Jan de Mooij
55e8001287 Bug 1208819 - Fix irregexp overrecursion check to ignore interrupts. r=bhackett 2015-10-14 15:13:21 +02:00
Nicolas B. Pierron
224fd0ff0d Bug 1211331 - Ensure that GC slices are terminated such that we can safely iterate the heap. r=terrence 2015-10-14 14:32:40 +02:00
Jon Coppeard
0936ac2256 Bug 1214006 - Take account of the fact that JSScript::atoms may be null while tracing r=terrence
--HG--
extra : rebase_source : 6dea26039415d8b48b46d4f0998811a89a670c59
2015-10-14 13:24:08 +01:00
Jon Coppeard
03157a17ce Bug 1175755 - Only clear GC statistics aborted flag at the end of the outermost nested GC r=bbouvier
--HG--
extra : rebase_source : 4b2b228f7c8637545e352e5b497766cabc1f93dd
2015-10-14 13:24:08 +01:00
Jan de Mooij
d3a0b9cc9d Bug 1211939 - Don't call JSRuntime::onOutOfMemory from helper threads. r=jonco 2015-10-14 12:37:02 +02:00
Jan de Mooij
e9fd48c65a Bug 1214173 - Remove unused MSetPropertyInstruction::needsBarrier_. r=h4writer 2015-10-14 12:35:09 +02:00
Carsten "Tomcat" Book
b5df6bcbac Backed out changeset 30eae53d9cb5 (bug 1211409) for spidermonkey test failures on a CLOSED TREE 2015-10-14 10:45:09 +02:00
Carsten "Tomcat" Book
0c8f234c7f Backed out changeset 315e05e75b35 (bug 1211409) 2015-10-14 10:44:39 +02:00
Lars T Hansen
b85d91e425 Bug 1211409 - fix include order ON CLOSED TREE. 2015-10-14 10:13:30 +02:00
Tooru Fujisawa
372d96ff26 Bug 1214049 - Use ReportOutOfMemory in NativeObject::goodElementsAllocationAmount. r=Waldo
--HG--
extra : commitid : LSM1VK7jkP
extra : rebase_source : 8cb3bb4be0cf3fac6306a2c8d24dae6b349f94ae
2015-10-14 02:55:08 +09:00
Lars T Hansen
3073aa69bc Bug 1211409 - load/store exclusive for ARM-32. r=jolesen 2015-10-09 18:10:37 +01:00
Joel Maher
1eb70fbe5b Bug 1210863 - test_bug618176.xul fails on windows debug with runByDir enabled. r=dvander
--HG--
extra : rebase_source : 73d28be6270179719f42b51dd0978c9afce85abc
2015-10-13 14:10:00 +02:00
Jeff Walden
c9a85da898 Bug 1052139 - Make prototype-setting first create Object.prototype so that subsequent prototype chain-splicing will work correctly. r=bz 2015-10-09 13:21:39 -07:00
Jeff Walden
5a14010e95 Bug 1052139 - Adjust sandbox code to create the sandbox with an (observably) immutable [[Prototype]], once the flag's flipped. r=bz 2015-10-10 18:27:48 -07:00
Tom Schuster
7de30b64ba Bug 1212794 - Remove decompile-body functionality. r=till 2015-10-13 23:43:14 +02:00
Nick Fitzgerald
040e2d5aab Bug 1211006 - Add Debugger.Source.prototype.canonicalId; r=ejpbruel 2015-10-13 09:42:39 -07:00
Terrence Cole
bc130fa093 Bug 1206987 - Only disable the GPF dialog during testing; r=sfink
--HG--
extra : rebase_source : 24779b325030ac836b4b11ff4f0577cc02dd2178
2015-10-13 09:23:17 -07:00
Jon Coppeard
c617698d29 Bug 1212128 - Revert test code changes now issues with oomTest() have been fixed r=jandem 2015-10-13 13:49:05 +01:00
Jon Coppeard
a48bd42655 Bug 1212469 - Fix some OOM handling issues shown up by the previous patch r=jandem 2015-10-13 13:37:08 +01:00
Jon Coppeard
0bba2d39d5 Bug 1212469 - Make oomTest() into a shell function r=nbp 2015-10-13 13:37:07 +01:00
Jon Coppeard
daef6b660b Bug 1212343 - Propagate OOM from SafepointWriter r=nbp 2015-10-08 17:48:53 +01:00
Jan de Mooij
bb2d3f9b64 Bug 1209118 part 11 - Fix and simplify condition in GetPropertyIC::maybeDisable. r=efaust 2015-10-13 13:20:37 +02:00
Jakob Olesen
4021e72f40 Bug 1213881 - Run jsapi-tests in the arm64-sim autospider. r=sfink
--HG--
extra : rebase_source : 37b756d731dbc6b172c434d2819870a809adecb4
2015-10-12 08:48:00 +02:00
Shu-yu Guo
ecb26c53a9 Bug 1213552 - Fix typo in using TI to guard against introducing shadowing global lexical bindings. (r=efaust) 2015-10-12 23:09:42 -07:00
Shu-yu Guo
89fd3f53e8 Bug 1213574 - Fix up static scopes inside scripts wrt the static global lexical scope when merging parse task compartments. (r=jandem) 2015-10-12 23:09:42 -07:00
Jeff Walden
7e3cae8b2c Bug 1214051 - Reject NaN as a sampling probability, and test the floating point value range harder. r=jimb 2015-10-12 22:10:10 -07:00
Heiher
04541852cf Bug 1205167 - IonMonkey: MIPS64: Fix typo in Assembler-mips64. r=nbp
---
 js/src/jit/mips64/Assembler-mips64.cpp | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
2015-10-13 18:12:24 +08:00
Heiher
990f7ecd0c Bug 1213165 - IonMonkey: MIPS32: Fix ion/bug901086.js failed. r=nbp f=rankov
---
 js/src/jit/mips32/Trampoline-mips32.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
2015-10-13 17:15:57 +08:00
Heiher
2382e575d6 Bug 1213742 - IonMonkey: MIPS64: Import BaselineIC-mips64. r=nbp f=rankov
---
 js/src/jit/mips64/BaselineIC-mips64.cpp | 47 +++++++++++++++++++++++++++++++++
 js/src/moz.build                        |  1 +
 2 files changed, 48 insertions(+)
 create mode 100644 js/src/jit/mips64/BaselineIC-mips64.cpp
2015-10-13 17:15:55 +08:00
Heiher
b9a00a0485 Bug 1213741 - IonMonkey: MIPS64: Import BaselineCompiler-mips64. r=nbp f=rankov
---
 js/src/jit/mips64/BaselineCompiler-mips64.cpp | 16 ++++++++++++++++
 js/src/jit/mips64/BaselineCompiler-mips64.h   | 26 ++++++++++++++++++++++++++
 js/src/moz.build                              |  1 +
 3 files changed, 43 insertions(+)
 create mode 100644 js/src/jit/mips64/BaselineCompiler-mips64.cpp
 create mode 100644 js/src/jit/mips64/BaselineCompiler-mips64.h
2015-10-13 17:15:53 +08:00
Heiher
298bfc7a6c Bug 1213740 - IonMonkey: MIPS64: Import Bailouts-mips64. r=nbp f=rankov
---
 js/src/jit/mips64/Bailouts-mips64.cpp | 28 ++++++++++++++++++++++++++++
 js/src/moz.build                      |  1 +
 2 files changed, 29 insertions(+)
 create mode 100644 js/src/jit/mips64/Bailouts-mips64.cpp
2015-10-13 17:15:51 +08:00
Heiher
00ca55f93e Bug 1205167 - IonMonkey: MIPS64: Import Assembler-mips64. r=nbp f=rankov
---
 js/src/jit/mips64/Assembler-mips64.cpp | 493 +++++++++++++++++++++++++++++++++
 js/src/jit/mips64/Assembler-mips64.h   | 186 +++++++++++++
 js/src/moz.build                       |   1 +
 3 files changed, 680 insertions(+)
 create mode 100644 js/src/jit/mips64/Assembler-mips64.cpp
 create mode 100644 js/src/jit/mips64/Assembler-mips64.h
2015-10-13 17:15:48 +08:00
Heiher
d4381dd681 Bug 1205167 - IonMonkey: MIPS: Import MIPS64 support into Assembler-mips-shared. r=froydnj f=rankov
---
 js/src/jit/mips-shared/Assembler-mips-shared.cpp | 280 +++++++++++++++++++++++
 js/src/jit/mips-shared/Assembler-mips-shared.h   | 105 ++++++++-
 2 files changed, 379 insertions(+), 6 deletions(-)
2015-10-13 17:15:46 +08:00
Nick Fitzgerald
3f6f5e744d Bug 1201620 - Follow up: add a missing null check in js::SavedFrame::isSavedFrameOrWrapperAndNotProto; r=terrence 2015-10-12 16:48:07 -07:00
Nick Fitzgerald
f3032c8c01 Bug 1201620 - Make SavedFrame stacks structured cloneable; r=sfink 2015-10-12 13:29:48 -07:00
Jan de Mooij
2ffe42de82 Bug 1209118 part 10 - Fix a performance issue when disabling GetPropertyIC. r=efaust 2015-10-12 22:04:19 +02:00
Nicolas B. Pierron
6022217e06 Bug 1204700 - ARM: Use a different scratch register for store32. r=sstangl 2015-10-12 20:21:07 +02:00
Jan de Mooij
9f75398e43 Bug 1187233 part 1 - Date constructor should create a copy when called with a Date object. Original patch by Giovanni Sferro. r=jwalden
--HG--
extra : rebase_source : 121ec024c500c4614c9c6c87976785e8cbfc3496
2015-07-29 22:47:51 -07:00
Lars T Hansen
a003d98e8b Bug 1203595 - move tests into manual-tests. r=waldo
--HG--
rename : js/src/jit-test/tests/ion/inlining/TypedObject-TypeDescrIsArrayType-unknown.js => js/src/jit-test/manual-tests/TypedObject-TypeDescrIsArrayType-unknown.js
rename : js/src/jit-test/tests/ion/inlining/TypedObject-TypeDescrIsArrayType.js => js/src/jit-test/manual-tests/TypedObject-TypeDescrIsArrayType.js
2015-10-21 15:54:01 +02:00
Jon Coppeard
1e0b65b415 Bug 930414 - Instantiate module function defintions earlier as per the spec r=shu 2015-10-21 10:21:44 +01:00
Jon Coppeard
3b7831939e Bug 930414 - Add debugger support for modules r=shu 2015-10-21 10:21:44 +01:00
Jon Coppeard
59be23d316 Bug 930414 - Replace |thisObject| object op with |thisValue| and use if for modules r=shu r=smaug 2015-10-21 10:21:44 +01:00
Jon Coppeard
59f519ac6f Bug 930414 - Make |this| undefined in modules r=shu 2015-10-21 10:21:44 +01:00
Jon Coppeard
ff7b5cb56e Bug 930414 - Implement module namespaces r=shu 2015-10-21 10:21:44 +01:00
Jon Coppeard
7d8f15c8b5 Bug 930414 - Update module scope chain handling following addition of global lexical scope r=shu 2015-10-21 10:21:43 +01:00
Tooru Fujisawa
a8da00a13f Bug 1208835 - Add telemetry for RegExp static property access after String.prototype.replace with function argument and RegExp static property is changed inside it. r=till,bsmedberg
--HG--
extra : commitid : K27csD0p0cY
extra : rebase_source : cdb2418c23114dfa9442792b3e3541d982036ac6
2015-09-29 16:59:10 +09:00
Tooru Fujisawa
7c285c44e3 Bug 1211164 - Collect JS deprecated language extension telemetry for Add-ons. r=till,bsmedberg
--HG--
extra : commitid : 7dHndrGepgZ
extra : rebase_source : fd4a16cf3317cf3341dad6e31028cfa80a759933
2015-10-04 02:06:54 +09:00
Jan de Mooij
9501e0b09e Bug 1215992 - Terminate control flow for THROWSETCONST/THROWSETALIASEDCONST in IonBuilder. r=shu 2015-10-21 10:09:40 +02:00
Jan de Mooij
7026c2180c Bug 1216151 - Ensure the object has a non-lazy group in SetPropertyIC::tryAttachStub. r=efaust 2015-10-21 10:09:37 +02:00
Jason Orendorff
ca4d61c183 Bug 1211607, part 9 - JS::Call, JS::Construct, and friends. r=jandem.
--HG--
extra : commitid : JJgCSwgvJHN
extra : rebase_source : 888c04eac8a289484d0da7fa6cf5d2026e255a9a
2015-07-13 16:52:53 -05:00
Jason Orendorff
c11a281419 Bug 1211607, part 8 - JS_Enumerate. r=jandem.
--HG--
extra : commitid : 94AhMsWGh2c
extra : rebase_source : 0f9f30ca290909e3f7614b1ab43a01b398ea7ae6
2015-07-13 16:26:09 -05:00
Jason Orendorff
719bd6e36e Bug 1211607, part 7 - JS_DeleteProperty and friends. r=jandem.
--HG--
extra : commitid : BzGN71bZ4J1
extra : rebase_source : 40a26269a446a200045bdd90c749507cd3ad10be
2015-07-13 16:22:47 -05:00
Jason Orendorff
449f4f5543 Bug 1211607, part 6 - JS_SetProperty and friends. r=jandem.
--HG--
extra : commitid : DJ4TPtOSQIm
extra : rebase_source : e43426e1c429bb06d5e3c2704e1c4947e1a055cf
2015-07-13 15:57:04 -05:00
Jason Orendorff
49731758ed Bug 1211607, part 5 - JS_GetProperty and friends. r=jandem.
--HG--
extra : commitid : 3VldLHDAIac
extra : rebase_source : 86511cfc2296a7baedbd402c57857ba124b9ab4d
2015-07-13 15:43:08 -05:00
Jason Orendorff
103ae1a28e Bug 1211607, part 4 - JS_HasProperty and friends. r=jandem.
--HG--
extra : commitid : BIJsqylNFYC
extra : rebase_source : f2be23840b5be1f2a74c849d19b14ba44e3b8448
2015-07-13 15:34:06 -05:00
Jason Orendorff
bb692649e3 Bug 1211607, part 3 - JS_DefineProperty and friends. r=jandem.
--HG--
extra : commitid : 4QqGZSaROPR
extra : rebase_source : dc75dc5f4d59d61ab221d7632cfe6d67adef0663
2015-07-13 15:21:46 -05:00
Jason Orendorff
0139e7087a Bug 1211607, part 2 - JS_GetOwnPropertyDescriptor and friends. r=jandem.
--HG--
extra : commitid : BDiP7Ps6PtX
extra : rebase_source : 208b6edd377fc816c2396e853eddddaae502f387
2015-07-13 15:06:17 -05:00
Jason Orendorff
689e858cea Bug 1211607, part 1 - Document JSAPI functions that call object internal methods: JS_GetPrototype through JS_PreventExtensions. r=jandem.
--HG--
extra : commitid : GL8103oFI0M
extra : rebase_source : 60780301898efa2011140922b7d398ce6b083a49
2015-07-13 14:57:27 -05:00
Steve Fink
2d3abdfef0 Bug 1213024 - Comment the structured clone reading and writing, r=fitzgen
DONTBUILD; comment-only change.

--HG--
extra : commitid : LhEVoK5N2g7
extra : rebase_source : f457edc1b4e5c5dd148f550486190034145dfe8e
2015-10-12 10:32:36 -07:00
Jan de Mooij
f0594f92c9 Bug 1209118 part 9 - rm MGetElementCache, GetElementIC. r=efaust 2015-10-12 14:23:57 +02:00
Jan de Mooij
5aa1a93a85 Bug 1209118 part 8 - Use MGetPropertyCache for GETELEM. r=efaust 2015-10-12 14:23:57 +02:00
Jan de Mooij
f4027682a8 Bug 1209118 part 7 - Disable GetPropertyIC when the IC fails to attach stubs. r=efaust 2015-10-12 14:23:56 +02:00
Jan de Mooij
5a31f43dcf Bug 1209118 part 6 - Move typed-or-unboxed element stub. r=efaust 2015-10-12 14:23:56 +02:00
Jan de Mooij
0a29747577 Bug 1209118 part 5 - Move dense element hole stub. r=efaust 2015-10-12 14:23:56 +02:00
Jan de Mooij
4a1bb93855 Bug 1209118 part 4 - Move dense element stub. r=efaust 2015-10-12 14:23:56 +02:00
Jan de Mooij
71cad2c803 Bug 1209118 part 3 - Move arguments element stub. r=efaust 2015-10-12 14:23:56 +02:00
Jan de Mooij
c93f4ab8c8 Bug 1209118 part 2 - Fix GetPropertyIC stubs. r=efaust 2015-10-12 14:23:56 +02:00
Jan de Mooij
c80ed135ad Bug 1209118 part 1 - Add id operand to MGetPropertyCache. r=efaust 2015-10-12 14:23:55 +02:00
Tooru Fujisawa
472cd29b10 Bug 1211140 - Remove telemetry for RegExpSourceProperty. r=till
--HG--
extra : commitid : CNXXO8TPMDG
2015-10-12 16:44:42 +09:00
Tooru Fujisawa
e94d2dbb48 Bug 1213564 - Fix SpiderMonkey bytecode documentation comment format. r=jandem
--HG--
extra : commitid : JYFsbeU2Qhm
2015-10-10 18:34:28 +09:00
Morris Tseng
6c0c249c5a Bug 709490 - Part 3: Transfer OffscreenCanvas from mainthread to workers. r=baku, r=sfink
Thanks Jon Morton [:jmorton] (jonanin@gmail.com) for polishing patches.

--HG--
extra : rebase_source : 5cbf8b9f53b7d1978c6371dbdb3771f80b94a171
2015-10-12 11:21:03 +08:00
Heiher
44b273355b Bug 1213532 - IonMonkey: MIPS32: Rename BaseFloatRegisters to FloatRegistersMIPSShared. r=arai
---
 js/src/jit/mips32/Architecture-mips32.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2015-10-12 17:14:54 +08:00
Heiher
6add4b90ea Bug 1213532 - IonMonkey: MIPS32: Fix call FloatRegistersMIPSShared::GetName recursive. r=arai
---
 js/src/jit/mips32/Architecture-mips32.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2015-10-12 17:05:02 +08:00
Jakob Olesen
5c240f7a58 Bug 1208674 - Fix ToggleCall to handle constant pools. r=sstangl
Handle constant pools inserted anywhere, even at the initial pointer
location. Don't attempt handling constant pools with natural guard
branches. They are not relevant here (and actually never generated
currently).

Stop flushing constant pools in toggledCall(). Since ToggleCall() does
handle constant pools at any point, there is no need to prevent their
insertion.

Replace the NextInstruction() functions with Instruction::skipPool()
which mimics the ARM implementation.

Add an Instruction::IsStackPtrSync() which recognizes the instructions
inserted by syncStackPtr().
2015-10-11 18:13:09 +02:00
Jakob Olesen
650d8674e8 Bug 1208674 - part 1: Add ToggleCall assertions. r=sstangl
Assert that the ToggleCall() function does not overwrite any unexpected
instructions.
2015-10-11 18:13:09 +02:00
Heiher
a02161d4e3 Bug 1210322 - IonMonkey: MIPS: Rename BaseFloatRegister/s to FloatRegister/sMIPSShared. r=nbp
---
 js/src/jit/mips-shared/Architecture-mips-shared.h | 6 +++---
 js/src/jit/mips32/Architecture-mips32.h           | 4 ++--
 js/src/jit/mips64/Architecture-mips64.h           | 6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)
2015-10-12 04:46:03 +08:00
Heiher
0983771843 Bug 1205166 - IonMonkey: MIPS64: Import Architecture-mips64. r=nbp f=rankov
---
 js/src/jit/mips64/Architecture-mips64.cpp |  76 ++++++++++
 js/src/jit/mips64/Architecture-mips64.h   | 226 ++++++++++++++++++++++++++++++
 js/src/moz.build                          |   6 +-
 3 files changed, 307 insertions(+), 1 deletion(-)
 create mode 100644 js/src/jit/mips64/Architecture-mips64.cpp
 create mode 100644 js/src/jit/mips64/Architecture-mips64.h
2015-10-12 04:45:56 +08:00
Heiher
72beb2cfc6 Bug 1205166 - IonMonkey: MIPS: Import MIPS64 support into Architecture-mips-shared. r=nbp f=rankov
---
 .../jit/mips-shared/Architecture-mips-shared.cpp   |  4 +--
 js/src/jit/mips-shared/Architecture-mips-shared.h  | 33 ++++++++++++++++++----
 2 files changed, 29 insertions(+), 8 deletions(-)
2015-10-12 04:45:49 +08:00
Jeff Walden
a83ec4837b Bug 1052139 - Continued work on making the global object's prototype chain immutable, once a switch is flipped. r=bz
--HG--
extra : rebase_source : ca97d872091b35bb3b729f971f8cbfed404fd7bc
2015-10-09 13:21:39 -07:00
Terrence Cole
9ba17a864f Bug 1213133 - Remove jit-test's legacy multiprocessing and serial task runners; r=sfink 2015-10-09 13:39:17 -07:00
Terrence Cole
1e2222982c Bug 1213129 - Share worker count derivation code between jit and js test suites; r=sfink 2015-10-09 13:39:05 -07:00
Boris Zbarsky
b90baf6535 Bug 1213289 part 1. Change dom::Throw to take an XPCOM string, not a raw C string, for the message. r=bkelly 2015-10-09 16:48:10 -04:00
Terrence Cole
842a6a169a Bug 1213127 - Switch jit-tests over to using jstest's task runner; r=sfink
--HG--
extra : rebase_source : e7898cef866653af74374cc5440a9005fc6fbcad
2015-10-09 13:28:59 -07:00
Terrence Cole
8ee503dbff Bug 1213365 - Share environment control code between js and jit test harnesses; r=sfink
--HG--
extra : rebase_source : ed75f1c4bb4d3ca853f1b6e6d9b93f019d39cc24
2015-10-09 12:56:27 -07:00
Terrence Cole
7f709faaea Bug 1213111 - Extract progressbar from jittest's process_test_results; r=sfink
--HG--
extra : rebase_source : 3704f33be30bb370218b38246b27a17ac8c7b546
2015-10-09 12:54:57 -07:00
Terrence Cole
3d9eb107a8 Bug 1213104 - Pass the ProgressBar directly, since we are no longer using results; r=sfink
--HG--
extra : rebase_source : 37fe5b3614ddd2165ead9d2366e643691f507187
2015-10-09 12:54:25 -07:00
Jeff Walden
75b257996c Bug 1052139 - Make more parts of the global object's prototype chain immutable, when we flip that switch. r=bz
--HG--
extra : rebase_source : 7d196acc689d26153ba2462ff2c78fc94ec7351a
2015-10-08 15:08:13 -07:00
Eric Faust
980f4a8f37 Bug 1105463 - Follow up: Fix erroneous syntax test. (r=theSheriffMadeMeDoIt) 2015-10-09 13:22:10 -07:00
Eric Faust
6bdfc72d37 Bug 1105463 - Implement default constructors for ES6 class definitions. (r=jorendorff) 2015-10-09 09:33:57 -07:00
Wes Kocher
e97be1e0dc Backed out changeset cf4cdc781c72 (bug 1105463) for build bustage CLOSED TREE 2015-10-09 09:55:35 -07:00
Eric Faust
3dbb3a51aa Bug 1105463 - Implement default constructors for ES6 class definitions. (r=jorendorff) 2015-10-09 09:33:57 -07:00
Lars T Hansen
cecee28175 Bug 1212390 - correct test case. r=jonco 2015-10-09 11:53:31 +01:00
Tooru Fujisawa
90a36b2cba Bug 1208341 - Make NativeObject::goodElementsAllocationAmount fallible. r=Waldo
--HG--
extra : commitid : 4CMt7MTHfMA
extra : rebase_source : cee060f532cd62f8286726fb7d13479eb6f74232
2015-09-25 23:12:39 +09:00
Lars T Hansen
38703f8d07 Bug 1212390 - fix lingering bugs around oomAtAllocation. r=jonco 2015-10-09 10:58:12 +01:00
Eric Faust
917310817d Bug 1141863 - Followfollowfollowup: Remove redundant assert causing rooting hazards. (r=Waldo over IRC) CLOSED TREE 2015-10-08 21:07:47 -07:00
Jeff Walden
3aa6df2874 Bug 1141863 - Last followup fix for a couple jstest failures. r=orange in a CLOSED TREE 2015-10-08 20:03:47 -07:00
Jeff Walden
3ea4cb95a0 Bug 1206594 - Followup hazard-fix. r=H-bustage in a CLOSED TREE 2015-10-08 18:56:11 -07:00