Commit Graph

61975 Commits

Author SHA1 Message Date
André Bargull
3826d2ca16 Bug 1371591 - Part 1: Move parenthesized identifier check to parser. r=jorendorff 2018-03-21 07:27:23 -07:00
Jan de Mooij
859881db6a Bug 1447578 part 5 - Assert WasmMacroAssembler does not have GC relocation data. r=jonco 2018-03-21 16:59:07 +01:00
Jan de Mooij
23f330abc1 Bug 1447578 part 4 - Move MacroAssembler constructors out-of-line. r=luke 2018-03-21 16:58:28 +01:00
Jan de Mooij
e3bf664b61 Bug 1447578 part 3 - Remove MacroAssembler rooting/tracing code. r=jonco 2018-03-21 16:58:04 +01:00
Jan de Mooij
b807bbd8ce Bug 1447578 part 2 - Refactor MacroAssembler, add AutoCheckCannotGC for stack-allocated assemblers. r=jonco,luke 2018-03-21 16:57:30 +01:00
Jan de Mooij
5ac333eacd Bug 1447578 part 1 - Remove unused parameters from MacroAssembler constructor. r=luke 2018-03-21 16:55:55 +01:00
Ryan VanderMeulen
febba5c32c Bug 1447835 - Remove JS MSVC warning suppressions which are no longer needed. r=Waldo 2018-03-22 15:51:27 -04:00
Jon Coppeard
72d4b4b64a Bug 1447964 - Improve CurrentThreadCanAccessZone() check r=jandem 2018-03-22 18:24:32 +00:00
Jon Coppeard
9c77cf32d9 Bug 1446811 - Support exporting array and object binding patterns r=jorendorff a=abillings 2018-03-22 18:24:32 +00:00
Dhi Aurrahman
30c55ed3f7 Bug 1439788 - Add performance.now() function to JS shell. r=arai 2018-03-03 18:01:45 +07:00
André Bargull
e31d95da31 Bug 1449574: Update tzdata in ICU data files to 2018d. r=Waldo 2018-03-29 10:02:57 -07:00
André Bargull
8692a25c51 Bug 1449887: Don't assert if an inferred name is set after OOM for lazy functions. r=jorendorff 2018-03-29 06:21:47 -07:00
Jeff Walden
1a391ad7e4 Bug 1450311 - Update jsval.rs's glue code for JS::Value::layout going away and its former members being renamed. r=me on the dead-simple changes 2018-03-30 13:54:46 -07:00
Boris Zbarsky
43f8629d9c Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 1a: Make PinnedStringId constructor constexpr. r=Waldo/froydnj. 2018-03-07 21:50:24 +01:00
Peter Van der Beken
be6ce2fc26 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 1: Add infrastructure to expose 'system' names on a WebIDL global. r=bz. 2017-07-19 15:04:14 +02:00
Jeff Walden
2ad0790299 Bug 1446237 - Rename some String.cpp and Unicode.h functions to have better, and different, names -- for clarity particularly in scumbag unified builds with scumbag global |using namespace|. r=anba 2018-03-15 18:39:05 -07:00
Jeff Walden
4c4621ac30 Bug 1446237 - Adjust make_unicode.py for its new location in vm/ and for the introduction of js/src/tests/non262/. r=sfink, r=jorendorff 2018-03-15 18:39:02 -07:00
Jon Coppeard
307befb312 Bug 1447308 - Fix bustage r=me 2018-03-20 18:21:41 +00:00
Jon Coppeard
c6f83adbd2 Bug 1447308 - Fix LifoAlloc::isEmpty() check r=nbp 2018-03-20 18:14:44 +00:00
Jon Coppeard
92e39fd240 Bug 1447307 - Fix clearing whole cell store buffer r=sfink 2018-03-20 18:13:47 +00:00
Jon Coppeard
e5d7f965a1 Bug 1447074 - Improve assertions for the whole cell store buffer r=sfink 2018-03-20 18:10:27 +00:00
Jon Coppeard
0c418e35d5 Bug 1447073 - Check that helper threads never allocate in the nursery r=sfink 2018-03-20 17:59:02 +00:00
Steve Fink
086efe0974 Bug 1367833 - Do not suppress analysis during minor GC, r=jonco 2018-03-19 12:00:19 -07:00
Jason Orendorff
700bf023b4 Bug 1437537 - Fix assertion when forcing a return while paused on JSOP_EXCEPTION. r=jimb. 2018-03-07 16:40:33 -06:00
Jason Orendorff
87a2300619 Bug 1443583 - Part 5: Simplify DebuggerFrame_getScript. r=jimb.
The patch for bug 684529, seven years ago, left this unnecessarily complicated.
Reviewed by me, naturally.
2018-03-06 11:05:59 -06:00
Jason Orendorff
a36946ccda Bug 1443583 - Part 4: Remove unused typedef DebuggerFrameReferent. r=jimb.
(Part 3 was refactored into part 2.)
2018-03-06 11:04:56 -06:00
Jason Orendorff
2ade690412 Bug 1443583 - Part 2.7: Remove AbstractFramePtr::Tag_ScriptFrameIterData. r=jimb. 2018-03-13 13:14:32 -05:00
Jason Orendorff
e3f48cfaa0 Bug 1443583 - Part 2.6: Make DebuggerFrame_freeScriptFrameIterData a method of DebuggerFrame. r=jimb.
Most of the work is to smooth out the types.
2018-03-13 12:41:23 -05:00
Jason Orendorff
00f946a132 Bug 1443583 - Part 2.5: Change DebuggerFrame objects so that the private data is a FrameIter::Data*, not a raw form of an AbstractFramePtr. r=jimb. 2018-03-13 12:40:36 -05:00
Jason Orendorff
45369df578 Bug 1443583 - Part 2.4: Remove unused macros. r=jimb. 2018-03-13 11:31:33 -05:00
Jason Orendorff
91263b094e Bug 1443583 - Part 2.3: Change DebuggerFrame construction to require a FrameIter unconditionally. r=jimb. 2018-03-13 11:20:30 -05:00
Jason Orendorff
cb4c82f5a7 Bug 1443583 - Part 2.2: Fix indentation throughout Debugger.cpp. r=jimb. 2018-03-13 10:42:22 -05:00
Jason Orendorff
e3abfcd1d3 Bug 1443583 - Part 2.1: Rename Debugger getScriptFrame methods to getFrame (JSNative frames do not exist anymore). r=jimb. 2018-03-13 10:18:27 -05:00
Jason Orendorff
b3bc491bf7 Bug 1443583 - Part 1: Rename JSTrapStatus -> js::ResumeMode. r=jimb. 2018-03-05 12:59:09 -06:00
Jim Blandy
d3e16d65ac Bug 1444604: Part 7: Reconcile LiveSavedFrameCache with evalInFramePrev by tweaking SavedFrame parent links. r=jorendorff 2018-03-14 12:54:04 -07:00
Jim Blandy
95e4b35b3e Bug 1444604: Part 6: Add LiveSavedFrameCache::findWithoutInvalidation. r=jorendorff 2018-03-15 16:26:09 -07:00
Jim Blandy
07a31d334b Bug 1444604: Part 5: Downcast FramePtrs to InterpreterFrames. r=jorendorff 2018-03-15 16:19:21 -07:00
Jim Blandy
4e4240a6c8 Bug 1444604: Part 4: Construct FramePtrs from AbstractFramePtrs. r=jorendorff 2018-03-15 16:14:31 -07:00
Jim Blandy
0852b35a78 Bug 1444604: Part 3: Let SavedStacks::insertFrames construct its own FrameIter. r=jorendorff 2018-03-15 16:06:55 -07:00
Jim Blandy
ac2c7403a6 Bug 1444604: Part 2: Simplify condition in FrameIter::operator++. r=jorendorff
InterpreterFrame::isDebuggerEvalFrame implies ..::evalInFramePrev, so there's no
need to check both.

