Commit Graph

56913 Commits

Author SHA1 Message Date
h4writer
9b0e31e532 Bug 1302417: TraceLogging - Don't run the debug check when the item is an error, r=bbouvier 2016-09-20 14:48:50 +02:00
Hannes Verschore
e9fb49f8f5 Bug 1300546: IonMonkey: Make sure the registers of lhs and rhs don't overlap during ALU, r=bbouvier 2016-09-20 14:48:52 +02:00
Terrence Cole
e03f58644e Bug 1227750 - Expose black to gray cross compartment edges instead of resetting the GC; r=jonco
--HG--
extra : rebase_source : 27ebe7f618787488c3a7f68b52e955c23d761f04
2016-09-21 09:33:07 -07:00
Terrence Cole
33e0dd3abc Bug 813683 - No need for Rekeyable Hashtable for C++ VMFunction* pointers; r=nbp
--HG--
extra : rebase_source : 5c6ce02ad98aaeccbd8bdda37b0c86916bfb6b7a
2016-09-21 09:32:51 -07:00
Jon Coppeard
80a9ca513a Bug 1304081 - Add more use of shouldCancel() to avoid pauses when cancelling off thread Ion compilation r=nbp 2016-09-21 15:27:45 +01:00
Jon Coppeard
d6b364b06a Bug 1294767 - Add assertions that type sets do not contain cross compartment pointers r=jandem 2016-09-21 15:27:44 +01:00
Carsten "Tomcat" Book
23879d2b18 Merge mozilla-central to mozilla-inbound 2016-09-21 12:07:46 +02:00
Carsten "Tomcat" Book
4f900773f5 merge mozilla-inbound to mozilla-central a=merge 2016-09-21 12:03:31 +02:00
Carsten "Tomcat" Book
4fd246e6b8 merge fx-team to mozilla-central a=merge 2016-09-21 12:02:19 +02:00
Nick Fitzgerald
4cccd11998 Bug 1304209 - Remove Debugger.Script.prototype.canonicalId. r=shu
The `canonicalId` getter is never actually used, and isn't implemented in the
most principled way. Therefore, let's get rid of it, before it turns into
technical debt.
2016-09-20 15:11:00 -04:00
Carsten "Tomcat" Book
8910ca900f merge mozilla-inbound to mozilla-central a=merge 2016-09-20 12:01:29 +02:00
Jan de Mooij
c67efa31d7 Bug 1293311 - Handle OOM in ArgumentsObject::finishForIon properly. r=nbp 2016-09-19 21:04:06 +02:00
Benjamin Bouvier
b56f71f878 Bug 1303122: Don't re-add an already seen bounds check if it's not redundant; r=luke
MozReview-Commit-ID: 4pthpbRTmpD

--HG--
extra : rebase_source : 97aba7dd3331da2b61524cf118c5e1933230e098
2016-09-15 21:35:13 +02:00
Benjamin Bouvier
8bcffcf0f7 Bug 1303122: Handle stack in codegen of LCompareAndBranchI on x64; r=luke
MozReview-Commit-ID: EV5JUmcNYeh

--HG--
extra : rebase_source : 85b3d15920ad2dc85bff70d4f94b9569c393ef47
2016-09-15 21:34:36 +02:00
Bill McCloskey
50c44c717c Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-09-16 20:35:11 -07:00
Bill McCloskey
a51047b439 Bug 1279086 - Allow multiple interrupt callbacks (r=dvander) 2016-09-16 20:33:49 -07:00
Andrew McCreight
51db16e7f5 Bug 1288909, part 4 - Use a strong reference to the set in ClassInfo2NativeSetMap. r=billm
Entries should end up getting cleared out from this table before the
value dies, so let's just make the reference strong so that any
mistakes will result in leaks and not use-after-frees.

Using smart pointer classes with PLDHashtable is a little
questionable, and I don't want to convert this one hash table to
nsTHashtable, so I use manual addref and release.

MozReview-Commit-ID: Kfg9veS6r11

--HG--
extra : rebase_source : 865ab48c2cf67546dd705cf79f8873efe695ac5c
2016-09-06 12:58:27 -07:00
Andi-Bogdan Postelnicu
c574b38335 Bug 1301333 - mark XPCJSContext::Initialize as initialisation function for XPCJSContext. r=bobbyholley
MozReview-Commit-ID: HYj244xg1VD
2016-09-16 15:00:52 +03:00
Makoto Kato
bea30b374e Bug 1303982 - Define CarrySet and CarryClear for non-JIT platform. r=bbouvier
MozReview-Commit-ID: 7VarACNjdIx
2016-09-21 10:58:19 +09:00
Heiher
5425c1d66f Bug 1303688 - Baldr: MIPS: Move memory barrier to WasmLoad/Store. r=luke
---
 js/src/jit/mips-shared/CodeGenerator-mips-shared.cpp | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
2016-09-21 09:56:02 +08:00
Phil Ringnalda
86d3aebd18 Backed out changeset c9f2cb674778 (bug 1303118) for failures in browser_dbg_watch-expressions-02.js 2016-09-20 18:20:25 -07:00
Heiher
9f272ce341 Bug 1303689 - IonMonkey: MIPS: Implement popcnt32. r=arai
---
 js/src/jit/MacroAssembler.h                        |  3 ++-
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 19 +------------------
 .../mips-shared/MacroAssembler-mips-shared-inl.h   | 22 ++++++++++++++++++++++
 3 files changed, 25 insertions(+), 19 deletions(-)
2016-09-21 08:58:10 +08:00
Heiher
fb9d0996d9 Bug 1303688 - Baldr: MIPS: Take advantage of guard page to simplify asm.js/wasm memory access. r=luke
---
 js/src/jit/mips-shared/Assembler-mips-shared.h     |  2 +
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 66 +++++-----------------
 js/src/jit/mips-shared/CodeGenerator-mips-shared.h |  1 +
 .../mips-shared/MacroAssembler-mips-shared-inl.h   |  3 +
 .../jit/mips-shared/MacroAssembler-mips-shared.cpp | 31 ++++++++++
 .../jit/mips-shared/MacroAssembler-mips-shared.h   |  4 ++
 js/src/jit/mips32/MacroAssembler-mips32-inl.h      |  5 +-
 js/src/jit/mips32/MacroAssembler-mips32.cpp        | 20 ++++++-
 js/src/jit/mips32/MacroAssembler-mips32.h          |  6 +-
 js/src/jit/mips64/MacroAssembler-mips64-inl.h      |  5 +-
 js/src/jit/mips64/MacroAssembler-mips64.cpp        | 20 ++++++-
 js/src/jit/mips64/MacroAssembler-mips64.h          |  6 +-
 12 files changed, 106 insertions(+), 63 deletions(-)
2016-09-21 08:58:05 +08:00
Shu-yu Guo
12e768fe6d Bug 1303118 - Fix 'this' computation for Debugger.Frame.evalWithBindings. (r=efaust) 2016-09-20 16:03:19 -07:00
Terrence Cole
f782b9ec74 Bug 1291776 - Assert that we don't create gray arguments; r=sfink
--HG--
extra : rebase_source : 6d27a748f0eafe6e1995a54c2820dd0519ca5850
2016-09-15 13:50:03 -07:00
Nicolas B. Pierron
7bf949b840 Bug 1301690 - IonMonkey: Prevent using getPropTryDefiniteSlot when primitives can be used as object. r=jandem 2016-09-20 15:28:41 +00:00
Henri Sivonen
eea6b5c9c8 Bug 1288084 - Expose a line number for each attribute, v2; r=wchen 2016-09-20 16:31:57 +02:00
Benjamin Bouvier
38920d4ca6 Bug 1303085: Add nearbyint/nearbyintf to fdlibm; r=arai
MozReview-Commit-ID: GahbeGVPKs

