summaryrefslogtreecommitdiff
path: root/js/src/vm/NativeObject.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-06-16 20:06:39 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-06-16 20:06:39 +0000
commited98fe0e7269d9bab3b9a65993068579f0bc1520 (patch)
tree4db7c300f9591faf63701d3fd2633274185fe126 /js/src/vm/NativeObject.h
parent9cfa398a1eca20f4ebf6bd472ad999860ef12cfc (diff)
downloaduxp-ed98fe0e7269d9bab3b9a65993068579f0bc1520.tar.gz
Update comment
Diffstat (limited to 'js/src/vm/NativeObject.h')
-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 4957a01d2f..da4f873a63 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,