| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
| |
optional chains under IonBuilder
IIUC, we want to process the GOTO in the case of optional chains, and we do not satisfy the requirements mentioned in the comment of snoopControlFlow's caller. Optional chains are not loops, we (probably) don't have a loop in the instruction following the GOTO, and in the GOTO destination, we're either returning an undefined/null value or the actual value.
|
|
|
|
| |
Partially based on: https://bugzilla.mozilla.org/show_bug.cgi?id=1685260
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unreachable code
This includes the following:
Bug 1611777 - Part 1: Report syntax error for optional property access in self-hosting code. r=yulia!
Bug 1611777 - Part 2: Merge same blocks in emitDeleteOptionalChain(). r=yulia!
Bug 1611777 - Part 3: N/A
Bug 1611777 - Part 4: `super` can't occur on the left-hand side of an optional chain
Bug 1611777 - Part 5: Remove unnecessary super-handling in optional delete. r=yulia!
The child node of a DeleteOptionalChainExpr node can't be a super-property
accessor, so we can remove this code.
Bug 1611777 - Part 6: Crash for unexpected super-base in optional call. r=yulia!
Bug 1611777 - Part 7: Add missing entries to list of valid optional chain start expressions. r=yulia!
Bug 1611777 - Part 8: Add missing emitGet in emitOptionalElemExpression. r=yulia!
Aligns emitOptionalElemExpression() with emitOptionalDotExpression(), so it's
easier to compare both methods against each other.
Bug 1611777 - Part 9: Replace an if-statement with an assertion. r=yulia!
Bug 1611777 - Part 10: N/A
Bug 1611777 - Part 11: Support optional chaining in class heritage expression. r=yulia!
Bug 1611777 - Part 12: Use optionalExpr() for update expressions to match spec grammar. r=yulia!
Using optionalExpr matches the spec grammar more closely. This change also
modifies the reported error message. ++a?.b reported before this change
"unexpected token: '?.'", but now reports "invalid increment/decrement operand".
Bug 1611777 - Part 13: N/A
Bug 1611777 - Part 14: Simplify two lines in optionalExpr(). r=yulia!
We don't need to test for tt == TokenKind::Eof when we return for tt != TokenKind::OptionalChain anyway. Omit local variable for the result value and instead use a tail-call. This matches the local style in the parser more closely.
Bug 1611777 - Part 15: Support FunCall/FunApply optimisations for optional chaining. r=yulia!
Bug 1611777 - Part 16: Pass through ValueUsage in optional chains. r=yulia
|
|
|
|
|
|
| |
Partially based on:
Bug 1610447 - Update Reflect to handle Optional Chaining operator
Bug 1657835 - Assertion failure: false, at js/src/builtin/ReflectParse.cpp:3168
|
|
|
|
|
|
|
| |
Partially based on:
Bug 1566143 - Implement the Optional Chaining operator (?.) proposal
Bug 1650340 - Fix deleteElementInOptionalChain
Bug 1644839 - Fix return value of emitOptionalChain on failure
|
|
|
|
| |
Partially based on: https://bugzilla.mozilla.org/show_bug.cgi?id=1566143
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* master:
No issue - Update README and SECURITY
Issue #1885 - Follow-up: Update error message if invalid rootMargin specified.
Issue #1879 - Follow-up: Update config/external/nss/target to security/target.
Issue #1885 - Allow unitless rootMargin entries for IntersectionObserver.
Issue #1879 - Revert changes to cryptox.h
Revert "Issue #1879 - spot-fix typo in cryptox.h"
Issue #1879 - spot-fix typo in cryptox.h
Issue #21 - Change MappedAttrParser to store its nsIPrincipal instead of nsSVGElement
Issue #21 - Remove use counters telemetry
Issue #1881 - Interpret empty or whitespace root margin string as zero length
Issue #1877 - Resolve NIGHTLY_BUILD conditionals.
Issue #1880 - Boot Comic Sans out of the font configuration.
|
| | |
|
| |
| |
| |
| | |
by reverting Issue #1751
|
| |
| |
| |
| | |
This reverts commit 3d671e4275c73a1484c72713304c6e04ec4ffc7c.
|
|/
|
|
|
|
|
|
|
| |
the rest of the tree.”
This also removes some PP abuse and takes file entries out of PP when no longer
needed without XP_MACOSX conditionals.
This reverts commit 6f707bde95dab6998ac204f9ee6c925ee230c740.
|
| |
|
|
|
|
| |
This is needed to fix the assertion on debug builds that self-hosted functions must have consistent names, as these two functions are aliased to `trimLeft` and `trimRight`.
|
|\
| |
| |
| |
| |
| | |
trav90/UXP-contrib:compiler-hacks-cleanup into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1865
|
| |
| |
| |
| | |
Usable GCC versions have supported -pipe for a VERY long time. There's no need to keep checking if it is supported.
|
| | |
|
| |
| |
| |
| |
| | |
All supported compilers support using C++11 <atomic> natively, so implementing
this using GCC's old __sync functions is no longer necessary.
|
|/
|
|
|
| |
Look at the instruction's operands instead of the instruction itself,
and take an early exit on empty types.
|
| |
|
| |
|
| |
|
|
|
|
| |
Mostly IPC, tools and mozbuild.
|
|
|
|
| |
processors, some Andoid packaging stuff, Eclipse IDE support et al.
|
| |
|
| |
|
| |
|
|
|
|
| |
This function essentially appears to work as written, there was an issue with it returning false too early in some situations that prevented it from working properly.
|
| |
|
|
|
|
| |
Follow-up for 9acd98298ccadd83495fa1615573ebcca6648bae
|
|
|
|
|
| |
We were not tracing debugger environments for Baseline frames without any
local/expression slots.
|
|
|
|
|
| |
This also removes some PP abuse and takes file entries out of PP when no longer
needed without XP_MACOSX conditionals.
|
| |
|
| |
|
|
|
|
|
| |
We don't need ICU_UNUM_HAS_FORMATDOUBLEFORFIELDS because we don't support any
ICU other than the one in-tree.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Resolves #1739
|
| |
|
|
|
|
|
| |
This implements the ES2019 spec for JSON stringification, including
lower-casing, properly escaping lone surrogates, etc.
|
|
|
|
|
|
| |
- Use some pointer voodoo and instead of stringbuffer append()
- Use a lookup table instead of char comparisons for chr < 256
- Stop using a Hashtable/MovableCellHasher for JSON CycleDetector
|
|
|
|
| |
Because people are apparently never satisfied with the time zones on the planet!
|
|
|
|
|
|
|
|
| |
This change makes unicode line and paragraph separators allowed in JS strings,
removing the only quirk of the JS string definition that made JSON not a valid
subset of JS.
Resolves #1732
|
| |
|
|
|
|
|
| |
This also implements IsRegExp, as this demands it.
Ported from https://bugzilla.mozilla.org/show_bug.cgi?id=1540021
|
|
|
|
|
| |
These are leftovers from when promises were fully self-hosted and could cause
confusion if left in place.
|