Commit 04b0fb9f authored by André Bargull's avatar André Bargull
Browse files

Bug 1684020: Add TDZCheckCache. r=yulia, a=dveditz

Differential Revision: https://phabricator.services.mozilla.com/D100787
parent c2ac17ad
......@@ -4476,6 +4476,8 @@ bool BytecodeEmitter::emitAssignmentOrInit(ParseNodeKind kind, ParseNode* lhs,
}
bool BytecodeEmitter::emitShortCircuitAssignment(AssignmentNode* node) {
TDZCheckCache tdzCache(this);
JSOp op;
switch (node->getKind()) {
case ParseNodeKind::CoalesceAssignExpr:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment