1320403 - Move JSFunction::EXPR_BODY to JSScript, LazyScript, and FunctionBox.

This commit is contained in:
Gaming4JC 2019-06-08 15:12:00 -04:00 committed by Roy Tam
commit d451930d58
9 changed files with 55 additions and 26 deletions

View file

@ -2689,7 +2689,7 @@ DisassembleScript(JSContext* cx, HandleScript script, HandleFunction fun,
if (sp->put(" CONSTRUCTOR") < 0)
return false;
}
if (fun->isExprBody()) {
if (script->isExprBody()) {
if (sp->put(" EXPRESSION_CLOSURE") < 0)
return false;
}