--HG--
extra : rebase_source : 521205f9c6fe5d559efa2d0c854f906857c10f36
extra : histedit_source : bd0bf1fb258fc6aac8a33b18f529a43f0130ff68
2016-09-15 20:57:47 +02:00
Sebastian Hengst
63beebe912 Backed out changeset 5caa69daaa2a (bug 1302417) for asserting at TraceLogging.cpp line 548 in many spidermonkey tests. r=backout 2016-09-20 15:44:57 +02:00
Sebastian Hengst
57176d6ee5 Backed out changeset 73ac0ad42d63 (bug 1300546) for failing own test on arm64. r=backout 2016-09-20 15:43:40 +02:00
Hannes Verschore [:h4writer]
3dce725f3d Bug 1303809 - Fix ion/bug1293542.js to not fail when merging to aurora. r=bbouvier 2016-09-20 02:08:00 +02:00
Hannes Verschore
75ca14183b Bug 1300546: IonMonkey: Make sure the registers of lhs and rhs don't overlap during ALU, r=bbouvier 2016-09-20 14:48:52 +02:00
h4writer
c31b9c2d2e Bug 1302417: TraceLogging - Don't run the debug check when the item is an error, r=bbouvier 2016-09-20 14:48:50 +02:00
Carsten "Tomcat" Book
17d545681a Merge mozilla-central to mozilla-inbound 2016-09-20 12:02:20 +02:00
Andrew McCreight
946ffa2384 Bug 1288909, part 3 - XPCWrappedNative:: and XPCWrappedNativeProto::Mark() don't do anything any more. r=billm
Also clean up some random comments for code that was deleted earlier.

MozReview-Commit-ID: 8JQx0FAH8wA

--HG--
extra : rebase_source : 614bda8caf0647ff0220986904ac6fb5fd4573a8
2016-08-05 13:56:14 -07:00
Andrew McCreight
58a9259670 Bug 1292694 - Don't skip marking at Shutdown due to fear of "bad locking problems". r=mrbkap
MozReview-Commit-ID: HetNpQR2s8Y

--HG--
extra : rebase_source : 727a86bcacf35c6f0ab68ba69d1860839cb27730
2016-08-05 15:19:41 -07:00
Yen Chi Hsuan
80b867a458 Bug 1143421 - install file copies instead of symlinks for Spidermonkey. r=glandium 2016-08-25 15:51:55 +08:00
Andrew McCreight
93c15e825f Bug 1288909, part 2 - Remove a bunch of now-useless XPCNativeSet marking-related things. r=billm
MozReview-Commit-ID: 4YRn9Wx64a4

--HG--
extra : rebase_source : 7298dfd78142a1d544922fb5f78f7ca4a5562a6c
2016-07-27 16:38:42 -07:00
Andrew McCreight
bbaa5c3f54 Bug 1288909, part 1 - Implement refcounting of XPCNativeSet. r=billm
This patch is similar to bug 1288870.

Strong references:

- XPCCallContext::mSet: Like XPCNativeInterface, this only roots it
when |mState >= HAVE_NAME|, and again this only requires changing
SystemIsBeingShutDown().

- XPCWrappedNativeProto::mSet and XPCWrappedNative::mSet. These become
RefPtrs.

- stack: AutoMarkingNativeSetPtr become RefPtr<XPCNativeSet>. This
lets me eliminate some uses of AutoJSContext. This is the bulk of the
patch.

Weak references:

- mNativeSetMap. This reference gets cleared in the dtor. This
requires bug 1290239 to actually find the entry for removal.

- mClassInfo2NativeSetMap. The reference is in the value for this hash
table, and we don't have the key in the set dtor. Fortunately, the
only code that adds to this table is
XPCNativeSet::GetNewOrUsed(nsIClassInfo* classInfo), which in turn is
only called by GetNewOrUsed(nsIClassInfo* classInfo). This code
creates a new XPCWrappedNativeProto, which (with my patch) holds a
strong reference to the set that has been added to the table. This set
is never changed or released until the dtor for the proto, which calls
ClearCacheEntryForClassInfo(), removing the entry from the
hashtable. Thus, the lifetime of the set is always going to be longer
than the lifetime of the entry.

Other notes:

- Like XPCNativeInterface, this class uses placement |new| that
requires a special destruction function, which with my patch is hidden
away in the refcounting code.

- This patch delete a bunch of marking/sweeping code from
XPCJSRuntime::FinalizeCallback(), because the lifetimes are managed by
the refcounting now. Some of the marking code is left behind to be
cleaned up in a later patch.

- I didn't see any methods that had XPCNativeSet** outparams.

- MOZ_COUNT_{CTOR,DTOR}(XPCNativeSet) is not needed because it is now
refcounted.

MozReview-Commit-ID: 7oTorCwda1n

--HG--
extra : rebase_source : 0c477e18c405e4ea88393279cf8bea62c5b0f4c7
2016-07-27 16:38:30 -07:00
Mike Shal
08c00f4fad Bug 1304133 - explicitly list selfhosted.js output in GENERATED_FILES; r=chmanchester
MozReview-Commit-ID: Fwd6SWGs1X1

--HG--
extra : rebase_source : 3329106f7d1ead13f3ea4e3b3fa81f7b5cd09dc8
2016-09-19 13:43:18 -04:00
Wes Kocher
611fb66887 Backed out changeset 39da44265946 (bug 1263595) for build bustage a=backout CLOSED TREE 2016-09-16 14:19:22 -07:00
Eric Faust
db0cfdc6bc Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj) 2016-09-15 21:35:14 -07:00
Luke Wagner
797090f8ab Bug 1299359 - Odin: split out separate JitOptions.asmJSAtomicsEnable (rs=lth)
MozReview-Commit-ID: CIzSy3lTcNN
2016-09-16 10:06:17 -05:00
Brian Hackett
da1d95253f Bug 1302523 - Don't start incremental GCs if they have been disabled, r=sfink.
--HG--
extra : rebase_source : bea0b930a6c908b4ad5c5dfdb22fab108bbb4dff
2016-09-14 08:07:44 -06:00
Benjamin Bouvier
2078b849b7 Bug 1290932: Build the ARM simulator (on x86) with -msse2 -mfpmath=sse; r=glandium
MozReview-Commit-ID: CNO8qKifC2N

--HG--
extra : rebase_source : 49f8d35470d4fd82ef64906830435ad9107ae03b
2016-09-12 19:06:19 +02:00
Benjamin Bouvier
56e8d89e42 Bug 1302723: Use an input copy in LAssertRangeF register allocation; r=nbp
MozReview-Commit-ID: BWTri00AoJq

--HG--
extra : rebase_source : 8d3edc90182af8a5659da1603b29cf2a7670ec31
2016-09-14 15:10:37 +02:00
Phil Ringnalda
6beabc555f Backed out changeset 48694b762a84 (bug 1263595) for -Werror bustage
CLOSED TREE
2016-09-15 22:04:50 -07:00
Eric Faust
c725e729c5 Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj) 2016-09-15 21:35:14 -07:00
Wes Kocher
14c8653f72 Merge inbound to central, a=merge 2016-09-15 16:28:10 -07:00
Steve Fink
ad325bdac3 Bug 1302125 - Limit number of ERROR: GC found live Cell messages, r=mccr8
--HG--
extra : rebase_source : 93aba8f04ffbbab8b4b96842ef2d0a5e377514d9
2016-09-14 16:56:35 -07:00
Steve Fink
62bd9194f0 Bug 1301764 - Implement JS_GC_REPORT_TENURING to report what is getting tenured, r=terrence
--HG--
extra : rebase_source : f1be2ad91b5848470fe486894ee7105fcc12c7bf
2016-09-13 14:03:40 -07:00
Steve Fink
e1d35bb444 Bug 1298804 - Missing OOM check in getCloneBuffer, r=jonco
--HG--
extra : rebase_source : 7a67cf28f422f2a035a65b5717a5746dcad396ae
2016-09-08 16:23:47 -07:00
Andrew McCreight
ac4b6dabc5 Bug 1300830 - Remove XPCJSRuntime::mDetachedWrappedNativeProtoMap. r=mrbkap
Nothing is ever added to this hash table.

MozReview-Commit-ID: 7gmlBZKNPOc

--HG--
extra : rebase_source : 9a14e405facedc8148c5dd8e363f98c691e23231
2016-09-07 11:49:38 -07:00
Wes Kocher
f779775754 Backed out changeset 4bb39c7c98dd (bug 1271650) for ASAN leaks a=backout 2016-09-14 10:51:36 -07:00
Luke Wagner
171ec3369e Bug 1284156 - Baldr: use ToNonWrappingUint32 for range checks (r=bbouvier)
MozReview-Commit-ID: 1oVQYPlF89J

