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

51636 Коммитов

Автор SHA1 Сообщение Дата
Jon Coppeard d50dbaf2da Bug 1216607 - Fix assertion failure ARM assembler on OOM r=jandem 2015-10-26 10:16:51 +00:00
Shu-yu Guo e22912e1bf Bug 1167029 - Followup: remove now-unused DeprecatedLetBlock telemetry. (rs=efaust) 2015-10-27 20:13:17 -07:00
Shu-yu Guo d68a20c4a7 Bug 932517 - Treat let as a contextual keyword in sloppy mode and make it versionless. (r=jorendorff) 2015-10-27 20:13:17 -07:00
Jason Orendorff 536ae59cee Bug 1217001 - Part 11: Get rid of the last goto in BytecodeEmitter::emitVariables(). r=shu.
--HG--
extra : commitid : 4CPmLmrWL1l
extra : rebase_source : a44f203eb9d6dd35aa6914bc68c9ee7a285674de
2015-10-14 18:59:36 -05:00
Jason Orendorff c1ac383a91 Bug 1217001 - Part 10: Delete redundant boolean argument. r=shu.
--HG--
extra : commitid : Gz8Tfr7ZQ1j
extra : rebase_source : 34c0e5ec50d708c93bd5c0aa89bf121cb81e1093
2015-10-14 18:54:19 -05:00
Jason Orendorff 73010d67b4 Bug 1217001 - Part 9: Remove PNX_POPVAR. r=shu.
--HG--
extra : commitid : HZuhuYI77ri
extra : rebase_source : 7a9a0d138e77f495b63ad535e545610813d13b29
2015-10-14 17:26:16 -05:00
Jason Orendorff 3faca8dcbc Bug 1217001 - Part 8: Eliminate all uses of PNX_POPVAR. r=shu.
--HG--
extra : commitid : JlsGVMYs2Jl
extra : rebase_source : edcd1890a258e5aa8f7e0779192db471cef4e8e1
2015-10-14 18:47:02 -05:00
Jason Orendorff 993969eefd Bug 1217001 - Part 7: Change BytecodeEmitter::emitNormalFor() to decouple it from weird expectations about BytecodeEmitter::emitVariables(). r=shu.
In particular, before this patch, emitNormalFor expected `emitTree(|var x = 3;|)` to leave the value `3` on the operand stack. This is totally weird and must die.