MozReview-Commit-ID: sIuSKhDVSl
2018-03-13 08:31:09 -07:00
Jim Blandy
f0501316fc Bug 1444604: Part 1: Check for overrunning the LiveSavedFrameCache even in release builds. r=jorendorff
The LiveSavedFrameCache's invariant that every frame with its
hasCachedSavedFrame bit set has an entry in the cache should ensure that
LiveSavedFrameCache::find never runs off the bottom of the cache. But we should
check for an empty cache even in release builds, so that violations of this
invariant don't cause unconstrained memory accesses.

MozReview-Commit-ID: 1b9vx9nvVeY
2018-03-12 18:08:57 -07:00
Ted Campbell
f73b29d742 Bug 1445970 - Fix ARM64 simulator on MSVC / Windows. r=jandem,lth
More of the same MSVC fixes. Also fix static asserts and memory fence
intrinsics.

MozReview-Commit-ID: Gyv9AUtNCXr
2018-03-20 10:26:46 -04:00
Ted Campbell
c00a8f4d75 Bug 1445970 - Fix ARM simulator on MSVC / Windows. r=jandem
- Bitfield packing requires same base type. Use uint32_t and add
  required conversions.
- Enums with high-bit set, must be explictly marked unsigned if that is
  what we expect.
- MSVC warns about implicit 32/64 shift confusion, so be explicit.
- MSVC doesn't support asm() syntax.
- masm.ma_sub requires a ScratchRegisterScope
- MSVC sometimes gets confused by DebugOnly<T>
- MSVC warns about "-1U", so fix that.

