summaryrefslogtreecommitdiffstats
path: root/js/src/frontend/BytecodeEmitter.cpp
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-19 15:51:02 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-19 15:51:02 +0100
commitf67a2b88d7e8780f4ae81419338004b6fd781567 (patch)
tree7119a8cee723b7215cd5d2031f00decfbce37510 /js/src/frontend/BytecodeEmitter.cpp
parent5ef44cf6484b9dfd49c0174ac2969a29587a1bbd (diff)
downloadUXP-f67a2b88d7e8780f4ae81419338004b6fd781567.tar
UXP-f67a2b88d7e8780f4ae81419338004b6fd781567.tar.gz
UXP-f67a2b88d7e8780f4ae81419338004b6fd781567.tar.lz
UXP-f67a2b88d7e8780f4ae81419338004b6fd781567.tar.xz
UXP-f67a2b88d7e8780f4ae81419338004b6fd781567.zip
Part 2: Call NameFunctions after emitting
Issue #78
Diffstat (limited to 'js/src/frontend/BytecodeEmitter.cpp')
-rw-r--r--js/src/frontend/BytecodeEmitter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/js/src/frontend/BytecodeEmitter.cpp b/js/src/frontend/BytecodeEmitter.cpp
index 205bbf3d9..457218178 100644
--- a/js/src/frontend/BytecodeEmitter.cpp
+++ b/js/src/frontend/BytecodeEmitter.cpp
@@ -4539,8 +4539,6 @@ BytecodeEmitter::setOrEmitSetFunName(ParseNode* maybeFun, HandleAtom name,
RootedAtom funName(cx, NameToFunctionName(cx, name, prefixKind));
if (!funName)
return false;
- if (fun->hasGuessedAtom())
- fun->clearGuessedAtom();
fun->setCompileTimeName(name);
return true;
}