--HG--
extra : rebase_source : 365a915d22ee8bd72a3d7ed81fa3a910b96d2387
2016-09-14 11:54:17 -05:00
Luke Wagner
6a30ba8b4e Bug 1284156 - Baldr: add Table.prototype.grow (r=bbouvier)
MozReview-Commit-ID: 8g92o4GXQ82

--HG--
extra : rebase_source : 64dc4699727be013eeb3c9dcca86e519598e1880
2016-09-14 11:46:10 -05:00
Eddy Bruel
9f0a0cfe9f Bug 1271650 - Implement a C++ interface for DebuggerFrame.onStep. 2016-09-14 18:23:12 +02:00
Eddy Bruel
9b9679672a Bug 1271650 - Factor our processParsedResumptionValue(Helper). 2016-09-14 18:22:03 +02:00
Eddy Bruel
dd1f6a2fdc Bug 1271650 - Remove processResumptionValueHelper. r=jimb 2016-09-14 18:19:46 +02:00
Luke Wagner
91bfa8067c Bug 1302434 - Baldr: fix unified bustage (r=bbouvier)
MozReview-Commit-ID: 61nhNdVZcx5

--HG--
extra : rebase_source : 0ccf65e2eade397b39d2b2722cf585dcd44f365d
2016-09-14 09:20:15 -05:00
Luke Wagner
73207ea044 Bug 1302407 - Remove now-unnecessary assert in SharedArrayMappedSize() (r=bbouvier)
MozReview-Commit-ID: 632vxGqHGz4

--HG--
extra : rebase_source : a2ef73dfb76eaf3fffaa5c6a8beb9e77462e9eff
2016-09-14 09:19:46 -05:00
Luke Wagner
a69501f944 Bug 1302409 - Baldr: handle Linux si_code == SI_KERNEL corner case in out-of-bounds signal handler (r=bbouvier)
MozReview-Commit-ID: F2TKrDdj8Oo

--HG--
extra : rebase_source : 647601b6d7c80e3c5f601798476d2ffc3abcf554
2016-09-14 09:18:50 -05:00
Ted Mielczarek
e254cc07b8 bug 1298422 - vendor byteorder into third-party/rust. r=froydnj
MozReview-Commit-ID: ChKCKiIVEfq

--HG--
extra : rebase_source : c0da7411a2f0b7fc171c9ebb99fce91361944aa5
2016-09-08 15:12:34 -07:00
Jan de Mooij
7f794780e0 Bug 1302448 part 2 - Rename XPCJSRuntime to XPCJSContext. r=mrbkap
--HG--
rename : js/xpconnect/src/XPCJSRuntime.cpp => js/xpconnect/src/XPCJSContext.cpp
extra : rebase_source : e6b435ab1ca2739e340669195dff77c561ea573e
2016-09-14 15:48:17 +02:00
Jan de Mooij
a53986bf29 Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8
--HG--
rename : xpcom/base/CycleCollectedJSRuntime.cpp => xpcom/base/CycleCollectedJSContext.cpp
rename : xpcom/base/CycleCollectedJSRuntime.h => xpcom/base/CycleCollectedJSContext.h
extra : rebase_source : 075214b5057f151520926715b6154e99ae80a0b3
2016-09-14 15:47:32 +02:00
Carsten "Tomcat" Book
9a2448ee1c Merge mozilla-central to mozilla-inbound 2016-09-14 12:11:09 +02:00
Carsten "Tomcat" Book
d2c3fe7fd3 merge autoland to mozilla-central a=merge 2016-09-14 12:07:02 +02:00
Nicolas B. Pierron
405f3fd73c Bug 1302142 - Accept any value as valid input for MIteratorStart. r=jandem 2016-09-14 09:48:19 +00:00
Zibi Braniecki
8ef8bb9efc Bug 1289340 - Expose Intl.DateTimeFormat.prototype.formatToParts. r=waldo
MozReview-Commit-ID: Ii7TqMDRzu4
2016-09-13 20:49:21 -07:00
Tooru Fujisawa
c0fc17d9f4 Bug 1298779 - Port jskwgen to Python. r=jwalden 2016-09-14 12:16:41 +09:00
Ryan VanderMeulen
739f3dac5a Merge m-c to autoland. a=merge 2016-09-13 20:46:39 -04:00
Sander Mathijs van Veen
b25bbcece4 Bug 1292136 - Eliminate Unbox:Object opcode that follows a LoadUnboxedPointerV opcode. r=nbp
--HG--
extra : rebase_source : ef5dac5c2db15ce399cfcd1c2ca15a7ae650c2f1
2016-09-12 03:41:00 -04:00
Phil Ringnalda
7f35accb95 Backed out changeset e2bca303ae69 (bug 1296249) for bug1296249.js failures
CLOSED TREE
2016-09-13 19:08:44 -07:00
Sander Mathijs van Veen
1224dada49 Bug 1296249 - Assertion failure: nbytes > 0, at js/src/gc/Nursery.cpp:357. r=jandem
--HG--
extra : rebase_source : 7a3a4f558983543103f2845a8c875f774a2b64ce
2016-09-13 17:22:51 -04:00
Benjamin Bouvier
daec611782 Bug 1288778: Add a telemetry probe for usage of asm.js / wasm; r=luke, data-review=bsmedberg
MozReview-Commit-ID: D8yiiobompo

--HG--
extra : rebase_source : 889800ed00a5f05522bd8235491dfd0bee059f9a
extra : amend_source : 268b1d5b811e58d2748f9780992e4769432cb681
2016-09-08 16:07:15 +02:00
Gregory Szorc
99515b1b1a Bug 1283203 - Update to Visual Studio 2015 Update 3, SDK 10.14393.0; r=glandium
Visual Studio 2015 Update 3 has been out for a few months. It appears
stable. So let's start using it.

As part of this, we also update the Windows SDK to the version
corresponding with the Windows 10 Anniversary Update (10.14393.0).

MozReview-Commit-ID: C36sRlKqa8t

--HG--
extra : rebase_source : 2fd46d6053d3eaf62dd8b2b291881c5172cc6056
2016-09-09 10:35:15 -07:00
Nathan Froyd
d39c537a2f Bug 1298472 - part 1 - suppress more warnings in clang-cl; r=glandium
clang-cl accepts #pragma intrinsic like MSVC, but ignores it, unlike
MSVC.  We're not concerned with the difference here, so just ignore
the warning.

MozReview-Commit-ID: 3FrVqHpIntq

