summaryrefslogtreecommitdiffstats
path: root/js/src/jsfun.cpp
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-07-13 23:02:36 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:41 -0400
commit22dba02b7bcab4d6dfe6b326ecc0a746e5a87191 (patch)
tree63d231709fe5745edef27b7b43bd9844006d7bfc /js/src/jsfun.cpp
parent53e46b1e12ef01ccaabb3256738ea1eac74b7941 (diff)
downloadUXP-22dba02b7bcab4d6dfe6b326ecc0a746e5a87191.tar
UXP-22dba02b7bcab4d6dfe6b326ecc0a746e5a87191.tar.gz
UXP-22dba02b7bcab4d6dfe6b326ecc0a746e5a87191.tar.lz
UXP-22dba02b7bcab4d6dfe6b326ecc0a746e5a87191.tar.xz
UXP-22dba02b7bcab4d6dfe6b326ecc0a746e5a87191.zip
1216630 - Rename preludeStart and postludeEnd to toStringStart and toStringEnd and misc fixes.
Diffstat (limited to 'js/src/jsfun.cpp')
-rw-r--r--js/src/jsfun.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/src/jsfun.cpp b/js/src/jsfun.cpp
index 4f15e78c2..0886923fd 100644
--- a/js/src/jsfun.cpp
+++ b/js/src/jsfun.cpp
@@ -821,7 +821,8 @@ CreateFunctionPrototype(JSContext* cx, JSProtoKey key)
sourceObject,
begin,
ss->length(),
- 0, 0));
+ 0,
+ ss->length()));
if (!script || !JSScript::initFunctionPrototype(cx, script, functionProto))
return nullptr;