Commit Graph

62135 Commits

Author SHA1 Message Date
André Bargull
d3ffce2a35 Bug 1448582: Don't assert when overwriting the atom of cloned singleton functions. r=jorendorff 2018-03-27 09:20:58 -07:00
André Bargull
77bc89a144 Bug 1448836: Call NumberToAtom when argument is double value. r=jorendorff 2018-03-26 05:39:04 -07:00
André Bargull
a0c7c55291 Bug 1448835: Remove scope chain walk unused since object parents removal. r=Waldo 2018-03-26 05:38:39 -07:00
Tom Ritter
d44ebbd80e Bug 1378552 - Reduce the liklihood of inadvertently misusing NullPrincipal::Create(). r=ckerschb
NullPrincipal::Create() (will null OA) may cause an OriginAttributes bypass.
We change Create() so OriginAttributes is no longer optional, and rename
Create() with no arguments to make it more explicit about what the caller is doing.

MozReview-Commit-ID: 7DQGlgh1tgJ
2018-03-22 13:36:20 -05:00
Cosmin Sabou
9c18481ea9 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-28 12:52:57 +03:00
Cosmin Sabou
60829caa7f Merge inbound to mozilla-central. a=merge 2018-03-28 12:49:56 +03:00
Jan Henning
156d46c11c Bug 1449254 - Use vsnprintf for formatting DebugDump() output on Windows, too. r=mrbkap
Since VS2015, vsnprintf is supposed to be C99-compliant on Windows, too and will
especially always null-terminate the string written into the given buffer.

In addition, the build define we were using was misspelled and therefore not
working anyway, so might we as well remove it now.

MozReview-Commit-ID: 44ERI6TUz1B
2018-03-27 19:26:04 +02:00
Jan Henning
d93ffeb7b8 Bug 1448693 - Make DumpJSStack() output appear somewhere visible on Android. r=mrbkap
... by additionally writing it to the logcat.

MozReview-Commit-ID: CvaUOhlNFQ1
2018-03-25 19:37:58 +02:00
Tom Ritter
02783fff8b Bug 1446466 Crash if moz_dispose_arena is called, and comment out all callers r=glandium
Bug 1364359 is to fix a leaked arena. Until that is fixed; it is unsafe to
call moz_dispose_arena more than once.