--HG--
extra : rebase_source : 2609c513f287246e46b436a15d2a786164f91b13
2016-09-09 09:00:31 -04:00
Mike Hommey
935ad653b8 Bug 1299919 - Set CPP/CXXCPP from python configure. r=chmanchester 2016-09-13 13:25:18 +09:00
Luke Wagner
add9f4b8ce Bug 1284156 - Baldr: add missing Table.set post-barrier (r=sfink)
MozReview-Commit-ID: 9oxYAhbLzo4
2016-09-12 21:07:24 -05:00
Terrence Cole
53ce3cf8b9 Bug 1159541 - Use normal paths for TypeSet::Type tracing; r=sfink 2016-09-12 11:20:09 -07:00
Wes Kocher
c96ab8d4d6 Backed out changeset d863b2778bdb (bug 1159541) for SM bustage a=backout
CLOSED TREE
2016-09-12 13:49:17 -07:00
Terrence Cole
93beacd73a Bug 1159541 - Use normal paths for TypeSet::Type tracing; r=sfink 2016-09-12 11:20:09 -07:00
Luke Wagner
01e7cc1cbd Bug 1284156 - Baldr: split 'bad indirect call' error message (r=bbouvier)
MozReview-Commit-ID: 2LvujDnZrnH
2016-09-12 14:49:47 -05:00
Luke Wagner
57de4fdae6 Bug 1284156 - Baldr: simplify representation of null table elements (r=bbouvier)
MozReview-Commit-ID: 1hyFX6CCGqR
2016-09-12 14:49:39 -05:00
Luke Wagner
f5f4065c66 Bug 1301797 - Ion: re-add Uint8Clamped case to CodeGeneratorX86::visitLoadTypedArrayElementStatic (r=bbouvier)
MozReview-Commit-ID: C3PeYGslsGm
2016-09-12 14:49:36 -05:00
Terrence Cole
6af2f7d660 Bug 1257387 - Move OOM callback annotation to the common runtime for workers; r=mccr8
--HG--
extra : rebase_source : 3278a5bc32ce245003b890fbfbbf4f32e3d42944
2016-09-13 10:57:07 -07:00
Jan de Mooij
452b70821a Bug 1297706 - Syntax parse arrow functions. r=shu 2016-09-13 14:14:32 +02:00
Jon Coppeard
d97a19687b Bug 1298639 - Use bytecode offsets rather than direct pointer in profiling API r=shu 2016-09-13 14:06:46 +02:00
Andi-Bogdan Postelnicu
49c5b78e8b Bug 1282408 - add ignore initialization check flag for alwaysBaseline from CompileArgs. r?=luke
MozReview-Commit-ID: L5ymS8HUczi
2016-07-27 17:04:56 +03:00
Jeff Walden
915fe80b6f Bug 1186962 - Add a test. r=jorendorff
--HG--
extra : rebase_source : ac7a753daf9c56a9362eaccde00b4a15d5e0dacc
2015-09-04 16:58:17 -07:00
Jeff Walden
7226144e69 Bug 1253099 - Add a test for reentrant creation of the first RegExp in a global, during argument processing. r=efaust
--HG--
extra : rebase_source : 47058e5430788072e1b15d89e18558cb4cba5f0a
2016-03-05 04:27:00 -08:00
Jeff Walden
4b45c4dafc Bug 1253099 - Add a test for RegExp.prototype.compile's behavior when applied to a RegExp with non-writable .lastIndex. r=arai
--HG--
extra : rebase_source : b9a4b750ea3d49631604d020a5640866f909092d
2016-03-05 04:26:59 -08:00
Jeff Walden
ce731a2d3c Bug 1242810 - Test. r=jandem
--HG--
extra : rebase_source : 10227ea1305d0b0686c8ffda61875861c6fce4f1
2016-03-02 17:52:09 -08:00
Jeff Walden
b99315effb Bug 1253099 - Add some comments. r=arai, r=efaust
--HG--
extra : rebase_source : 7996749d247d3680285bbe25f61497b4394d8458
2016-03-10 19:40:58 -08:00
Jeff Walden
176f2f5a05 Bug 1246061 - Add some comments. r=luke
--HG--
extra : rebase_source : 6577e0ab9834fa00f3f0fe2893a6b039bb70f5f3
2016-03-23 13:21:02 -07:00
Jeff Walden
335ef2b3c6 Bug 1288460 - Allow escape sequences in the keyword-like but non-reserved 'static' Identifier (in non-strict code). r=arai
--HG--
extra : rebase_source : fce79a5f82551c3f699e9de4bc09676b277a8688
2016-08-30 09:37:26 -07:00
Jeff Walden
327cce50c3 Bug 1288460 - Allow escape sequences in the keyword-like but non-reserved 'let' Identifier (in non-strict code). r=arai
--HG--
extra : rebase_source : 953fc9fa2747a031360db5405d83e551ef2e1a96
2016-08-30 09:37:26 -07:00
Jeff Walden
f222967fd3 Bug 1288460 - Parse names in a ton of places using Parser::* functions directly named after spec productions rather than open-coding them. This centralizes many of the static-semantics rules checks in a very few places. r=arai
--HG--
extra : rebase_source : 6c2f019724d442fb5e486e71d578d380fab7b066
2016-08-30 09:37:26 -07:00
Nick Fitzgerald
d232f6b1cc Bug 1301791 - Add a script to run octane N times and aggregate results as a CSV, and another script to plot that CSV data; r=sfink 2016-09-12 09:36:26 -07:00
Terrence Cole
5694dcca06 Bug 1237058 - Nursery allocate cross-compartment wrappers; r=jonco,r=terrence
--HG--
extra : rebase_source : b01515c98e505d10824b420e0df8a7e9aaf45793
2016-04-04 11:50:12 -07:00
Till Schneidereit
78b35d2daf Bug 1298776 - Skip test in builds without oomTest to fix bustage. r=me
MozReview-Commit-ID: 72qAT5M640s
2016-09-12 17:07:36 +02:00
Till Schneidereit
cbb0ee47c1 Bug 1298776 - Handle nullptr return from CreatePromiseObjectInternal in PromiseObject::create. r=evilpie
MozReview-Commit-ID: Hp6Y7yrOQBk
2016-09-12 16:36:04 +02:00
Andi-Bogdan Postelnicu
5660fcb461 Bug 1302064 - prevent static analysis use after free checker for base. r=luke
MozReview-Commit-ID: KPotPnrAOD9
2016-09-12 16:46:40 +03:00
Jon Coppeard
345f9dd40c Bug 844769 - Don't access heap state from off main thread r=terrence 2016-09-09 19:29:45 +01:00
Luke Wagner
df054c1154 Bug 1284156 - Baldr: add Memory.grow, fix ArrayBuffer (r=bbouvier)
MozReview-Commit-ID: 57bO0obFfs3
2016-09-08 17:17:22 -05:00
Luke Wagner
81d49fd9d9 Bug 1284156 - Baldr: prevent use of wasm buffers for asm.js (r=bbouvier)
MozReview-Commit-ID: POJm82OLqD
2016-09-09 10:50:50 -05:00
Nicholas Nethercote
8c9e80a613 Bug 1297300 - Add missing checks to GetSpec() calls in caps/ and js/. r=mrbkap.
This required making GetScriptLocation() fallible.

--HG--
extra : rebase_source : a678e86c443988897d88550bec1cd1d21c3e919e
2016-08-30 14:22:04 +10:00
Nick Fitzgerald
27bab57092 Bug 1294242 - Don't assert that errno hasn't been set; r=terrence
In general, tons of code in mozilla-central doesn't check and/or unset errno, so
we can't rely on it being unset here.
2016-09-08 17:21:44 -07:00
Shu-yu Guo
4ab8c57d14 Bug 1301491 - Fix implicit this computation for global objects. (r=Waldo) 2016-09-08 16:05:15 -07:00
Emanuel Hoogeveen
4a5470e722 Bug 1301449 - Fix assertions in MapAlignedPages to make it more intuitive. r=terrence CLOSED TREE
--HG--
extra : source : e140b4ed15b062f6b0a435204161311417e633df
extra : amend_source : 5ae1f4464e31534bde951c117550c8f7c6b5ec5e
2016-09-08 15:46:54 -07:00
Luke Wagner
b087b05311 Bug 1284156 - Throw when attempting to steal/transfer an ArrayBuffer aliasing WebAssembly.Memory (r=sfink)
MozReview-Commit-ID: ChqSBp0xGWx

--HG--
extra : rebase_source : 20e16010922ecf75a6ca6714d50e815f784b086a
2016-09-08 13:51:47 -05:00
Luke Wagner
6d05ae4548 Bug 1284156 - Add a way to safely initialize an ArrayBuffer after GC allocation (r=sfink)
MozReview-Commit-ID: HCU1cWkh6GZ

--HG--
extra : rebase_source : d2fffcd6fbeb895f9df167929555bdddec22e96a
2016-09-08 13:51:15 -05:00
Luke Wagner
d3c8d3fae3 Bug 1301208 - Baldr: don't verify instructions if there was an oom (r=bbouvier)
MozReview-Commit-ID: 61kKb7xEVCQ

--HG--
extra : rebase_source : 84104ebb4a047de6f193cfb32b72a5a298aa8f57
2016-09-08 11:02:38 -05:00
Luke Wagner
d9ad73e886 Bug 1301191 - Baldr: handle interrupt signal while mutating instance vector (r=bbouvier)
MozReview-Commit-ID: Eo97B4RqVRF

