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-16 23:17:34 +0000
commitf2c8fc62a62f1866a2716bcef449cd344feac164 (patch)
tree0c06e3c8794690ffa550126816c33ae5ce1bab04 /js/src/jsarray.h
parent912c3f5cbc512557794a3dfd7bc5cb4994413dfe (diff)
downloadUXP-f2c8fc62a62f1866a2716bcef449cd344feac164.tar
UXP-f2c8fc62a62f1866a2716bcef449cd344feac164.tar.gz
UXP-f2c8fc62a62f1866a2716bcef449cd344feac164.tar.lz
UXP-f2c8fc62a62f1866a2716bcef449cd344feac164.tar.xz
UXP-f2c8fc62a62f1866a2716bcef449cd344feac164.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);