MozReview-Commit-ID: KIby1RLtrPK
2018-03-21 20:49:35 -05:00
Margareta Eliza Balazs
3a5e9c1231 Merge inbound to mozilla-central. a=merge 2018-03-28 00:48:11 +03:00
Andreea Pavel
fc6194692c Backed out changeset d1e979715ac1 (bug 1439342) for build bustages at builds/worker/workspace/build/src/obj-spider/dist/include/js/ProfilingStack.h:18 on a CLOSED TREE 2018-03-27 19:44:32 +03:00
Jeff Walden
df6f8941ac Bug 1449051 - Consolidate the definition of JS::Value::layout to be more readable/understandable and to common up the parts that are common across endianness/word size. r=jandem 2018-03-27 12:26:10 -07:00
Jeff Walden
636004794d Bug 1447475 - Rip out support code for setting MOZ_ICU_DATA_ARCHIVE and shipping ICU data in a file outside the binary. r=ted 2018-03-20 18:30:16 -07:00
Xidorn Quan
99b3d4120a Bug 1448728 part 1 - Make popular headers not include nsWindowSizes.h. r=njn
MozReview-Commit-ID: EC5J9Im3gfu
2018-03-28 10:44:49 +11:00
Steve Fink
43c31e4b14 Bug 1449296 - Make gdb/run-tests.py runnable with either Python 2 or 3, r=jorendorff 2018-03-27 12:35:49 -07:00
Steve Fink
7d412289d2 Bug 1449285 - Fix path handling in gdb run-tests.py script, r=Waldo 2018-03-27 11:39:26 -07:00
shindli
bebfba1a44 Backed out 2 changesets (bug 1449051, bug 1447475) for MnH and en-US failures on a CLOSED TREE
Backed out changeset d9a446d356da (bug 1449051)
Backed out changeset 851ed02cdac1 (bug 1447475)
2018-03-28 02:05:38 +03:00
Margareta Eliza Balazs
8419d911e7 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-28 01:00:31 +03:00
Jeff Walden
305c04acef Bug 1449099 - Update various parts of gdb JS::Value integration for the removal of the jsval/jsval_layout types, instead generally referring to Value.h directly. r=sfink (5x, lol Bugzilla) 2018-03-27 13:59:32 -07:00
Jeff Walden
72ad550879 Bug 1449051 - Consolidate the definition of JS::Value::layout to be more readable/understandable and to common up the parts that are common across endianness/word size. r=jandem 2018-03-27 12:26:10 -07:00
Jeff Walden
2086e8e904 Bug 1447475 - Rip out support code for setting MOZ_ICU_DATA_ARCHIVE and shipping ICU data in a file outside the binary. r=ted 2018-03-20 18:30:16 -07:00
Jeff Walden
af0d3da6de Bug 1448232 - Make gdb JS::Value prettyprinting integration handle |gdb.types.make_enum_dict(gdb.lookup_type('JSValueType'))| when the compiler-generated keys have a 'JSValueTag::' prefix with clang. r=sfink 2018-03-26 20:34:02 -07:00
Matthew Gaudet
6152ad9a20 Bug 1448136 - Ensure Debug OSR transition is respected in InstanceOf Fallback stub. r=jandem 2018-03-23 13:10:08 -07:00
Matthew Gaudet
39a054d887 Bug 1449194 - Allow naming of CacheIR logs. r=evilpie
Convert CACHEIR_LOGS to a filename, with the special behaviours that

- CACHEIR_LOGS=0* disables logs
- CACHEIR_LOGS=1 uses the default JIT_SPEW_DIR and cacheir log name

Otherwise, the logs are named with the provided name and PID suffixed (good for scripting)
2018-03-27 10:49:34 -04:00
Dan Gohman
266cf84dc5 Bug 1447457 - SpiderMonkey: Remove MSVC 2010 bug workarounds. r=bbouvier 2018-03-27 12:14:00 -04:00
Matt Brubeck
4dd8e948d1 Bug 1449034 - Update Rust crates to use lazy_static 1.0. r=ted
MozReview-Commit-ID: 4u4OQFBaURV
2018-03-26 15:12:56 -07:00
Jason Orendorff
815a443e2d Bug 1439342 - Fix build bustage on ARM+ASan (Clang) due to inconsistent JSTracer declarations. r=sfink 2018-02-26 17:38:18 -06:00
André Bargull
60e4ac5cfa Bug 1448834: Update IANA language subtag registry data. r=Waldo 2018-03-26 05:35:01 -07:00
Jan de Mooij
13a28b43ba Bug 1449135 part 3 - Remove cooperative scheduling; bake in JSContext* in JIT code. r=luke 2018-03-27 18:00:27 +02:00
Jan de Mooij
0dd9cdfd00 Bug 1449135 part 2 - Add MOZ_CRASH to cooperative scheduling APIs. r=luke 2018-03-27 17:59:39 +02:00
Jan de Mooij
d61f7c79e6 Bug 1449135 part 1 - Remove shell code/tests for cooperative scheduling. r=luke 2018-03-27 17:59:10 +02:00
Tom Schuster
3430f2a2a0 Bug 1255800 - Fix typo. r=me CLOSED TREE 2018-03-27 17:39:01 +02:00
Luke Wagner
dfa26ba2d2 Bug 1448691 - Baldr: move OOM point to preserve trace/finalization invariants (r=bbouvier) 2018-03-27 09:54:01 -05:00
Luke Wagner
a45a68d54a Bug 1448605 - Baldr: quiet shutdown assertions when hasLiveRuntimes (r=bbouvier) 2018-03-26 15:26:45 -05:00
Nathan Froyd
f2ba27ebae Bug 1448015 - make some ARM-only constructors explicit; r=jandem
Attempting to stand up the static analysis for Android builds revealed
that we weren't being explicit enough.
2018-03-27 10:51:32 -04:00
Tom Schuster
6698b9aad3 Bug 1255800 - Remove JS_THIS_OBJECT from dom/xpconnect. r=bz 2018-03-07 14:35:22 +01:00
Tom Schuster
ca6a091217 Bug 1255800 - Remove JS_THIS_OBJECT from js. r=jorendorff 2018-03-22 16:38:30 +01:00
Markus Stange
e2585e8cd9 Bug 1439014 - Add a profiler feature to enable JIT optimization tracking. r=njn,sfink
MozReview-Commit-ID: LDxiLVp7e9v
2018-02-17 19:38:14 -05:00
Kris Maglione
a3be257f95 Bug 1448047: Shut down BGReadURLs thread when returning early. r=froydnj
Currently, we only shut down the BGReadURLs code when we reach the end of the
task. If we return early because a cache file doesn't exist, though, the
thread never gets shut down. In general, this should only affect sessions
immediately after a cache flush, but it's still not ideal.