--HG--
extra : rebase_source : e560495c26f7bef966940ea5d5a9c93a2c4ab5ca
2016-09-08 11:01:42 -05:00
Tooru Fujisawa
b2e122e612 Backed out changeset 8272530c90ef (bug 1276626) for bug 1284511 r=blassey 2016-09-09 00:45:40 +09:00
Tooru Fujisawa
cbdf488f5b Backed out changeset 2872d7dca33b (bug 1284511) r=blassey 2016-09-09 00:45:40 +09:00
Hannes Verschore
f818d84ee1 Bug 1300515: TraceLogger - Ignore debug checks when stack is empty, r=bbouvier 2016-09-08 17:00:18 +02:00
Jon Coppeard
c5e590d3e6 Bug 1297360 - Copy strings returned by ProfilingFrameIterator API r=djvj 2016-09-08 13:38:37 +01:00
Jon Coppeard
d27c885d1e Bug 1300893 - Fix yielding before we start sweeping in multi-slice incremental GCs r=sfink 2016-09-08 13:38:37 +01:00
Luke Wagner
67399f9a58 Bug 1298202 - Baldr: also support growing memory when no max is specified (r=sunfish)
MozReview-Commit-ID: 27W5phJe8Q6
2016-09-08 00:53:06 -05:00
Luke Wagner
c40c6322bf Bug 1298202 - Baldr: take advantage of guard page to simplify asm.js/wasm memory access (r=sunfish)
MozReview-Commit-ID: 1jlCJCGUf29

--HG--
extra : rebase_source : d2b29cd23b20a3fc705fb7d89aa537b5fdc39e36
2016-09-08 00:49:46 -05:00
Luke Wagner
82381266a2 Bug 1298202 - Baldr: allocate a guard page on wasm 32-bit (r=sunfish)
MozReview-Commit-ID: IpYhSxkB4Lb

--HG--
extra : rebase_source : f6baf433e367691c48ab2c442325ad0b04a271af
2016-09-08 00:09:07 -05:00
Shu-yu Guo
b4fde1a1c9 Bug 1300517 - Handle Debugger.Frame.evals when throwing uninitialized 'this'. (r=jandem) 2016-09-07 17:11:08 -07:00
Shu-yu Guo
017191603e Bug 1300528 - Fix refactoring mistake in GetThisValueForDebuggerMaybeOptimizedOut. (r=jandem) 2016-09-07 17:11:08 -07:00
Shu-yu Guo
f21a53d912 Bug 1300521 - Fix CanDeclareGlobalFunction checks for functions redeclaring vars in the same script. (r=Waldo) 2016-09-07 17:11:07 -07:00
Emanuel Hoogeveen
029a5e6bcf Bug 1299803 - Part 2: Clean up AllocateMappedContent and make it consistent across all OSes. r=sfink
--HG--
extra : rebase_source : acdba3bb418cb85defda44259321c75fa8829196
2016-09-02 08:09:00 -04:00
Emanuel Hoogeveen
3d8187d17f Bug 1299803 - Part 1: Fix and enable tests that were still disabled on Windows. r=sfink
--HG--
extra : rebase_source : f1d6660a9951032fc9e47c0ceff36f49778c540f
2016-09-01 06:58:00 -04:00
Terrence Cole
0391a50050 Bug 1289165 - Apply the optimizations in moveDenseElements to unboxed objects; r=sfink 2016-09-06 13:47:34 -07:00
Jan de Mooij
8224ea607f Backed out changeset c1c9882472df (bug 1297652) for cgc timeouts. 2016-09-07 19:20:37 +02:00
Benjamin Bouvier
d7f71336a1 Bug 1292723: Implement a basic WebAssembly.validate; r=luke
MozReview-Commit-ID: FRNy8jS0v3e

--HG--
extra : rebase_source : 718c52e1fc6c2a443e4390745774d175a3695bb1
2016-09-07 17:52:31 +02:00
Benjamin Bouvier
7378fff852 Bug 1301029: Remove disabled memory exports tests in basic.js; r=luke
MozReview-Commit-ID: 7jEt2U2hypp

--HG--
extra : rebase_source : 326f874e47db0d7f65e8359b1e42f3100134bc17
2016-09-07 12:24:34 +02:00
Benjamin Bouvier
d30ca38c59 Bug 1301029: Hoist textToBinary and evalText in lib/wasm.js; r=luke
MozReview-Commit-ID: GkdlrEGQNZZ

--HG--
extra : rebase_source : d0646354a3b789f940e732bb8265339ef087af01
2016-09-07 12:22:25 +02:00
Benjamin Bouvier
4b5c43f388 Bug 1301029: Remove the basic- prefix from wasm test cases; r=luke
MozReview-Commit-ID: AwF3KR7FDdp

--HG--
rename : js/src/jit-test/tests/wasm/basic-bce.js => js/src/jit-test/tests/wasm/bce.js
rename : js/src/jit-test/tests/wasm/basic-const.js => js/src/jit-test/tests/wasm/const.js
rename : js/src/jit-test/tests/wasm/basic-control-flow.js => js/src/jit-test/tests/wasm/control-flow.js
rename : js/src/jit-test/tests/wasm/basic-float.js => js/src/jit-test/tests/wasm/float.js
rename : js/src/jit-test/tests/wasm/basic-grow-memory.js => js/src/jit-test/tests/wasm/grow-memory.js
rename : js/src/jit-test/tests/wasm/basic-integer.js => js/src/jit-test/tests/wasm/integer.js
rename : js/src/jit-test/tests/wasm/basic-memory.js => js/src/jit-test/tests/wasm/memory.js
rename : js/src/jit-test/tests/wasm/random-control-flow.js => js/src/jit-test/tests/wasm/regress/misc-control-flow.js
extra : rebase_source : eea81300d30a3386f88eb18c72324e6cc1b87a33
2016-08-30 12:52:27 +02:00
Jan de Mooij
ce7c400f58 Bug 1300548 - Fix the iterator cache to not reuse iterators in different compartments. r=jonco 2016-09-07 16:55:06 +02:00
Michael Layzell
e12728495c Bug 1018486 - Part 9: Changes to account for modifications to clang plugin, r=ehsan
MozReview-Commit-ID: EPQMbfHYxUK
2016-09-07 10:50:47 -04:00
Michael Layzell
36e08437d0 Bug 1018486 - Part 8: Various other changes, r=smaug
MozReview-Commit-ID: B0dsomkWgEk
2016-09-07 10:50:45 -04:00
Luke Wagner
9e75229d27 Bug 1300963 - Baldr: remove dead AsmJSInterrupt Ion nodes (r=bbouvier)
MozReview-Commit-ID: GCafiz10kfv
2016-09-07 09:42:23 -05:00
Luke Wagner
b8aae7baaa Bug 1300963 - Baldr: remove default import special case (r=bbouvier)
MozReview-Commit-ID: 70z75lLaHEK
2016-09-07 09:42:20 -05:00
Jon Coppeard
199bb0eeee Bug 1298356 - Fix test bustage r=me 2016-09-07 12:05:27 +01:00
Jan de Mooij
b1a515910e Bug 1296015 - Don't allocate typed arrays with the wrong AllocKind when tenuring. r=terrence,smvv 2016-09-07 12:49:00 +02:00
Jan de Mooij
44923722a8 Bug 1297652 - Remove jit-test workaround for Windows/NSPR threading issues. r=fitzgen 2016-09-07 12:47:09 +02:00
Jon Coppeard
7511d0e672 Bug 1299323 - Implement @@toStringTag for module namespace objects r=evilpie 2016-09-07 11:32:07 +01:00
Shu-yu Guo
76250efe90 Bug 1298356 - Remove possibility of GC in Nursery::queueSweepAction and crash on alloc failure r=terrence 2016-09-07 11:30:50 +01:00
Jon Coppeard
8042fe0adb Bug 1292590 - Trace script pointers in off thread compilation tasks r=terrence a=abillings 2016-09-07 11:30:32 +01:00
Jan de Mooij
287951bc70 Bug 1297706 - Fix XDR decoding to use a nullptr sourceObject for nested lazy scripts. r=shu 2016-09-07 09:11:06 +02:00
Benjamin Bouvier
ae8611942d Bug 1298541: Small cleanups to TraceLoggerDrain methods; r=h4writer
MozReview-Commit-ID: IDgSLJ7dbmW

--HG--
extra : rebase_source : 9a237194058b2760f3264fdc82c3d85b4ad3d0b0
2016-09-02 11:58:47 +02:00
Leo Gaspard
061ff46995 Bug 1300193 - Make existing assertion that no longer holds more flexible. r=jandem 2016-09-02 15:47:57 -07:00
Luke Wagner
cbec147169 Bug 1292724 - Baldr: remove call_import, add imports to function index space (r=bbouvier)
MozReview-Commit-ID: BOqBB6FW2lV