--HG--
extra : commitid : H3z2cyYZdyB
extra : rebase_source : d5e262b25a56ca95d1a36289c7b7a9be0c760154
2015-10-14 17:22:52 -05:00
Jason Orendorff 264bd1bc9d Bug 1217001 - Part 6: Eliminate some `continue` statements. r=shu.
--HG--
extra : commitid : AjSauVCC2uI
extra : rebase_source : feda21c817e7cd8aaed0e7d3b22e61391e8be782
2015-10-14 16:47:22 -05:00
Jason Orendorff 153d73e7ab Bug 1217001 - Part 5: Further revise control structure in BytecodeEmitter::emitVariables(). r=shu.
--HG--
extra : commitid : 3XjXKWS7MNk
extra : rebase_source : d6a5b43a44f7ca95c123705a055c2db0ade5dfbd
2015-10-14 16:07:03 -05:00
Jason Orendorff aea3d1a5b4 Bug 1217001 - Part 4: Improve the comments on VarEmitOption. r=shu.
--HG--
extra : commitid : 7Noyvd57pmn
extra : rebase_source : 013f400cc0658deae9312224ddefa5bf820cbb58
2015-10-14 14:38:07 -05:00
Jason Orendorff f55551c9d0 Bug 1217001 - Part 3: Remove one goto statement. r=shu.
--HG--
extra : commitid : 9SxNl4NzWY5
extra : rebase_source : b1552c15130d60202a77f29e44ec65a1aece7717
2015-10-14 14:26:46 -05:00
Jason Orendorff 4b39d8d385 Bug 1217001 - Part 2: Rename two local variables and improve some old comments. r=shu.
--HG--
extra : commitid : 9asVWnOZ54g
extra : rebase_source : 651ca8e9a9654b645ff09aa189474ee50e6c1796
2015-10-14 14:26:15 -05:00
Jason Orendorff 763594faa4 Bug 1217001 - Refactor BytecodeEmitter::variables. Part 1: preliminaries. r=shu.
--HG--
extra : commitid : 3gVlpKVM1gf
extra : rebase_source : 49faabfc198de36911a1d45b761cfe8e0d7563b9
2015-10-14 14:08:51 -05:00
Jason Orendorff bf34b5b7e7 Bug 1216966 - Part 5: Code organization and comments around parsing comprehensions. r=efaust.
--HG--
extra : commitid : 9UZpM2OMfLB
extra : rebase_source : f32a22c398c9429817e42f0d8b38c5db873e69c7
2015-10-14 12:05:22 -05:00
Jason Orendorff 92007f69a8 Bug 1216966 - Part 4: Update a big comment about for-loops in Parser.cpp. r=efaust.
--HG--
extra : commitid : Fh2dnLkYJTF
extra : rebase_source : 914501ee34ec25e548fbc12c7889252f32a1c800
2015-10-14 08:58:11 -05:00
Jason Orendorff dad2eee821 Bug 1216966 - Part 3: Remove redundant method Parser::parenExprOrGeneratorComprehension. r=efaust.
--HG--
extra : commitid : KQVHggIqNe0
extra : rebase_source : 2ed7960dc3132ee3da9a9ba717950bdc7dbb24f1
2015-10-13 20:57:17 -05:00
Jason Orendorff 6591a938a6 Bug 1216966 - Part 2: Tweak a comment about comprehension syntax. r=efaust.
--HG--
extra : commitid : CSXoptkZYCm
extra : rebase_source : 2fa85d4984790aa8d3367409a5b03924b4755b8d
2015-10-13 20:55:10 -05:00
Jason Orendorff 81046417ef Bug 1216966 - Part 1: Splurge and use separate error messages for generator comprehensions that need more parentheses and yield expressions that need more parentheses. r=efaust.
--HG--
extra : commitid : IPM20a3EZYh
extra : rebase_source : 1092460266c2213da5367ce24998952ee85f9c19
2015-10-13 20:51:47 -05:00
Tooru Fujisawa 236fae84bb Bug 819125 - Reset return value before executing catch/finally block. r=jandem
--HG--
extra : commitid : GB7mCyiMYBH
extra : rebase_source : 318b043d58577320e98858d48040cfeedc9f3781
extra : amend_source : 5152ea756c727f1c4a43fc24b5a094a7c7246f7a
2015-10-28 03:41:04 +09:00
Tooru Fujisawa e38179386a Bug 1219057 - Do not show "Unable to print stack trace" for exception thrown while compiling top-level script. r=jandem
--HG--
extra : commitid : 4am0S9Z4gxO
extra : rebase_source : cbe8a5c98a833ea750940470d4fb178ba7562d35
2015-10-28 08:58:35 +09:00
Steve Fink 1ab1e39ec5 Bug 1215752 - Weakmap refactoring, r=terrence
--HG--
extra : rebase_source : d912254e42d12f90c8f5fea5eeee750021668433
2015-10-15 16:59:11 -07:00
Sean Stangl 1c8b35cef0 Bug 1218587 - Add -G option for running jit-tests under rr. r=terrence 2015-10-26 15:11:40 -07:00
Shu-yu Guo 54b7ac24f4 Bug 932517 - Followup: remove let-block logic in sloppy mode ES6 let declaration check. (rs=evilpie) 2015-10-28 14:37:54 -07:00
Terrence Cole 2ee6159bdb Bug 1219419 - Keep DefaultTracer simple for now; r=fitzgen
--HG--
extra : rebase_source : e9d040a6d574f5fa60158ff8521cde1cab08e14c
2015-10-28 13:42:16 -07:00
Eric Faust 681b839a18 Bug 1201460 - Follow up: Ensure added classes tests are safe for uplift. (rs=jorendorff) 2015-10-28 13:01:07 -07:00
Eric Faust ac8e914c48 Bug 1215889 - Fix tests for uplift. (r=jorendorff) 2015-10-28 13:01:06 -07:00
James Willcox d5915db3a4 Bug 1209260 - Don't use sincos on iOS r=npb 2015-10-28 14:10:29 -05:00
Nicolas B. Pierron 867a147a46 Bug 1186973 - Evaluate assertEqBytecode: Print length as numbers. r=h4writer 2015-10-28 18:51:59 +00:00
Boris Zbarsky 7ae3b58eb6 Bug 1039986. Make Function.prototype.toString work on Web IDL interface objects. r=jorendorff,peterv 2015-10-27 16:25:14 -04:00
Tooru Fujisawa f8b8735722 Bug 1201783 - Throw range error for too long array spread before updating length. r=Waldo, a=abillings
--HG--
extra : commitid : A83oR4MCrfU
extra : rebase_source : 5655ec1def8fe235397d34ff1a37eccf4a5b6545
extra : amend_source : cb0ba64475ac4d790f018fd8fdc90e40be69dd2e
2015-10-21 21:35:46 +09:00
Heiher 1a1f9a1869 Bug 1218652 - IonMonkey: MIPS: Add mips-shared in check macroassembler style. r=arai
---
 config/check_macroassembler_style.py | 2 +-
 js/src/jit/MacroAssembler.h          | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