MozReview-Commit-ID: BETAqbHKvUl
2018-03-20 10:26:30 -04:00
Jason Orendorff
cdc8029bf6 Bug 1444894 - Add a compartment assertion to js::BaselineCompile. r=nbp,jorendorff 2018-03-20 13:41:12 +00:00
Jon Coppeard
22c18a4a0d Bug 1203273 - Add a canary to check gray buffers are valid r=sfink a=abillings 2018-03-20 10:19:37 +00:00
shindli
7ed721b564 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-20 12:16:52 +02:00
shindli
0ccff397c0 Merge inbound to mozilla-central. a=merge 2018-03-20 12:11:27 +02:00
Jan de Mooij
593858eed8 Bug 1446348 - Poison TI data more eagerly. r=tcampbell 2018-03-20 09:49:40 +01:00
Ted Mielczarek
8bb45e015a bug 1255485 - Remove NSDISTMODE=copy from Makefiles. r=nalexander
MozReview-Commit-ID: GJV2O6zvEx2
2017-11-22 15:30:06 -05:00
Ted Mielczarek
44a6436fb8 bug 1255485 - build PROGRAMs directly in dist/bin instead of copying them. r=nalexander
Historically we built all our binaries in directories in the objdir, then
symlinked them into dist/bin. Some binaries needed to be copied instead
so that certain relative path lookups work properly, so we resorted to
sprinkling `NSDISTMODE=copy` around Makefiles.

This change makes it so we build PROGRAMs (not any other sort of targets)
directly in dist/bin instead. We could do the same for our other targets
with a little more work.

There were several places in the tree that were copying built binaries to
some other place and needed fixup to match the new location of binaries.

On Windows pdb files are left in the objdir where the program was
originally linked. symbolstore.py needs to locate the pdb file both to
determine whether it should dump symbols for a binary and also to copy
the pdb file into the symbol package. We fix this by simply looking for
the pdb file in the current working directory if it isn't present next
to the binary, which matches how we invoke symbolstore.py.

MozReview-Commit-ID: 8TOD1uTXD5e
2018-01-10 14:26:12 -05:00