--HG--
extra : rebase_source : 576d572a1342ae190d0cfc68fba71b245a7ee5c6
2016-09-06 16:47:37 -05:00
Luke Wagner
c9dc4a5e06 Bug 1292724 - Baldr: fix segment offsets (r=bbouvier)
MozReview-Commit-ID: L4sWbIYY0g9

--HG--
extra : rebase_source : fc31c5b1e139bb538ba7731fa56b04ed6d913f4a
2016-09-06 09:42:13 -05:00
Terrence Cole
2d66e62e03 Bug 1290592 - Unwind the complex conditional around atoms marking; r=jonco
--HG--
extra : rebase_source : 4a9e3554197699de3c207f0c81519985516d0ed5
2016-07-29 14:38:21 -07:00
Terrence Cole
9b885d433e Bug 1290591 - Lift JitCode global table tracing into traceRuntimeForMinorGC; r=jonco
--HG--
extra : rebase_source : 1f21c99c407ac7f3e6ffe9d64366639810a75447
2016-07-29 14:22:42 -07:00
Terrence Cole
5eff732587 Bug 1290584 - Lift stack marking into a function; r=jonco
--HG--
extra : rebase_source : 34b86b3e70ee005161e84aeced5a46778e75fb83
2016-07-29 14:11:33 -07:00
Terrence Cole
8ea092d9c1 Bug 1290578 - Lift traceIncomingCrossCompartmentWrappers to markRuntimeForMajorGC; r=jonco
--HG--
extra : rebase_source : cd02b4589951a23b8095eaed3c9cba9076205e06
2016-07-29 13:34:40 -07:00
Terrence Cole
04b2e29c0e Bug 1296488 - Lift isBeingDestroyed above markRuntime; r=jonco
--HG--
extra : rebase_source : cd971d01ad8c26e88da454cf3074ea1b271a05d3
2016-07-29 13:22:20 -07:00
Jeff Walden
4ee1fc5b33 Swizzle vm/CommonPropertyNames.h entries for better alphabeticality. No bug, r=apiratesfavoriteletter
--HG--
extra : rebase_source : 1bc953626126a0f87f5391a4066f2ef79a67efad
2016-09-05 21:37:15 -07:00
Jeff Walden
cab68f4f8f Bug 609756 - {Pre,Post}{in,de}crements on function calls must ToNumber after evaluating the call, in case ToNumber's effects are observable via toString/valueOf. r=arai
--HG--
extra : rebase_source : 2c63da1980238a0d1c7c002506b0961064444129
2016-09-04 12:07:58 -07:00
Jeff Walden
569118cc51 Bug 1288460 - Modify ecma_5/misc/future-reserved-words.js to test using assertEq instead of reportCompare, for easier debugging. r=arai
--HG--
extra : rebase_source : c7a4fb3d0efec140e8e1022c4c8bc05431157746
2016-08-30 09:21:05 -07:00
Jan de Mooij
fd31d17518 Bug 1297706 - Fix FunctionBox::setStart to get the correct line/column. r=njn 2016-09-06 16:16:39 +02:00
Jon Coppeard
c3a9cf92a8 Bug 1300380 - Add some more tests to the lists of expected timeouts when compacting GC zeal is enabled r=arai DONTBUILD 2016-09-06 10:27:51 +01:00
Phil Ringnalda
d7eb2fba8f Merge m-c to m-i 2016-09-05 13:13:05 -07:00
Phil Ringnalda
66b3a90750 Merge m-i to m-c, a=merge 2016-09-05 13:05:52 -07:00
Luke Wagner
6da730f66d Bug 1299359 - Odin: put asm.js Atomics/SAB support behind wasmTestMode (r=lth)
MozReview-Commit-ID: 6nKQ3giYnic
2016-09-05 09:50:43 -05:00
Andi-Bogdan Postelnicu
1533bc3c1f Bug 1300504 - prevent null pointer dereference in MWasmCall::NewBuiltinInstanceMethodCall. r=jandem
MozReview-Commit-ID: 1oQVjnyJAMm

--HG--
extra : rebase_source : f9a0de5d4a9aaafb7f9f9e7eca9935bce82be43a
2016-09-05 13:04:28 +03:00
Till Schneidereit
5f85932d39 Bug 1298597 - Properly handle the target Promise having been nuked in resolve/reject functions for xray'd Promises. r=jandem
MozReview-Commit-ID: EBAwzff9vOM
2016-09-05 14:48:38 +02:00
Sebastian Hengst
25133e96c1 Backed out changeset 6e9706730af8 (bug 1298831) for crashing in js::TraceLoggerThread. r=backout 2016-09-05 14:32:04 +02:00
Hannes Verschore
e4d2b1fbca Bug 1298831: Still flush the TraceLogger traces whenever using QuickExit to kill the content process, r=billm 2016-09-05 12:19:41 +02:00
Shu-yu Guo
8b810f3250 Bug 1297706 - Syntax parse class declarations. r=jandem 2016-09-05 09:11:46 +02:00
Luke Wagner
96232662bf Bug 1300202 - Fix 32-bit ARM-simulator shell builds on Mac. r=sunfish
--HG--
extra : amend_source : 674485341e9998f569ba4ce1b6e1a390088e2ce3
2016-09-03 00:27:00 -04:00
Tooru Fujisawa
3a45d46820 Bug 1289003 - Part 3: Add JS_NewStringCopyUTF8N and JS_NewStringCopyUTF8Z. r=jwalden 2016-08-13 23:24:22 +09:00
Tooru Fujisawa
2057ca608b Bug 1289003 - Part 2: Add FindSmallestEncoding. r=jwalden 2016-08-15 15:50:15 +09:00
Tooru Fujisawa
586c7b1a14 Bug 1289003 - Part 1: Add UTF8CharsToNewLatin1CharsZ, LossyUTF8CharsToNewLatin1CharsZ. r=jwalden 2016-08-13 23:03:31 +09:00
Tooru Fujisawa
382083077f Bug 1284511 - Fix slow script check to use elapsed time from last check. r=mrbkap 2016-09-03 09:51:15 +09:00
Shu-yu Guo
52683a208a Bug 1299121 - Only report ACCESS_LOST for named lambda callees when getting. (r=jimb) 2016-09-02 15:30:48 -07:00
Shu-yu Guo
2ba570bd26 Bug 1298570 - Check result of getArg when decompiling. (r=efaust) 2016-09-02 15:30:48 -07:00
Shu-yu Guo
9a68e5763c Bug 1298640 - Track top-level functions in eval/global bodies for all-or-nothing redeclaration checks. (r=Waldo) 2016-09-02 15:30:48 -07:00
Boris Zbarsky
45276cf8ca Bug 1299306 part 4. Remove the existing Location hardcoding in js::SetPrototype now that Location handles that itself. r=waldo 2016-09-02 17:55:38 -04:00
Boris Zbarsky
f795c23538 Bug 1299306 part 3. Always support immutable prototypes. r=waldo 2016-09-02 17:55:38 -04:00
Wes Kocher
a2e7bd60fc Merge m-c to inbound, a=merge 2016-09-02 13:34:10 -07:00
Wes Kocher
a2ca4e17ce Backed out changeset 1e7eb0625d3e (bug 1297687) a=merge 2016-09-02 13:18:37 -07:00
Wes Kocher
ee92002ede Merge inbound to m-c a=merge 2016-09-02 13:17:30 -07:00
Kyle Machulis
643af168e0 Bug 1047105 - Disable AsmJS caching while in Private Browsing Mode; r=janv
MozReview-Commit-ID: 17DJMAZTaGW
2016-09-02 10:53:48 -07:00
Tooru Fujisawa
7b4d3f7d3f Backed out changeset b4c7d481bf10 (bug 1289003) 2016-09-02 21:23:03 +09:00
Tooru Fujisawa
1fe22684bd Backed out changeset 1bbdfed5b149 (bug 1289003) 2016-09-02 21:23:02 +09:00
Tooru Fujisawa
e8f9cd1eca Backed out changeset 3abe6a1579f9 (bug 1289003) 2016-09-02 21:23:02 +09:00
Tooru Fujisawa
71ff88b3e2 Backed out changeset 586730aa1521 (bug 1289003) 2016-09-02 21:23:02 +09:00
Hannes Verschore
3257d27f5a Bug 1299841: Fix bustage on opt, r=bustage ON CLOSED TREE 2016-09-02 18:54:54 +02:00
Tom Schuster
b84fb2a919 Bug 1299321 - DOM test changes for Promise @@toStringTag. r=bz 2016-09-02 18:39:50 +02:00
Tom Schuster
0cbb71f632 Bug 1299321 - Add @@toStringTag to Promise. r=till 2016-09-02 18:39:50 +02:00
Tom Schuster
55a65363a9 Bug 1299321 - Make DOM/Xray handle string values in JSPropertySpec. r=peterv 2016-09-02 18:39:50 +02:00
Tom Schuster
b2447f075e Bug 1299321 - Implement string values for JSPropertySpec. r=Waldo 2016-09-02 18:39:50 +02:00
Hannes Verschore
901986bdee Bug 1299841: TraceLogger - Fail gracefully on OOM, r=bbouvier 2016-09-02 18:19:28 +02:00
Hannes Verschore
67f478581c Bug 1299839: TraceLogger - Disable on throwing an exception in IonMonkey with Debugger enabled, r=bbouvier 2016-09-02 18:19:27 +02:00
Hannes Verschore
0bf1786e83 Bug 1298541: Tracelogger: Part 5: Trace generator resume in Baseline, r=bbouvier 2016-09-02 18:19:27 +02:00
Hannes Verschore
78bda3423e Bug 1298541: Tracelogger: Part 4: Enable jit-tests/tests/tracelogger/drainTraceLogger.js again, r=bbouvier 2016-09-02 18:19:27 +02:00
Hannes Verschore
12fecc2922 Bug 1298541: Tracelogger: Part 3: Trace generator resume in the Interpreter, r=bbouvier 2016-09-02 18:19:27 +02:00
Hannes Verschore
ce00bf219e Bug 1298541: Tracelogger: Part 2: Debugger::drainTraceLoggerScriptCalls should only return Script events, r=bbouvier 2016-09-02 18:19:27 +02:00
Hannes Verschore
4cd9e8a154 Bug 1298541: Tracelogger: Part 1: Add debugging to check start and stop correspond, r=bbouvier 2016-09-02 18:19:27 +02:00
Eddy Bruel
4433645631 Bug 1278562 - DebuggerObject.promiseValue/Reason should throw if promise is not fulfilled/rejected. r=jimb 2016-09-02 13:24:29 +02:00
Eddy Bruel
c19e5485c3 Bug 1278562 - Implement a C++ interface for DebuggerObject.promiseTimeToResolution. r=jimb 2016-09-02 13:24:10 +02:00
Eddy Bruel
2e3e0adc37 Bug 1278562 - Implement a C++ interface for DebuggerObject.promiseLifetime. r=jimb 2016-09-02 13:23:40 +02:00
Tooru Fujisawa
af031e202b Bug 1293205 - Part 1: Warn about non-standard for-each regardless of JS version number. r=evilpie 2016-09-02 04:16:16 +09:00
Tooru Fujisawa
6643f35db1 Bug 1289003 followup - Initialize *smallestEncoding. r=bustage 2016-09-02 20:14:35 +09:00
Tooru Fujisawa
13458ce11e Bug 1289003 - Part 3: Add JS_NewStringCopyUTF8N and JS_NewStringCopyUTF8Z. r=jwalden 2016-08-13 23:24:22 +09:00
Tooru Fujisawa
3a3fe43ccd Bug 1289003 - Part 2: Add FindSmallestEncoding. r=jwalden 2016-08-15 15:50:15 +09:00
Tooru Fujisawa
8fb52b017c Bug 1289003 - Part 1: Add UTF8CharsToNewLatin1CharsZ, LossyUTF8CharsToNewLatin1CharsZ. r=jwalden 2016-08-13 23:03:31 +09:00
Tooru Fujisawa
178854cb29 Bug 1298393 - Add "Var Scope" type to Opcodes.h documentation comment. r=shu 2016-08-26 23:27:54 +09:00
Chris Manchester
8577fd7039 Bug 1298536 - Move --with-linux-headers to Python configure. r=glandium
MozReview-Commit-ID: FWovXD9rjed