2015-10-28 07:35:06 +08:00
Heiher 7cbdec59d1 Bug 1218652 - IonMonkey: MIPS: Move shared functions to mips-shared. r=arai
---
 .../mips-shared/MacroAssembler-mips-shared-inl.h   |  84 ++++++++++
 .../jit/mips-shared/MacroAssembler-mips-shared.cpp | 185 +++++++++++++++++++++
 js/src/jit/mips32/MacroAssembler-mips32-inl.h      |  61 +------
 js/src/jit/mips32/MacroAssembler-mips32.cpp        | 175 -------------------
 4 files changed, 271 insertions(+), 234 deletions(-)
 create mode 100644 js/src/jit/mips-shared/MacroAssembler-mips-shared-inl.h
2015-10-28 07:35:03 +08:00
Heiher 58a4d68436 Bug 1218641 - IonMonkey: MIPS64: Add support into asmjs. r=lth
---
 js/src/asmjs/AsmJSFrameIterator.cpp | 19 ++++++++++++++-----
 js/src/asmjs/AsmJSModule.cpp        | 36 +++++++++++++++++++++++++++++++++++-
 js/src/asmjs/AsmJSModule.h          |  6 +++---
 js/src/asmjs/AsmJSValidate.cpp      | 18 +++++++++---------
 4 files changed, 61 insertions(+), 18 deletions(-)
2015-10-28 07:35:01 +08:00
Heiher 4b15027501 Bug 1218636 - IonMonkey: MIPS64: Add support into shell. r=lth
---
 js/src/shell/js.cpp | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)
