summaryrefslogtreecommitdiffstats
path: root/js/src/jit/MIR.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-06-16 19:55:05 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-06-18 10:29:34 +0000
commite9aac71c6d7fa67c7581e2bd75accae5a9699165 (patch)
tree4be98a3e8e1e87f974058bce82fe060b2db1885c /js/src/jit/MIR.h
parent85f9a95ddbc39a1b120eeb8280685e1ae40dc5dc (diff)
downloadUXP-e9aac71c6d7fa67c7581e2bd75accae5a9699165.tar
UXP-e9aac71c6d7fa67c7581e2bd75accae5a9699165.tar.gz
UXP-e9aac71c6d7fa67c7581e2bd75accae5a9699165.tar.lz
UXP-e9aac71c6d7fa67c7581e2bd75accae5a9699165.tar.xz
UXP-e9aac71c6d7fa67c7581e2bd75accae5a9699165.zip
Remove and clean up more code.
Diffstat (limited to 'js/src/jit/MIR.h')
-rw-r--r--js/src/jit/MIR.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/src/jit/MIR.h b/js/src/jit/MIR.h
index f316827dc..4bedfb268 100644
--- a/js/src/jit/MIR.h
+++ b/js/src/jit/MIR.h
@@ -9234,7 +9234,7 @@ class MLoadElement
ALLOW_CLONE(MLoadElement)
};
-// Load a value from the elements vector for a dense native or unboxed array.
+// Load a value from the elements vector of a native object.
// If the index is out-of-bounds, or the indexed slot has a hole, undefined is
// returned instead.
class MLoadElementHole
@@ -9465,10 +9465,10 @@ class MStoreElement
ALLOW_CLONE(MStoreElement)
};
-// Like MStoreElement, but supports indexes >= initialized length, and can
-// handle unboxed arrays. The downside is that we cannot hoist the elements
-// vector and bounds check, since this instruction may update the (initialized)
-// length and reallocate the elements vector.
+// Like MStoreElement, but supports indexes >= initialized length. The downside
+// is that we cannot hoist the elements vector and bounds check, since this
+// instruction may update the (initialized) length and reallocate the elements
+// vector.
class MStoreElementHole
: public MAryInstruction<4>,
public MStoreElementCommon,