diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-06-08 15:12:00 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:15 -0400 |
commit | 90d999c59a08bfc3145317aa4f0a92db0597632e (patch) | |
tree | f13ff8d145308b0f5581732e55dc331ad2551901 /js/src/builtin/ReflectParse.cpp | |
parent | 986ae6266566447f22be68caf6371cbf98cafd52 (diff) | |
download | UXP-90d999c59a08bfc3145317aa4f0a92db0597632e.tar UXP-90d999c59a08bfc3145317aa4f0a92db0597632e.tar.gz UXP-90d999c59a08bfc3145317aa4f0a92db0597632e.tar.lz UXP-90d999c59a08bfc3145317aa4f0a92db0597632e.tar.xz UXP-90d999c59a08bfc3145317aa4f0a92db0597632e.zip |
1320403 - Move JSFunction::EXPR_BODY to JSScript, LazyScript, and FunctionBox.
Diffstat (limited to 'js/src/builtin/ReflectParse.cpp')
-rw-r--r-- | js/src/builtin/ReflectParse.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/js/src/builtin/ReflectParse.cpp b/js/src/builtin/ReflectParse.cpp index beff58e13..2a0a08a5d 100644 --- a/js/src/builtin/ReflectParse.cpp +++ b/js/src/builtin/ReflectParse.cpp @@ -3407,12 +3407,7 @@ ASTSerializer::function(ParseNode* pn, ASTType type, MutableHandleValue dst) : GeneratorStyle::None; bool isAsync = pn->pn_funbox->isAsync(); - bool isExpression = -#if JS_HAS_EXPR_CLOSURES - func->isExprBody(); -#else - false; -#endif + bool isExpression = pn->pn_funbox->isExprBody(); RootedValue id(cx); RootedAtom funcAtom(cx, func->explicitName()); |