2015-10-28 07:34:59 +08:00
Nicolas B. Pierron bfb45e1d22 Bug 991249 - Ensure that we can check for OOMs when we run out of ballast space. r=jandem 2015-10-27 14:50:09 +00:00
Birunthan Mohanathas 44936aabb2 Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Kyle Huey c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Heiher fe4db105c1 Bug 1217873 - IonMonkey: MIPS: Move BailoutStack to architecture dependent. r=arai f=nbp
---
 js/src/jit/mips-shared/Bailouts-mips-shared.cpp                     | 5 +----
 js/src/jit/mips32/Bailouts-mips32.cpp                               | 4 ++--
 .../Bailouts-mips-shared.h => mips32/Bailouts-mips32.h}             | 6 +++---
 js/src/jit/mips32/Trampoline-mips32.cpp                             | 2 +-
 js/src/jit/mips64/Bailouts-mips64.cpp                               | 4 ++--
 .../Bailouts-mips-shared.h => mips64/Bailouts-mips64.h}             | 6 +++---
 js/src/jit/mips64/Trampoline-mips64.cpp                             | 2 +-
 7 files changed, 13 insertions(+), 16 deletions(-)
 copy js/src/jit/{mips-shared/Bailouts-mips-shared.h => mips32/Bailouts-mips32.h} (93%)
 rename js/src/jit/{mips-shared/Bailouts-mips-shared.h => mips64/Bailouts-mips64.h} (93%)

--HG--
rename : js/src/jit/mips-shared/Bailouts-mips-shared.h => js/src/jit/mips32/Bailouts-mips32.h
rename : js/src/jit/mips-shared/Bailouts-mips-shared.h => js/src/jit/mips64/Bailouts-mips64.h
2015-10-27 18:21:38 +08:00
Heiher eead0ff209 Bug 1205134 - IonMonkey: MIPS: Split shareable code to mips-shared in MacroAssembler-mips32. r=lth f=nbp
---
 .../MacroAssembler-mips-shared.cpp}                | 2977 +-------------------
 .../MacroAssembler-mips-shared.h}                  | 1236 +-------
 js/src/jit/mips32/MacroAssembler-mips32.cpp        |  766 -----
 js/src/jit/mips32/MacroAssembler-mips32.h          |  158 +-
 js/src/moz.build                                   |    1 +
 5 files changed, 118 insertions(+), 5020 deletions(-)
 copy js/src/jit/{mips32/MacroAssembler-mips32.cpp => mips-shared/MacroAssembler-mips-shared.cpp} (14%)
 copy js/src/jit/{mips32/MacroAssembler-mips32.h => mips-shared/MacroAssembler-mips-shared.h} (11%)

--HG--
rename : js/src/jit/mips32/MacroAssembler-mips32.cpp => js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp
rename : js/src/jit/mips32/MacroAssembler-mips32.h => js/src/jit/mips-shared/MacroAssembler-mips-shared.h
2015-10-27 18:21:31 +08:00
Jakob Olesen 90ca5522d7 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.
2015-10-26 17:06:09 -07:00
Jakob Olesen 529ad0893c 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_.
2015-10-26 17:06:09 -07:00
Jakob Olesen ebcd10e003 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.
2015-10-26 17:06:09 -07:00
Jakob Olesen f1cc8e12a3 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.
2015-10-26 17:06:09 -07:00
Jakob Olesen ca549c8443 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.
2015-10-26 17:06:09 -07:00
Jakob Olesen b797f4ee8c 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.
2015-10-26 17:06:09 -07:00
Jakob Olesen cb1f2413d6 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.
2015-10-26 17:06:08 -07:00
Jakob Olesen 0645e48476 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.
2015-10-26 17:06:08 -07:00
Jakob Olesen 2bb2ea249b 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.
2015-10-26 17:06:08 -07:00
Jakob Olesen f14b5f58a2 Bug 1217061 - Report OOMs in IonCache::linkAndAttachStub(). r=djvj
The method IonCache::linkAndAttachStub() can run out of memory in a few
ways: When adding entries to the global jit code table, and when
generating code through the macro assembler.

Make sure to call ReportOutOfMemory() before returning false when that
happens. Otherwise we won't get the right of error reported, and OOM
simulation tests fail.

