Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
Tor Browser
Commits
420a1a63
Commit
420a1a63
authored
Jan 08, 2021
by
André Bargull
Browse files
Bug 1684020: Add TDZCheckCache. r=yulia, a=RyanVM
Differential Revision:
https://phabricator.services.mozilla.com/D100787
parent
ce089244
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/src/frontend/BytecodeEmitter.cpp
View file @
420a1a63
...
...
@@ -4310,6 +4310,8 @@ bool BytecodeEmitter::emitAssignmentOrInit(ParseNodeKind kind, ParseNode* lhs,
}
bool
BytecodeEmitter
::
emitShortCircuitAssignment
(
AssignmentNode
*
node
)
{
TDZCheckCache
tdzCache
(
this
);
JSOp
op
;
switch
(
node
->
getKind
())
{
case
ParseNodeKind
::
CoalesceAssignExpr
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment