Part 2: Call NameFunctions after emitting

Issue #78
This commit is contained in:
janekptacijarabaci 2018-03-19 15:51:02 +01:00 • committed by Roy Tam
commit 34fe54e4e8
2 changed files with 15 additions and 14 deletions

View file

@ -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;
}