The Linker already calls ReportOutOfMemory(), so we don't need to
handle those calls.
2015-10-26 15:39:51 -07:00
Shu-yu Guo 4e6d1736a6 Bug 1167029 - Remove support for let blocks. (r=jorendorff) 2015-10-26 14:13:25 -07:00
Shu-yu Guo d7e6363a53 Bug 1214048 - Improve callee-not-a-function error for spread calls. (r=jorendorff) 2015-10-26 14:13:25 -07:00
Carsten "Tomcat" Book 9edb90c808 Backed out changeset 5d6aca60d59c (bug 1216607) for failing on own test 2015-10-26 12:24:55 +01:00
Heiher 599674a40b Bug 1219143 - IonMonkey: MIPS: Move callAndPushReturnAddress to mips-shared. r=lth
---
 js/src/jit/MacroAssembler.h                         |  4 ++--
 .../jit/mips-shared/MacroAssembler-mips-shared.cpp  | 18 ++++++++++++++++++
 js/src/jit/mips32/MacroAssembler-mips32.cpp         | 21 ---------------------
 3 files changed, 20 insertions(+), 23 deletions(-)
2015-10-30 01:44:18 +08:00
Heiher 3ade8effb3 Bug 1218638 - IonMonkey: MIPS64: Add support into jit/shared. r=lth
---
 js/src/jit/shared/Assembler-shared.h       | 3 ++-
 js/src/jit/shared/CodeGenerator-shared.cpp | 4 ++--
 js/src/jit/shared/CodeGenerator-shared.h   | 2 +-
 js/src/jit/shared/Lowering-shared-inl.h    | 2 +-
 4 files changed, 6 insertions(+), 5 deletions(-)
2015-10-30 01:44:16 +08:00
Heiher 8b2abf4370 Bug 1217873 - IonMonkey: MIPS64: Simplify BailoutStack for MIPS64. r=lth
---
 js/src/jit/mips64/Bailouts-mips64.cpp      |  2 +-
 js/src/jit/mips64/Bailouts-mips64.h        | 47 +++++-------------------------
 js/src/jit/mips64/CodeGenerator-mips64.cpp |  4 +--
 js/src/jit/mips64/Trampoline-mips64.cpp    | 24 +++++++--------
 4 files changed, 21 insertions(+), 56 deletions(-)
2015-10-30 01:44:15 +08:00
Heiher 17eb853510 Bug 1217873 - IonMonkey: MIPS: Move visitOutOfLineBailout to architecture dependent. r=arai f=nbp
---
 js/src/jit/mips-shared/CodeGenerator-mips-shared.cpp | 10 ----------
 js/src/jit/mips-shared/CodeGenerator-mips-shared.h   |  2 +-
 js/src/jit/mips32/CodeGenerator-mips32.cpp           | 10 ++++++++++
 js/src/jit/mips32/CodeGenerator-mips32.h             |  1 +
 js/src/jit/mips64/CodeGenerator-mips64.cpp           | 10 ++++++++++
 js/src/jit/mips64/CodeGenerator-mips64.h             |  1 +
 6 files changed, 23 insertions(+), 11 deletions(-)
2015-10-30 01:44:13 +08:00
Heiher 336293cd18 Bug 1213743 - IonMonkey: MIPS64: Import CodeGenerator-mips64. r=lth f=nbp,rankov
---
 js/src/jit/mips64/CodeGenerator-mips64.cpp | 282 +++++++++++++++++++++++++++++
 js/src/jit/mips64/CodeGenerator-mips64.h   |  75 ++++++++
 js/src/moz.build                           |   1 +
 3 files changed, 358 insertions(+)
 create mode 100644 js/src/jit/mips64/CodeGenerator-mips64.cpp
 create mode 100644 js/src/jit/mips64/CodeGenerator-mips64.h
2015-10-30 01:44:11 +08:00
Heiher 61f4c3417a Bug 1213743 - IonMonkey: MIPS: Import MIPS64 support into CodeGenerator-mips-shared. r=arai
---
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 31 ++++++++++++++++++++--
 1 file changed, 29 insertions(+), 2 deletions(-)
