summaryrefslogtreecommitdiffstats
path: root/js/src/frontend/BytecodeEmitter.cpp
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-19 18:11:08 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-19 18:11:08 +0100
commit6085bfdcecc2529c1037f813e70583c2a776677d (patch)
treedef27736dea5d70ee45fc1db7a4026c5deddca70 /js/src/frontend/BytecodeEmitter.cpp
parentf084549e82ee1d6f58527c00e54b71daf674d6ed (diff)
downloadUXP-6085bfdcecc2529c1037f813e70583c2a776677d.tar
UXP-6085bfdcecc2529c1037f813e70583c2a776677d.tar.gz
UXP-6085bfdcecc2529c1037f813e70583c2a776677d.tar.lz
UXP-6085bfdcecc2529c1037f813e70583c2a776677d.tar.xz
UXP-6085bfdcecc2529c1037f813e70583c2a776677d.zip
Follow up: A opening bracket { was added; Added "function()->explicitName()" instead of "function()->name()"
Issue #78
Diffstat (limited to 'js/src/frontend/BytecodeEmitter.cpp')
-rw-r--r--js/src/frontend/BytecodeEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/frontend/BytecodeEmitter.cpp b/js/src/frontend/BytecodeEmitter.cpp
index 457218178..acf734794 100644
--- a/js/src/frontend/BytecodeEmitter.cpp
+++ b/js/src/frontend/BytecodeEmitter.cpp
@@ -5158,7 +5158,7 @@ BytecodeEmitter::emitSingleDeclaration(ParseNode* declList, ParseNode* decl,
if (!initializer && declList->isKind(PNK_VAR))
return true;
- auto emitRhs = [initializer, declList, decl](BytecodeEmitter* bce, const NameLocation&, bool)
+ auto emitRhs = [initializer, declList, decl](BytecodeEmitter* bce, const NameLocation&, bool) {
if (!initializer) {
// Lexical declarations are initialized to undefined without an
// initializer.