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/shell | |
parent | 986ae6266566447f22be68caf6371cbf98cafd52 (diff) | |
download | uxp-90d999c59a08bfc3145317aa4f0a92db0597632e.tar.gz |
1320403 - Move JSFunction::EXPR_BODY to JSScript, LazyScript, and FunctionBox.
Diffstat (limited to 'js/src/shell')
-rw-r--r-- | js/src/shell/js.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/shell/js.cpp b/js/src/shell/js.cpp index 617b5e9025..f6a13623c4 100644 --- a/js/src/shell/js.cpp +++ b/js/src/shell/js.cpp @@ -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; } |