MozReview-Commit-ID: 1R9Q9JiBpmY
2018-03-24 12:25:42 -07:00
Boris Zbarsky
e92bcd2990 Bug 1389585. Stop giving XPCJSID DOM_OBJECT classinfo. r=kmag
These are not supposed to be exposed to content.

MozReview-Commit-ID: 3odHUn4ZlG
2018-03-22 17:08:44 -04:00
Matthew Gaudet
16c1765a71 Bug 1434717: Part 6: Implement UnaryArith IC for doubles r=tcampbell 2018-02-07 14:22:48 -05:00
Matthew Gaudet
e4e2326261 Bug 1434717: Part 5: Connect UnaryArith IC to IonMonkey r=tcampbell 2018-02-02 10:38:43 -05:00
Matthew Gaudet
2f426bbe23 Bug 1434717: Part 4: Remove UnaryShared IC support r=tcampbell
It appears this also removes dead remnents of a previous caching story for getprop.
2018-02-01 11:09:16 -05:00
Matthew Gaudet
03c9eaaef7 Bug 1434717: Part 3: Switch to using CacheIR for Baseline ICs. r=tcampbell
As a side effect of this patch, UnaryArith loses it's ability to attach ICs in
Ion. That support will come in a subsequent patch.
2018-01-31 16:36:46 -05:00
Matthew Gaudet
9a402a5a3d Bug 1434717: Part 2: Implement CacheIR IC for unary arithmetic operators r=tcampbell
This provides a CacheIR implementation of the IC for JSOP_BITNOT and JSOP_NEG.
However this commit does not connect the IC, as that requires more work to the
shared IC system.
2018-01-31 16:02:25 -05:00
Matthew Gaudet
6f9112c02d Bug 1434717: Part 1: Implement GuardIsInt32 r=tcampbell 2018-01-31 09:47:22 -05:00
Luke Wagner
f3f2c7f339 Bug 1450802 - Baldr: fix mutex ordering assertions (r=bbouvier) 2018-04-03 14:32:07 -05:00
Luke Wagner
e1a55ee277 Bug 1450804 - Baldr: forbid pools in br_table baseline (r=bbouvier) 2018-04-03 14:28:22 -05:00
Tom Schuster
c91a04bf1c Bug 1083458 - Remove isExpressionClosure from Parser. r=Waldo 2018-04-03 14:08:00 +02:00
Christian Holler
146e113a00 Bug 1431439 - Add StructuredCloneReader fuzzing target. r=sfink,jandem 2018-01-17 17:06:11 +01:00