Commit Graph

59822 Commits

Author SHA1 Message Date
Benjamin Bouvier
66cf83869f Bug 1406897: Use JitFrameIter::operator++ in OnlyJSJitFrameIter::settle; r=luke 2017-10-11 16:45:32 +02:00
Benjamin Bouvier
6f754eedee Bug 1406041: Implement process-wide wasm code lookup; r=luke 2017-10-11 11:40:30 +02:00
Jason Orendorff
5a49fd1a4b Bug 1405760 - Don't set the op field of array literal and object literal nodes. r=Waldo 2017-10-04 15:08:20 -05:00
Jason Orendorff
d57903abaf Bug 1405760 - Remove ParseHandler::newBinary from the interface. Don't set the op field of assignment nodes. r=Waldo
FullParseHandler::newBinary remains as a private method.
2017-10-04 11:51:14 -05:00
Jason Orendorff
578eff819b Bug 1405760 - Remove op argument from ParseHandler::newList signatures. r=Waldo
Several kinds of list nodes still have a pn_op set, even with this change.
2017-10-04 11:17:18 -05:00
Jason Orendorff
5886517519 Bug 1405760 - Don't set the op field for other unary nodes either. r=Waldo 2017-10-04 10:41:54 -05:00
Jason Orendorff
9c47f18aec Bug 1405760 - Don't set the op field of nodes for unary operators. r=Waldo 2017-10-04 10:21:46 -05:00
Jason Orendorff
484c74bf79 Bug 1405760 - Change add{Class,Object}MethodDefinition not to take a JSOp argument. r=Waldo
The ParseNodes still store a JSOp, though, for now.
2017-10-04 09:43:16 -05:00
Jason Orendorff
d88369357e Bug 1405760 - Remove ParseHandler::newTernary. r=Waldo
This also removes the (already-obsolete) op argument from TernaryNode constructors.
2017-10-04 09:21:39 -05:00
Jason Orendorff
25c1254ecb Bug 1405760 - Don't set the op field of nodes for binary operators. r=Waldo 2017-10-04 10:23:25 -05:00
Jason Orendorff
fc53825569 Bug 1405760 - Remove ParseHandler::newNullary, replacing the one use with a new method. r=Waldo 2017-10-04 08:50:05 -05:00
Jason Orendorff
4b2217e3f0 Bug 1405760 - Remove the JSOp argument from ParseHandler::newDeclarationList. r=Waldo
This changes these ParseNodes to have pn_op=JSOP_NOP, but the field is
already ignored downstream for these node kinds.
2017-10-04 08:42:50 -05:00
Jason Orendorff
49d81c0065 Bug 1402456 - Document that entering a compartment roots the global. r=sfink 2017-09-22 15:01:52 -05:00
Jason Orendorff
06c0c990e7 Bug 1277734 - Null test after dereference in CompartmentChecker::check. r=billm 2017-10-03 09:57:13 -05:00
Kartikaya Gupta
0d6d26ad16 Bug 1407578 - Fix build error due to unused variable. r=jorendorff
MozReview-Commit-ID: 6tpEC7i3Mgh
2017-10-11 10:17:28 -04:00
Jan de Mooij
4e2c70379e Bug 1406957 part 3 - Get rid of some code duplication in jit::CreateThis and MaybeCreateThisForConstructor. r=tcampbell 2017-10-11 14:55:17 +02:00
Jan de Mooij
76389186cb Bug 1406957 part 2 - Rewrite this-creation to be simpler and more consistent. r=tcampbell 2017-10-11 14:54:31 +02:00
Jan de Mooij
1bbd405339 Bug 1406957 part 1 - Remove Maybe<InvokeState> in Interpret. r=tcampbell 2017-10-11 14:53:10 +02:00
Jon Coppeard
7122020e23 Bug 1406065 - Make JSGC_MAX_MALLOC_BYTES param the same in the shell as the browser r=sfink 2017-10-11 13:22:09 +01:00
Sebastian Hengst
6adb214468 Backed out changeset 759a43ebc6bf (bug 1405541) for asserting in devtools/client/performance/test/browser_perf-console-record-03.js on Windows 7. r=backout 2017-10-11 13:15:26 +02:00
Nicholas Nethercote
7ea563fdf2 Bug 1405541 - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange.
It's easy to mess up the scoping so that (a) the label is pushed and then
immediately popped, and/or (b) the string doesn't live long enough. It's also
easy to do a utf16-to-utf8 conversion unnecessarily when the profiler is
inactive.

This patch splits that macro into three new ones that are harder to mess up.