--HG--
extra : rebase_source : 4a9693b512c51b37abd5cdafcedc21cff8b4434c
2016-08-31 14:29:29 -07:00
Shu-yu Guo
c91529919f Bug 1297706 - Syntax parse with statements. r=jandem 2016-09-01 13:55:58 +02:00
Shu-yu Guo
85437bebb4 Bug 1297706 - Syntax parse lexical declarations. r=jandem 2016-09-01 13:55:56 +02:00
Zibi Braniecki
28a1b12f39 Bug 1287503 - Expose a JS Intl API to get calendar information. r=waldo
MozReview-Commit-ID: 4Gp90LMc9Lt
2016-09-01 12:25:06 +02:00
Heiher
0b81de7313 Bug 1299014 - Move clampIntToUint8 to the generic macro assembler. r=arai
---
 js/src/jit/MacroAssembler.h                             |  6 ++++++
 js/src/jit/arm/MacroAssembler-arm-inl.h                 | 14 ++++++++++++++
 js/src/jit/arm/MacroAssembler-arm.h                     |  9 ---------
 js/src/jit/arm64/MacroAssembler-arm64-inl.h             | 17 +++++++++++++++++
 js/src/jit/arm64/MacroAssembler-arm64.h                 | 11 -----------
 js/src/jit/mips-shared/MacroAssembler-mips-shared-inl.h | 16 ++++++++++++++++
 js/src/jit/mips32/MacroAssembler-mips32.cpp             | 13 -------------
 js/src/jit/mips32/MacroAssembler-mips32.h               |  2 --
 js/src/jit/mips64/MacroAssembler-mips64.cpp             | 13 -------------
 js/src/jit/mips64/MacroAssembler-mips64.h               |  2 --
 js/src/jit/none/MacroAssembler-none.h                   |  2 --
 js/src/jit/x86-shared/MacroAssembler-x86-shared-inl.h   |  9 ++++++---
 12 files changed, 59 insertions(+), 55 deletions(-)
2016-09-01 16:34:16 +08:00
Benjamin Bouvier
19ec5f9a2a Bug 1299477: Fix MIPS compiler warnings and jsapi-tests compiler error; r=hev; DONTBUILD
(DONTBUILD because this architecture is not tested on treeherder)

MozReview-Commit-ID: 9FZo722acEu

--HG--
extra : rebase_source : 7b32fd4fe205ccf05968ff7543b79fe97c059489
extra : amend_source : 9f64c34012238d6dfb489abcbbf4bd45dc7dd049
2016-08-31 16:12:14 +02:00
Heiher
9c6578dffe Bug 1299376 - IonMonkey: MIPS64: Fix load unsigned 32-bit immediate in ma_li(ImmWord). r=arai
---
 js/src/jit/mips64/MacroAssembler-mips64.cpp | 36 ++++++++++++++++++-----------
 1 file changed, 22 insertions(+), 14 deletions(-)
2016-09-01 13:52:21 +08:00
Luke Wagner
0b570ff235 Bug 1299356 - Baldr: change handling of when not HaveCompilerSupport (r=bbouvier)
MozReview-Commit-ID: 7eCwuhhbsR
2016-08-31 22:35:55 -05:00
Wes Kocher
4a88729982 Backed out changeset 81723d4f90ed (bug 1287503) for jsreftest failures a=backout 2016-08-31 16:40:12 -07:00
Zibi Braniecki
797eba80d4 Bug 1287503 - Expose a JS Intl API to get calendar information. r=waldo
MozReview-Commit-ID: 9LP74MHBpnb

