summaryrefslogtreecommitdiffstats
path: root/js/src/jsarray.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-06-16 23:17:34 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-06-18 10:30:16 +0000
commitccb3f2b730992b65ce404e8c6fbdc297485413ac (patch)
tree9e19359c15c3775ce4e01edb196dfd2a41908f6b /js/src/jsarray.h
parent772cd4b188fd9f30521d4983f60363f4a830e2aa (diff)
downloadUXP-ccb3f2b730992b65ce404e8c6fbdc297485413ac.tar
UXP-ccb3f2b730992b65ce404e8c6fbdc297485413ac.tar.gz
UXP-ccb3f2b730992b65ce404e8c6fbdc297485413ac.tar.lz
UXP-ccb3f2b730992b65ce404e8c6fbdc297485413ac.tar.xz
UXP-ccb3f2b730992b65ce404e8c6fbdc297485413ac.zip
Remove/inline CanonicalizeArrayLengthValue.
Diffstat (limited to 'js/src/jsarray.h')
-rw-r--r--js/src/jsarray.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/js/src/jsarray.h b/js/src/jsarray.h
index f9e11149f..ec2e4f514 100644
--- a/js/src/jsarray.h
+++ b/js/src/jsarray.h
@@ -117,13 +117,6 @@ NewValuePair(JSContext* cx, const Value& val1, const Value& val2, MutableHandleV
extern bool
WouldDefinePastNonwritableLength(HandleNativeObject obj, uint32_t index);
-/*
- * Canonicalize |vp| to a uint32_t value potentially suitable for use as an
- * array length.
- */
-extern bool
-CanonicalizeArrayLengthValue(JSContext* cx, HandleValue v, uint32_t* canonicalized);
-
extern bool
GetLengthProperty(JSContext* cx, HandleObject obj, uint32_t* lengthp);