2015-10-30 01:44:08 +08:00
Jon Coppeard a17d33df4f Bug 1216607 - Fix assertion failure ARM assembler on OOM r=jandem 2015-10-26 10:16:51 +00:00
Jan de Mooij 1a5fb5ffcd Bug 1214126 part 5 - Remove SetElementIC. r=efaust 2015-10-26 11:10:19 +01:00
Jan de Mooij 92d446a593 Bug 1214126 part 4 - Move IC stubs from SetElementIC to SetPropertyIC. r=efaust 2015-10-26 11:10:19 +01:00
Jan de Mooij 199ed2c64c Bug 1214126 part 3 - Use IC for JSOP_SETELEM in more cases. r=efaust 2015-10-26 11:10:19 +01:00
Jan de Mooij e6fea48c59 Bug 1214126 part 2 - Use SetProperty IC for JSOP_SETELEM. r=efaust 2015-10-26 11:10:19 +01:00
Jan de Mooij eb2fb53b7a Bug 1214126 part 1 - Add extra 'id' operand to SetProperty IC. r=efaust 2015-10-26 11:10:19 +01:00
Tom Tromey 17654ddd0f Bug 863089 - replace Debugger.Script.getOffsetLine with getOffsetLocation; r=fitzgen 2015-10-22 09:35:00 +02:00
Jan de Mooij fe880dd5d1 Bug 1175111 - Fix enumeration order for indexed properties. r=jorendorff 2015-10-24 20:59:50 +02:00
Heiher 115d577221 Bug 1215420 - IonMonkey: MIPS32: Fix FloatRegister::encoding. r=nbp
---
 js/src/jit/mips32/Architecture-mips32.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2015-10-25 06:02:16 +08:00
Heiher bde62bfe5a Bug 1213750 - IonMonkey: MIPS64: Import Trampoline-mips64. r=nbp f=rankov
---
 js/src/jit/mips64/Trampoline-mips64.cpp | 1319 +++++++++++++++++++++++++++++++
 js/src/moz.build                        |    1 +
 2 files changed, 1320 insertions(+)
 create mode 100644 js/src/jit/mips64/Trampoline-mips64.cpp
2015-10-25 06:02:07 +08:00
Heiher 54fae228c6 Bug 1213749 - IonMonkey: MIPS64: Import SharedIC-mips64. r=nbp f=rankov
---
 js/src/jit/mips64/SharedIC-mips64.cpp        | 191 +++++++++++++++
 js/src/jit/mips64/SharedICHelpers-mips64.h   | 350 +++++++++++++++++++++++++++
 js/src/jit/mips64/SharedICRegisters-mips64.h |  47 ++++
 js/src/moz.build                             |   1 +
 4 files changed, 589 insertions(+)
 create mode 100644 js/src/jit/mips64/SharedIC-mips64.cpp
 create mode 100644 js/src/jit/mips64/SharedICHelpers-mips64.h
 create mode 100644 js/src/jit/mips64/SharedICRegisters-mips64.h
2015-10-25 06:01:59 +08:00
Heiher 741f94a70a Bug 1213747 - IonMonkey: MIPS: Import MIPS64 support into MoveEmitter-mips-shared. r=nbp f=rankov
---
 js/src/jit/mips-shared/MoveEmitter-mips-shared.cpp | 39 +++++++++++++++++++++-
 js/src/jit/mips-shared/MoveEmitter-mips-shared.h   |  1 +
 2 files changed, 39 insertions(+), 1 deletion(-)