--HG--
extra : rebase_source : 465aff56ecc280580a1d91a0caa8f58b965e1474
2016-08-31 11:00:56 +02:00
Shu-yu Guo
67d57d7fa7 Bug 1298854 - Fix hasInitialEnv computation for RematFrames. (r=jandem) 2016-08-31 14:56:30 -07:00
Shu-yu Guo
a4fe02e490 Bug 1298656 - Fix OOM handling in Debugger::replaceFrameGuts. (r=jimb)
I don't know how to commit a test for this. The fuzz test is extremely
slow if it doesn't crash, and these OOM tests are so brittle that
literally any allocation changes in the engine cause them to no longer
test what they were testing.
2016-08-31 14:56:30 -07:00
Shu-yu Guo
1826a896d0 Bug 1175174 - Fix redeclaring catch parameters in eval. (r=Waldo) 2016-08-31 14:56:30 -07:00
Shu-yu Guo
b99fe5ec73 Bug 1298316 - Don't apply Annex B.3.3 semantics to generators. (r=Waldo) 2016-08-31 14:56:30 -07:00
Shu-yu Guo
b9ce81a92c Bug 1298640 - Always give catch bodies their own lexical scope. (r=Waldo) 2016-08-31 14:56:30 -07:00
Shu-yu Guo
55651d7573 Bug 1298568 - Ensure Scopes that can have data always have non-null data on clone. (r=Waldo) 2016-08-31 14:56:29 -07:00
Eddy Bruel
524352cff2 Bug 1278562 - Implement a C++ interface for DebuggerObject.promiseReason. r=jimb 2016-08-31 16:45:34 +02:00
Eddy Bruel
2d5383b731 Bug 1278562 - Implement a C++ interface for DebuggerObject.promiseValue. r=jimb 2016-08-31 16:45:09 +02:00
Eddy Bruel
bab6d7b24a Bug 1278562 - Implement a C++ interface for DebuggerObject.promiseState. r=jimb 2016-08-31 16:44:49 +02:00
Eddy Bruel
d26c95551e Bug 1278562 - Make the isPromise getter infallible. r=jimb 2016-08-31 16:44:15 +02:00
Jan Beich
e7347cfd95 Bug 1299330 - Unbreak build on BSDs after bug 1287967. r=luke
MozReview-Commit-ID: KfZItwYpnzc

--HG--
extra : transplant_source : K%FB%A4%CBA%3D%CC%FE%83J%F2%F2%CFU%96%D8%FE%20%F9%EE
2016-08-30 23:09:44 +00:00
Jan de Mooij
8868714f79 Bug 1298878 - Don't store the actual builtin constructor properties on the global in reserved slots. r=Waldo 2016-08-31 10:58:15 +02:00
Leo Gaspard
5ffcda17e0 Bug 1283334 - Part 5: Do not sparsify dense arrays when freezing - Tests. r=jandem
--HG--
extra : rebase_source : e48a07dff26cccc151ff92a15b5b30c271b573eb
2016-08-23 19:02:06 -07:00
Leo Gaspard
67d76bf3ba Bug 1283334 - Part 4: Do not sparsify dense arrays when freezing - Ion Caches. r=nbp
--HG--
extra : rebase_source : 8ef190fde5dab1fe3ed072366259338ca3bc6650
2016-08-24 16:32:27 -07:00
Leo Gaspard
83654bf8c5 Bug 1283334 - Part 3: Do not sparsify dense arrays when freezing - Ion. r=nbp
--HG--
extra : rebase_source : becfca7bce3c7e316826c8e2b367a3099b6fcd64
2016-08-25 16:28:31 -07:00
Leo Gaspard
43efaca426 Bug 1283334 - Part 2: Do not sparsify dense arrays when freezing - Baseline. r=nbp
--HG--
extra : rebase_source : 81114c18a0aadd2b079231ab6a89095331792cce
2016-08-16 14:45:07 -07:00
Leo Gaspard
2db25444e0 Bug 1283334 - Part 1: Do not sparsify dense arrays when freezing - Interpreter. r=jandem
--HG--
extra : rebase_source : 8a7a05f735a7a320a2368845a2d06b349696a785
2016-08-29 15:00:35 -07:00
Tom Schuster
a62afaf6c1 Bug 1114580 - Implement ES6 Symbol.toStringTag. r=jorendorff 2016-08-31 00:13:10 +02:00
Eddy Bruel
7921f16339 Bug 1278562 - Split promiseState into promiseState/Value/Reason. r=jimb 2016-08-30 20:25:44 +02:00
Luke Wagner
c7f11b44a9 Bug 1292724 - Baldr: simplify elem segments (r=sunfish)
MozReview-Commit-ID: 4DCTydSm1ew

--HG--
extra : rebase_source : 5b326573d02e1f731e0bbdee8f51c1c142cea94d
2016-08-30 12:45:51 -05:00
André Bargull
96b7707bfe Bug 1121938 - Implement TypedArray.prototype.toString and .toLocaleString. r=waldo 2016-08-11 09:31:22 -07:00
Ryan VanderMeulen
feb9c5a04a Merge m-c to inbound. a=merge 2016-08-30 09:59:38 -04:00
Ryan VanderMeulen
71d43e7c12 Merge inbound to m-c. a=merge 2016-08-30 09:52:55 -04:00
Jan Beich
baa4ad7ff3 Bug 1298451 - Unbreak build on DragonFly, FreeBSD, OpenBSD. r=sfink
MozReview-Commit-ID: 4rkKUC6N7Tf

--HG--
extra : rebase_source : d52ef57e886b927eb91fdca985e26927c832ccba
2016-08-27 07:59:47 +00:00
Benjamin Bouvier
daa4d4acf0 Bug 1278166: Split SIMD/load-signed-integer into several tests; r=lth
MozReview-Commit-ID: LCSSsFGDAnU

--HG--
extra : rebase_source : 3861c6f92cb1a98c11b7dd1a4be489f0b0bb8d04
2016-08-29 16:28:55 +02:00
Benjamin Bouvier
4b30fc11ef Bug 1298808: Don't reuse the output register if a temp is needed for mul i64 on x86; r=h4writer
MozReview-Commit-ID: GFYCOGmHT1j

--HG--
extra : rebase_source : 76f8ea1f17e4e22ca4f0668d687dafc2107f3951
2016-08-29 15:49:37 +02:00
Benjamin Bouvier
b4de550d2f Bug 1295166: Don't useAtStart rhs in int64 mul on ARM; r=h4writer
MozReview-Commit-ID: FQgaYkPHnJs

--HG--
extra : rebase_source : f4a3af5808481763012d3c7267c8cffd0aefdaaa
2016-08-29 16:22:37 +02:00
Hannes Verschore
e6d8c010cd Bug 1293542 - IonMonkey: Fix the logic of pow, r=sunfish 2016-08-30 10:57:06 +02:00
Dimo
71e7008950 Bug 1287967 - Baldr: Add current_memory and grow_memory (r=luke,sunfish)
MozReview-Commit-ID: 8whwVTSYV9a
2016-08-29 21:30:04 -05:00
Ryan VanderMeulen
6a58d2ee18 Backed out 6 changesets (bug 1283334) for hazard analysis failures.
Backed out changeset 84c2a6ebb42c (bug 1283334)
Backed out changeset 45c2fde6056f (bug 1283334)
Backed out changeset 2b1e3fea4384 (bug 1283334)
Backed out changeset f0571b52b903 (bug 1283334)
Backed out changeset 05215d3fc7f7 (bug 1283334)
Backed out changeset 4ab881c915b0 (bug 1283334)

CLOSED TREE
2016-08-29 17:38:57 -04:00
Leo Gaspard
493d97f148 Bug 1283334 - Part 6: Do not sparsify dense arrays when freezing - Namespace fix. r=me
--HG--
extra : rebase_source : df771badaec1e9b016ca63cb52f6afddcff29098
2016-08-29 13:57:48 -07:00
Leo Gaspard
9efe6c6dc7 Bug 1283334 - Part 5: Do not sparsify dense arrays when freezing - Tests. r=jandem
--HG--
extra : rebase_source : 2f3fed3591809bba99a61b6f3f6242024122e2e5
extra : histedit_source : a3438c47c2c1fddefccd26e611e4705604684213
2016-08-23 19:02:06 -07:00
Leo Gaspard
6e5839fc27 Bug 1283334 - Part 4: Do not sparsify dense arrays when freezing - Ion Caches. r=nbp
--HG--
extra : rebase_source : 9a69a1ce3099c0bde8116e69e1be756cfa507cb8
extra : histedit_source : dfc49589b5d6b6e052cce06f17017149008f12ab
2016-08-24 16:32:27 -07:00
Leo Gaspard
cac188d1af Bug 1283334 - Part 3: Do not sparsify dense arrays when freezing - Ion. r=nbp
--HG--
extra : rebase_source : 338ff0f30ed6c80da1b93c2fd1a847b5e57c2b7f
extra : histedit_source : 3d60a20c97952902cdf07419887e39eb3316d8b5
2016-08-25 16:28:31 -07:00