- AUTO_PROFILER_LABEL_DYNAMIC_CSTR: same as current.
- AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING: for nsCStrings.
- AUTO_PROFILER_LABEL_DYNAMIC_LOSSY_NSSTRING: for nsStrings.
2017-10-11 13:03:34 +02:00
Lars T Hansen
939bc6f811 Bug 1361526 - merge from upstream test262 to kill intermittents. r=me 2017-10-11 11:16:49 +02:00
Lars T Hansen
0e2a2843a0 Bug 1402257 - use some fraction of physical cores for tier-2 compiles. r=luke 2017-10-09 19:37:22 +02:00
Jan de Mooij
bb239c0416 Bug 1385843 - Handle nested eval-in-frame better in ThrowUninitializedThis. r=tcampbell 2017-10-11 10:57:41 +02:00
Jan de Mooij
ea674fcc84 Bug 1404306 - Set ION_COMPILING_SCRIPT in AutoLockHelperThreadState scope to avoid a shell-only race. r=jonco 2017-10-11 10:56:03 +02:00
Jan de Mooij
09b1651539 Bug 1406888 - Inline GeckoProfilerEntryMarker ctor/dtor. r=anba 2017-10-11 10:30:00 +02:00
Jan de Mooij
a6013be7ef Bug 1406900 - Devirtualize RunState methods. r=luke 2017-10-11 10:29:05 +02:00
Phil Ringnalda
9b852fb562 Backed out changeset 901a16fec9fc (bug 1405541) for Windows assertion failures
MozReview-Commit-ID: DRGWXU4Tbfk
2017-10-10 23:28:33 -07:00
Nicholas Nethercote
7085f47fb7 Bug 1405541 - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange.
It's easy to mess up the scoping so that (a) the label is pushed and then
immediately popped, and/or (b) the string doesn't live long enough. It's also
easy to do a utf16-to-utf8 conversion unnecessarily when the profiler is
inactive.

This patch splits that macro into three new ones that are harder to mess up.

- AUTO_PROFILER_LABEL_DYNAMIC_CSTR: same as current.
- AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING: for nsCStrings.
- AUTO_PROFILER_LABEL_DYNAMIC_LOSSY_NSSTRING: for nsStrings.
2017-10-04 13:44:24 +11:00
Sebastian Hengst
d1a31a8503 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-11 00:01:28 +02:00
Sebastian Hengst
4377ec27ac merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GbmY183Epi2
2017-10-10 23:56:11 +02:00
Luke Wagner
bda9877ba9 Bug 1347644 - Baldr: implement ConsumeStreamCallback in browser (r=bkelly)
MozReview-Commit-ID: DXv2MegefDw
2017-10-10 14:41:24 -05:00
Luke Wagner
c63a520214 Bug 1347644 - Baldr: shell WebAssembly.compileStreaming and instantiateStreaming (r=till)
MozReview-Commit-ID: 9b6RH95tqUI
2017-10-10 14:17:50 -05:00
Jan de Mooij
72cd2082be Bug 1405994 part 2 - Use arguments rectifier when entering JIT code instead of a Vector. r=nbp 2017-10-10 14:04:46 +02:00
Jan de Mooij
4ff1f04caa Bug 1405994 part 1 - Handle rectifier frames following c++ entry frame in profiler code. r=bbouvier 2017-10-10 14:03:24 +02:00
Jon Coppeard
569513787d Backed out changeset 3b19f13cf22a (bug 1406746) for rooting hazards 2017-10-10 13:03:36 +01:00
Jon Coppeard
a18abbe123 Bug 1406455 - Disallow OOM simulation on worker threads r=jandem 2017-10-10 12:07:08 +01:00
Jon Coppeard
0d45be1486 Bug 1406452 - Check for errored modules in builtin testing functions r=evilpie 2017-10-10 12:07:08 +01:00
Jon Coppeard
6138767e7c Bug 1406746 - Fix ctypes error handling when creating FunctionInfo r=sfink 2017-10-10 12:07:08 +01:00
Jon Coppeard
a048a90775 Bug 1406438 - Ensure GC lock held when iterating all non-empty chunks r=sfink 2017-10-10 12:07:08 +01:00
Jason Orendorff
20e7462bdc Bug 1404107 - Refactor: Move some reparenting complexity into XPConnect. r=mrbkap,r=bz 2017-10-05 11:49:43 -05:00
Sebastian Hengst
ceb5c92405 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-10 06:22:33 -03:00
Jan de Mooij
42b42c8d81 Bug 1406882 - Remove AutoGCIfRequested in InternalCallOrConstruct. r=jonco 2017-10-10 10:51:06 +02:00
Benjamin Bouvier
250a22f8f5 Bug 1406902: Remove the magic value check in the wasm->jit import exit; r=luke
MozReview-Commit-ID: 9VSmjn5PCCi
2017-10-09 12:28:10 +02:00
Lars T Hansen
b1258efe0b Bug 1406336 - JS Jits: Fix load64() on 32-bit platforms, and centralize address arithmetic. r=nbp 2017-10-06 11:01:08 +02:00
Phil Ringnalda
42f916b3fb Backed out changeset 3d4353f7c8b7 (bug 1305005) for static bustage
MozReview-Commit-ID: FM7WuKUXedk
2017-10-09 22:35:32 -07:00
Zibi Braniecki
d9b1be8383 Bug 1270140 - Add Intl.RelativeTimeFormat. r=Waldo
MozReview-Commit-ID: GqetnVVmXXL
2017-10-06 07:00:08 -07:00
Phil Ringnalda
353603c7a3 Backed out changeset 024ce7dd2f65 (bug 1270140) for check_spidermonkey_style.py failures
MozReview-Commit-ID: KyttCEkmYSo
2017-10-09 21:06:15 -07:00
Boris Zbarsky
7fd44fd6e7 Bug 1404107 - Test that Xray expandos are not lost when reparenting wrappers. r=mrbkap 2017-10-03 08:53:13 -05:00
Steve Fink
d23c8dd8b6 Bug 1305005 - Remove race on TypeString() char buffers, r=jonco 2017-10-02 15:12:04 -07:00