2015-10-25 06:01:47 +08:00
Heiher 50a8044948 Bug 1213745 - IonMonkey: MIPS64: Import Lowering-mips64. r=nbp f=rankov
---
 js/src/jit/mips64/LIR-mips64.h        |  52 ++++++++++++++
 js/src/jit/mips64/LOpcodes-mips64.h   |  16 +++++
 js/src/jit/mips64/Lowering-mips64.cpp | 128 ++++++++++++++++++++++++++++++++++
 js/src/jit/mips64/Lowering-mips64.h   |  50 +++++++++++++
 js/src/moz.build                      |   1 +
 5 files changed, 247 insertions(+)
 create mode 100644 js/src/jit/mips64/LIR-mips64.h
 create mode 100644 js/src/jit/mips64/LOpcodes-mips64.h
 create mode 100644 js/src/jit/mips64/Lowering-mips64.cpp
 create mode 100644 js/src/jit/mips64/Lowering-mips64.h
2015-10-25 06:01:42 +08:00
Tooru Fujisawa b4a8c57d5c Bug 1202134 - Save return value onto the stack before executing finally block. r=jandem
--HG--
extra : commitid : F5bVUkIo8Kl
extra : rebase_source : df4be26d3b72d9998af65d0ac8db8d7f49e08aac
2015-10-17 23:30:20 +09:00
Tooru Fujisawa 4462768ce3 Bug 1212719 - Throw SyntaxError immediately for unexpected TOK_TRIPLEDOT. r=Waldo
--HG--
extra : commitid : 1K5yBMpWmf7
extra : rebase_source : de3ff0a85afbe9551448a8ebfd77c3b935ce3d52
2015-10-08 17:31:23 +09:00
Wes Kocher dd50b531bf Bug 1217963 - Correct the spelling of "corect" rs=mossop
--HG--
extra : commitid : KIXf5DKKRrc
extra : source : 3f3fbf4e7a52b1bbb2848edd65eaacc7282b1a01
2015-10-23 16:02:56 -07:00
Wes Kocher b1b8cc1e90 Merge m-c to inbound, a=merge
--HG--
extra : commitid : FfOh7UtTKPC
2015-10-23 15:51:31 -07:00
Wes Kocher 4fa57a6039 Merge inbound to central, a=merge
--HG--
extra : commitid : DZp5o9P5r4R
2015-10-23 15:37:37 -07:00
Carsten "Tomcat" Book c138c48fd1 Merge m-c to fx-team 2015-10-23 11:51:27 +02:00
Jeff Walden b2aa4e334a Bug 1217069 - Don't attempt to mis-optimize JSON.stringify's filter-list creation for replacer arrays with trailing holes. r=arai
--HG--
extra : rebase_source : e8b85f8ecc7196f011e77c618ad2d5f7060fc324
2015-10-21 17:06:16 -07:00
Jeff Walden 84010a57d1 Bug 1215430 - Refactor RegExp code to be more spec-like in its ordering of things, and eliminate the confusing statefulness of RegExpObjectBuilder. r=efaust
--HG--
extra : rebase_source : 6f5069325e11d3222ce9d2cdc13d09e2506fe359
2015-10-16 00:30:02 -07:00
Jeff Walden 7ed8c84c6d Bug 1215430 - Inline the guts of the shared method implementing |new RegExp(...)| and |RegExp.prototype.compile| into each separate method, for clarity. r=efaust
--HG--
extra : rebase_source : ce7902b93faafdbe23322c6ae2ca214d0d6b3a7c
2015-10-16 00:29:38 -07:00
Jakob Olesen af8d2aeb55 Bug 1217606 - Handle OOM in Assembler::emitExtendedJumpTable(). r=sstangl
Assertions would trip if the assembler buffer runs out of memory midway
through the jump table.
2015-10-22 16:06:44 -07:00
Jakob Olesen e02f306961 Bug 1207827 - Fix ARM64 OOM bugs in Assembler::bind(). r=nbp 2015-10-22 15:06:38 -07:00
Jakob Olesen bed8cd6e79 Bug 1207827 - Fix OOM error in ARM64 simulator. r=nbp 2015-10-22 15:06:37 -07:00
Victor Carlquist 8cf2c98bf5 Bug 1215999 - ARM64: Remove unnecessary float registers definitions. r=jolesen 2015-10-21 19:49:33 -02:00
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