Hannes Verschore
0b9606f05d
Bug 1304640: IonMonkey - Comparing two regexp makes not being cloned observable, r=arai
2016-10-19 11:50:01 +02:00
Hannes Verschore
315aac5161
Bug 1304641 - TraceLogger: Also throw compartment mismatch error when running in the jits, r=bbouvier
2016-10-19 11:50:01 +02:00
Hannes Verschore
65959031cb
Bug 1304643 - IonMonkey: Only mark as not aliasing if object owns property, r=jandem
2016-10-19 11:50:01 +02:00
Lars T Hansen
2a35e8fb46
Bug 1311287 - free register after setglobal. r=bbouvier
...
--HG--
extra : amend_source : 9993cda75f10318a281231e5245c14f9ecbe1ab3
2016-10-19 11:23:12 +02:00
Lars T Hansen
12e154dc18
Bug 1310158 - clean up return value handling. r=h4writer
...
--HG--
extra : rebase_source : 04dca392d64d061e2d451f98abf1a963147d051e
extra : histedit_source : 015e06671e6cbd9dbb4435b58d0d89100e528c1a
2016-10-14 15:18:06 +02:00
Lars T Hansen
fa87932371
Bug 1310158 - remove compiler dependency. r=h4writer
...
--HG--
extra : rebase_source : ed77fae33a000f8d0e100eb8c287627533a00080
extra : histedit_source : cb30f0f18c1190ae2a90609d3962ee3b200accb9
2016-10-19 11:06:57 +02:00
André Bargull
b847ec2cfd
Bug 1041341 - Part 2: Report a SyntaxError for destructuring rest with trailing comma. r=arai
...
--HG--
extra : rebase_source : 686eb8d6fb58998255365d53bdfc71b4d5ec50a9
2016-10-10 13:33:19 -07:00
André Bargull
b1c8fefe38
Bug 1041341 - Part 1: Add support to store a pending destructuring error in PossibleError. r=arai, r=Waldo
...
--HG--
extra : rebase_source : 3c060093818552029ec4a848facb27fb23e5e1a0
2016-10-18 17:27:47 -07:00
Wes Kocher
71f24926ed
Backed out 10 changesets (bug 1283710) for osx xpcshell failures a=backout
...
Backed out changeset eb95a12e5d86 (bug 1283710)
Backed out changeset f727edc4be48 (bug 1283710)
Backed out changeset fed60fbf645d (bug 1283710)
Backed out changeset 98339fa564f1 (bug 1283710)
Backed out changeset 51b8d69edca0 (bug 1283710)
Backed out changeset d72527b7d3c0 (bug 1283710)
Backed out changeset ee5215f1a38e (bug 1283710)
Backed out changeset dcedbaefe399 (bug 1283710)
Backed out changeset 61f8250cbe0b (bug 1283710)
Backed out changeset 239382846137 (bug 1283710)
2016-10-18 17:27:58 -07:00
Bill McCloskey
cb1d72742e
Bug 1308039 - Add cx arg to AutoSuppressGCAnalysis (r=sfink)
2016-10-18 16:15:43 -07:00
André Bargull
fc4b28ccf3
Bug 1310935 - Add missing check for SharedArrayBuffer availability. r=evilpie
2016-10-18 02:21:56 -07:00
Tooru Fujisawa
f72bca21ae
Bug 1283710 - followup: Free owned linebuf in JSErrorReport. r=jwalden CLOSED TREE
2016-10-19 03:22:07 +09:00
Steve Fink
e4e517faa7
Bug 1310819
- Fix developer runs of hazard analysis, r=fitzgen
...
--HG--
extra : rebase_source : 5aab1ed27703342fbabeadcde258f94a497de5a5
2016-10-17 14:04:38 -07:00
Tooru Fujisawa
fe381e93f3
Bug 1283710 - Part 9: Make JSErrorToXPCException a file static function. r=bholley
2016-10-19 02:10:33 +09:00
Tooru Fujisawa
5c00af639e
Bug 1283710 - Part 8: Do not duplicate zero arguments error message. r=jwalden
2016-10-19 02:10:33 +09:00
Tooru Fujisawa
77ecb9e276
Bug 1283710 - Part 7: Use UTF-8 in js::ExpandErrorArgumentsVA and AutoMessageArgs. r=jwalden
2016-10-01 16:23:25 +09:00
Tooru Fujisawa
331fcf2d25
Bug 1283710 - Part 6: Make CompileError subclass of JSErrorReport. r=jwalden
2016-08-14 20:39:31 +09:00
Tooru Fujisawa
e013a67ed2
Bug 1283710 - Part 6: Make CompileError subclass of JSErrorReport. r=jwalden
2016-08-14 20:39:31 +09:00
Tooru Fujisawa
6f9d4ca127
Bug 1283710 - Part 5: Rename message to toStringResult if it is the result of toString. r=bholley,jwalden,froydnj
2016-08-14 20:39:31 +09:00
Tooru Fujisawa
8d69b4f507
Bug 1283710 - Part 5: Rename message to toStringResult if it is the result of toString. r=bholley,jwalden,froydnj
2016-08-14 20:39:31 +09:00
Tooru Fujisawa
fa2f08828a
Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden
2016-08-14 20:39:31 +09:00
Tooru Fujisawa
84473915d8
Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden
2016-08-14 20:39:31 +09:00
Tooru Fujisawa
300a2a4f41
Bug 1283710 - Part 3: Release JSErrorReport.linebuf_ in destructor if own. r=jwalden
2016-08-14 20:39:31 +09:00
Tooru Fujisawa
84b8403a67
Bug 1283710 - Part 3: Release JSErrorReport.linebuf_ in destructor if own. r=jwalden
2016-08-14 20:39:31 +09:00
Tooru Fujisawa
23d868fa20
Bug 1283710 - Part 2: Change JSErrorReport.ucmessage to JSErrorReport.message_ with ConstUTF8CharsZ, and release them in destructor if it is owned. r=jwalden
2016-08-14 20:39:30 +09:00
Tooru Fujisawa
81c1a988e3
Bug 1283710 - Part 2: Change JSErrorReport.ucmessage to JSErrorReport.message_ with ConstUTF8CharsZ, and release them in destructor if it is owned. r=jwalden
2016-08-14 20:39:30 +09:00
Tooru Fujisawa
0596fa94f3
Bug 1283710 - Part 1: Reorder JSErrorReport members. r=jwalden
2016-08-14 20:39:30 +09:00
Tooru Fujisawa
48f582bcf4
Bug 1311319 - Part 2: Use Latin1 variant of error reporting if OS error is not ASCII. r=jwalden
2016-10-23 01:46:34 +09:00
Tooru Fujisawa
a65b1a21f0
Bug 1311319 - Part 1: Do not call PR_GetErrorText() when PR_GetErrorTextLength() is 0. r=sfink
2016-10-23 01:46:34 +09:00
Lars T Hansen
f0a8b9eb69
Bug 1312162 - insert a cast. r=me
2016-10-22 09:47:47 +02:00
Lars T Hansen
0335c174a3
Bug 1308402 - pop the CPU stack properly after new-style call-indirect. r=bbouvier
...
--HG--
extra : rebase_source : 5ba74da6a1d55694f295097cc35e2453544062c1
extra : histedit_source : 6a0458099207799937be471a05ad6f495afcccb0
2016-10-21 14:25:17 +02:00
Lars T Hansen
19841dc8c5
Bug 1311403 - remove overly constraining NaN-preservation tests. r=bbouvier
...
--HG--
extra : rebase_source : eb4d1b6d4f44f1e24827c6d260293a6595dc3b8b
extra : histedit_source : 898510c1affff2c4093bdd3dcc31a5d0c0e33402
2016-10-19 16:50:25 +02:00
Luke Wagner
c0f5fd20d6
Bug 1276029 - Baldr: add JS API to support structured clone of wasm objects (r=bbouvier)
...
MozReview-Commit-ID: B2coukYF6mG
2016-10-21 22:29:52 -05:00
Luke Wagner
994e2e4b5b
Bug 1276029 - Baldr: split bytecode from rest of compiled code (r=bbouvier)
...
MozReview-Commit-ID: HFf7bRiGgE4
2016-10-21 22:29:52 -05:00
Luke Wagner
0a569d3431
Bug 1276029 - Baldr: move assumptions from Metadata to Module (r=bbouvier)
...
MozReview-Commit-ID: 7NzJql9oNyi
2016-10-21 22:29:52 -05:00
Ryan VanderMeulen
aed5c0a176
Merge m-c to inbound on a CLOSED TREE. a=merge
2016-10-21 17:15:01 -04:00
nfroyd@mozilla.com
1e04a4e1bb
Bug 1305816 - explicitly specify underlying type of js::jit::X86Encoding::RegisterID; r=jandem
...
Recent clang-cl warns when building for x86-64 Windows about
initializing Assembler-x86-shared.h's Operand::index_ with
Registers::Invalid. This warning stems from a couple of
implementation-defined behaviors in the C++ standard:
- The only constraints on an (non-fixed-width) enum's type are that
the type is at least as large as `int`, and that the chosen type can
accomodate all the values of the enum. MSVC (and clang-cl) default
to int wherever possible.
- Bitfields declared with `int` (resp. `char`, `short`, `long`) may be
either signed or unsigned at the implementation's discretion. It is
therefore encouraged that you always declare bitfields with unsigned
types.
Operand::index_ is a 5-bit field, with a declared type of
Register::Encoding; on x86, that boils down to the enum
js::jit::X86Encoding::RegisterID. The compiler defaults the
underlying type of RegisterID to `int` (so the bitfield is signed on
some implementations), and Registers::Invalid is 16 on x86-64, large
enough to silently change sign when stored into the bitfield.
Declaring the bitfield as a fixed-width unsigned 8-bit enum is
sufficient to silence the warning.
2016-10-21 23:06:47 +00:00
Tooru Fujisawa
3c7705c4b5
Bug 1283710 - Part 1: Reorder JSErrorReport members. r=jwalden
2016-08-14 20:39:30 +09:00
Jon Coppeard
1989821a93
Bug 1308116 - Improve GC telemetry for non-incremental GCs r=sfink
2016-10-18 18:02:54 +01:00
Jon Coppeard
556585c65f
Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8
2016-10-18 17:58:19 +01:00
Jan de Mooij
a00dbb24ab
Bug 1309903 - Fix Ion regalloc to require call instruction uses to be atStart. r=bhackett
2016-10-18 17:52:56 +02:00
Jan de Mooij
6b23604d39
Bug 1309174 - Handle lazy self-hosted functions in optimization tracking debug spew. r=shu
2016-10-18 17:08:47 +02:00
Luke Wagner
b01eb31083
Bug 1311019 - Baldr: use currentOffset() instead of size() for current offset (r=bbouvier)
...
MozReview-Commit-ID: 9SSCWfua4zj
--HG--
extra : rebase_source : 03f822b7e4d1f3d2bf16666ea06e30dac3308772
2016-10-18 09:46:27 -05:00
Tooru Fujisawa
2a7c72118f
Bug 1306669 - Root an object that lives across ffi_call. r=jonco
2016-10-18 21:43:30 +09:00
Carsten "Tomcat" Book
b9686db6da
Merge mozilla-central to mozilla-inbound
2016-10-18 10:44:04 +02:00
Carsten "Tomcat" Book
5c08a87874
merge mozilla-inbound to mozilla-central a=merge
2016-10-18 10:38:37 +02:00
Shu-yu Guo
dc1c20cfdd
Bug 1287047 - ExposeToActiveJS the callee when creating a hollow CallObject for Debugger.Environment. (r=jimb)
2016-10-17 14:05:54 -07:00
Luke Wagner
8eaccfbc2e
Bug 1310239 - Baldr: include field name in error message (r=bbouvier)
...
MozReview-Commit-ID: 4kQJsrrTSH0
2016-10-17 09:14:46 -05:00
Lars T Hansen
08c0ed3b5c
Bug 1309178 - Add interactive disasm calls to ARM simulator. r=bbouvier
2016-10-11 12:18:03 +02:00
Iris Hsiao
d639977b83
Backed out changeset c659503d33ce (bug 1309180) for wrong commit message
...
--HG--
extra : rebase_source : 4a818eb56623eb0e5a67ebfc99e58c764d2baf01
2016-10-18 15:51:38 +08:00
Tooru Fujisawa
4777efc768
Bug 1304191 - Part 11: Fold jsval_layout into JS::Value. r=jwalden
2016-10-18 16:46:01 +09:00
Tooru Fujisawa
934d8428a6
Bug 1304191 - Part 10: Remove JSVAL_TO_IMPL and IMPL_TO_JSVAL. r=jwalden
2016-10-18 16:46:01 +09:00
Tooru Fujisawa
b6f7a1d6dd
Bug 1304191 - Part 9: Add Value::fromDouble and use it in CanonicalizedDoubleValue. r=jwalden
2016-10-18 16:46:01 +09:00
Tooru Fujisawa
45ce3de0ff
Bug 1304191 - Part 8.1: Remove JS::Value::setUnmarkedPtr and JS::Value::toUnmarkedPtr. r=jwalden
2016-10-18 16:46:01 +09:00
Tooru Fujisawa
58ffefe531
Bug 1304191 - Part 8: Stop using jsval_layout in JIT. r=jwalden
2016-10-18 16:46:01 +09:00
Tooru Fujisawa
ab5fd27553
Bug 1304191 - Part 7: Move JSVAL_EXTRACT_NON_DOUBLE_TYPE_IMPL into JS::Value methods. r=jwalden
2016-10-18 16:46:00 +09:00
Tooru Fujisawa
a35fdf8267
Bug 1304191 - Part 6: Move JSVAL_TO_*_IMPL into JS::Value methods. r=jwalden
2016-10-18 16:46:00 +09:00
Tooru Fujisawa
6535bee8fb
Bug 1304191 - Part 5.1: Always use JS::Value::toTag() to get tag in JS::Value::traceKind. r=jwalden
2016-10-18 16:46:00 +09:00
Tooru Fujisawa
a552563f54
Bug 1304191 - Part 5: Move JSVAL_TRACE_KIND_IMPL into JS::Value methods. r=jwalden
2016-10-18 16:46:00 +09:00
Tooru Fujisawa
481cbe78ba
Bug 1304191 - Part 4: Move JSVAL_SAME_TYPE_IMPL into SameType. r=jwalden
2016-10-18 16:46:00 +09:00
Tooru Fujisawa
0cf3292966
Bug 1304191 - Part 3: Move *_TO_JSVAL_IMPL into JS::Value methods. r=jwalden
2016-10-18 16:45:59 +09:00
Tooru Fujisawa
95cdd0842a
Bug 1304191 - Part 2: Move JSVAL_IS_*_IMPL into JS::Value methods. r=jwalden
2016-10-18 16:45:59 +09:00
Tooru Fujisawa
cf85a10917
Bug 1304191 - Part 1: Change BUILD_JSVAL to JS::Value::fromRawBits and JS::Value::fromTagAndPayload. r=jwalden
2016-10-18 16:45:59 +09:00
Tooru Fujisawa
f1477f7671
Bug 1290337 - Part 27: Pass CallArgs& to GetScriptAndPCArgs. r=terrence
2016-10-18 16:45:59 +09:00
Tooru Fujisawa
20e4f390f1
Bug 1290337 - Part 26: Use HandleValue in ToPropertyKey. r=shu
2016-10-18 16:45:59 +09:00
Tooru Fujisawa
a60c24ed6c
Bug 1290337 - Part 25: Use HandleValue in ToNumber and ToNumberSlow. r=shu
2016-10-18 16:45:59 +09:00
Mike Hommey
bc12be4203
Bug 1296530 - Bustage followup; r=gps
...
--HG--
extra : amend_source : cf647501661f0847638c48363c9445c681af7e41
2016-10-17 15:46:41 -07:00
Wes Kocher
664cdfb48f
Merge m-c to autoland, a=merge
2016-10-17 15:37:57 -07:00
Mike Hommey
e5ba3fd67a
Bug 1296530 - Replace include_when with include, and remove include_when. r=chmanchester
...
--HG--
extra : rebase_source : e2efd38b3875dde3dae996405838e9ca20475c32
2016-10-13 17:15:24 +09:00
Tooru Fujisawa
f2e075bfa2
Bug 1290337 - Part 24: Replace JS_ALIGNMENT_OF with alignof. r=jwalden
2016-09-11 18:23:11 +09:00
Tooru Fujisawa
7ee22eddfb
Bug 1290337 - Part 23: Use alignas and MOZ_NON_PARAM attribute for jsval_layout. r=jwalden
2016-09-11 18:23:11 +09:00
Tooru Fujisawa
ac643f0834
Bug 1290337 - Part 21: Use const reference in BarrierMethods::exposeToJS. r=sfink
2016-10-18 16:45:57 +09:00
Sander Mathijs van Veen
fbd9b124bb
Bug 1308647 - Mark testcase of bug1296249 as slow. r=h4writer
2016-10-17 02:49:00 +02:00
André Bargull
f54639ddc3
Bug 1303795 - Self-host Reflect.apply and Reflect.construct. r=till
2016-10-17 09:19:50 -07:00
André Bargull
6d5af66822
Bug 1243717 - Part 1: Allow destructuring for rest parameter (ES2016). r=arai
...
--HG--
extra : rebase_source : 157701e5de82412122186cdf78b74a98c435e9e3
2016-10-10 13:13:58 -07:00
André Bargull
9e839646c7
Bug 1243717 - Part 0: Set correct function length when parameter expressions, but no defaults are present. r=arai
...
--HG--
extra : rebase_source : b027e738a1741c20757fbc6b958ebf5d2c2c30ed
2016-10-10 13:13:28 -07:00
André Bargull
ddfa975699
Bug 1122396 - Validate newly created instances in typed array builtins. r=evilpie
...
--HG--
extra : rebase_source : efcbff4b5e1b6f9e142bf2bc2cfa09d7afe12771
2016-10-14 09:03:46 -07:00
André Bargull
cfbe3fe8c3
Bug 866602 - Handle four-character language codes in CanonicalizeLanguageTag. r=Waldo
...
--HG--
extra : rebase_source : 8cc60711bde98d08e13c7ce962301dd4859edd77
2016-09-19 09:54:23 -07:00
Lars T Hansen
b6838e3947
Bug 1309180: Add interactive disasm calls to ARM simulator. r=bbouvier
...
--HG--
extra : amend_source : 765d7d3bcae7357bfc0425935ea9a9df6b657c61
2016-10-11 12:18:03 +02:00
Lars T Hansen
c0165d049a
Bug 1277011
- refactor ARM code. r=h4writer
...
--HG--
extra : rebase_source : a85435bbe275e076b814de5fd72fa9e406aeaf84
2016-10-17 12:32:15 +02:00
Lars T Hansen
87f566bd8d
Bug 1277011
- Wasm baseline: fix joinReg reservation on 32-bit platforms. r=h4writer
...
--HG--
extra : rebase_source : 4af5ad58e5a09e46d3a6f7717d96613796c432a3
2016-10-14 15:36:29 +02:00
Lars T Hansen
8cabcf6f57
Bug 1277011
- Wasm baseline: refactor for portability. r=h4writer
...
--HG--
extra : rebase_source : ba0c0d3c4f7ad1d075cefd9b63960fb970f7c79e
2016-10-14 15:35:31 +02:00
Jan de Mooij
0701269a64
Bug 1308346 - Return new.target separately from readFrameArgsAndLocals. r=shu,efaust
2016-10-21 17:03:36 +02:00
Jan de Mooij
cc970ec261
Bug 1311325 - Remove CompileInfo::constructing_. r=nbp
2016-10-21 12:27:32 +02:00
Jan de Mooij
b1e4ebedf8
Bug 1311061 - Ensure the script is still Ion-compilable after creating |this|. r=h4writer
2016-10-21 12:26:43 +02:00
Jon Coppeard
044f5a8463
Bug 1309909
- Give each mutex an order and check the order of aquisition r=fitzgen r=luke
...
--HG--
rename : js/src/threading/posix/Mutex.cpp => js/src/threading/posix/MutexImpl.cpp
rename : js/src/threading/windows/Mutex.cpp => js/src/threading/windows/MutexImpl.cpp
2016-10-21 09:53:00 +01:00
Bill McCloskey
cbd15a0459
Bug 1311212 - Add dead CPOW debugging facility (r=mrbkap)
2016-10-19 16:26:23 -07:00
Bill McCloskey
ef8bb811b2
Bug 1310351 - Locking fixes for currentBudget (r=jonco)
2016-10-19 16:03:38 -07:00
Bill McCloskey
834638b864
Bug 1310351 - Unset interruptCallbackRequested (r=jonco)
2016-10-19 16:03:23 -07:00
Jeff Walden
cb80de1835
Bug 1310394 - for-in loops with a name declaration with an initializer, in strict mode code, should be a syntax error. r=anba
...
--HG--
extra : rebase_source : ebba046f35070c6c2b42374ae3aa8815e57e33de
2016-10-15 02:35:18 -07:00
Sebastian Hengst
c2196f8420
Backed out changeset 07c8f7c80bb7 (bug 1306249) for crashes and assertions, at least in tests on Windows XP debug. r=backout
2016-10-15 10:28:37 +02:00
Sebastian Hengst
bded0366f6
Backed out changeset d50a04c82343 (bug 1306249)
2016-10-15 10:27:36 +02:00
Steve Fink
d43b9764bb
Bug 1306249 - Report phase with longest self time, not longest total time, r=jonco
...
--HG--
extra : rebase_source : b2dd2df2a13b0a56ea4a2ac06c683a03a63506fa
extra : source : 327706b55f4e13b8c308f0e18b4932347108564d
2016-09-30 12:25:21 -07:00
Steve Fink
c499d3269c
Bug 1306249 - Stop recording total time spent in helper threads, r=jonco
...
--HG--
extra : rebase_source : cdb805e6fedec4e272d5073f1bd8419bbbd3631e
2016-10-12 11:03:47 -07:00
Wes Kocher
727d0de706
Merge m-c to inbound, a=merge CLOSED TREE
2016-10-14 14:51:44 -07:00
Wes Kocher
42083975b0
Merge inbound to central, a=merge
2016-10-14 14:40:49 -07:00
Wes Kocher
b6f29fa6ab
Backed out 5 changesets (bug 1305145) for windows build failures a=backout
...
Backed out changeset 0f39b7305d41 (bug 1305145)
Backed out changeset ab38e43fdcb6 (bug 1305145)
Backed out changeset aece1b8a8673 (bug 1305145)
Backed out changeset 85082a111806 (bug 1305145)
Backed out changeset 33e563d2d834 (bug 1305145)
2016-10-14 13:07:58 -07:00
Benjamin Bouvier
bd0f0eca51
Bug 1309927: Handle the stack case in LCompareI64 x64 codegen; r=h4writer
...
MozReview-Commit-ID: 2FkI5uPXRhv
--HG--
extra : rebase_source : db4529ba080f8dba6aa9a133c008648fb4a9d67f
2016-10-13 18:37:23 +02:00
Benjamin Bouvier
810ade3bb1
Bug 1308056: Update binary encoding of GetGlobal/SetGlobal; r=luke
...
MozReview-Commit-ID: 4OIoAE6kefj
--HG--
extra : rebase_source : d42a02cd1d62475cead3816947a76fffa826132e
2016-10-13 16:57:05 +02:00
Benjamin Bouvier
2bccffb569
Bug 1308056: wasm: remove default memory/table option and simplify flags; r=luke
...
MozReview-Commit-ID: IH6rtY4mrkA
--HG--
extra : rebase_source : 0c6e2e31a4556bfcf0a6516ab2ebae253e695f14
2016-10-14 12:32:09 +02:00