summaryrefslogtreecommitdiffstats
path: root/js/src/vm
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-06-16 20:06:39 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-06-18 10:29:54 +0000
commit625366321008cc464f4295db80c48dd5a19f3ee4 (patch)
tree65e66c4192ed1feffb59de3c37ccceed7595ce11 /js/src/vm
parente9aac71c6d7fa67c7581e2bd75accae5a9699165 (diff)
downloadUXP-625366321008cc464f4295db80c48dd5a19f3ee4.tar
UXP-625366321008cc464f4295db80c48dd5a19f3ee4.tar.gz
UXP-625366321008cc464f4295db80c48dd5a19f3ee4.tar.lz
UXP-625366321008cc464f4295db80c48dd5a19f3ee4.tar.xz
UXP-625366321008cc464f4295db80c48dd5a19f3ee4.zip
Update comment
Diffstat (limited to 'js/src/vm')
-rw-r--r--js/src/vm/NativeObject.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/src/vm/NativeObject.h b/js/src/vm/NativeObject.h
index 4957a01d2..da4f873a6 100644
--- a/js/src/vm/NativeObject.h
+++ b/js/src/vm/NativeObject.h
@@ -339,10 +339,8 @@ IsObjectValueInCompartment(const Value& v, JSCompartment* comp);
#endif
// Operations which change an object's dense elements can either succeed, fail,
-// or be unable to complete. For native objects, the latter is used when the
-// object's elements must become sparse instead. The enum below is used for
-// such operations, and for similar operations on unboxed arrays and methods
-// that work on both kinds of objects.
+// or be unable to complete. The latter is used when the object's elements must
+// become sparse instead. The enum below is used for such operations.
enum class DenseElementResult {
Failure,
Success,