summaryrefslogtreecommitdiffstats
path: root/js/src/vm
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-06-12 09:56:41 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-06-12 09:56:41 +0000
commitec96ef3b7712da562d9f2f26c4099a5700c4eea4 (patch)
treea3aac09bdeceabc2357f1aef6bbfce144d6af2a9 /js/src/vm
parent93ce7c7372b20f6e6c6778f9c196b723a1df27a8 (diff)
downloadUXP-ec96ef3b7712da562d9f2f26c4099a5700c4eea4.tar
UXP-ec96ef3b7712da562d9f2f26c4099a5700c4eea4.tar.gz
UXP-ec96ef3b7712da562d9f2f26c4099a5700c4eea4.tar.lz
UXP-ec96ef3b7712da562d9f2f26c4099a5700c4eea4.tar.xz
UXP-ec96ef3b7712da562d9f2f26c4099a5700c4eea4.zip
Remove unboxed array context option and shell flag.
Diffstat (limited to 'js/src/vm')
-rw-r--r--js/src/vm/ObjectGroup.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/js/src/vm/ObjectGroup.cpp b/js/src/vm/ObjectGroup.cpp
index c2866f5ae..6b984a803 100644
--- a/js/src/vm/ObjectGroup.cpp
+++ b/js/src/vm/ObjectGroup.cpp
@@ -1454,19 +1454,6 @@ ObjectGroup::allocationSiteGroup(JSContext* cx, JSScript* scriptArg, jsbytecode*
}
}
- // FIXME: This block can probably go because of cx->options().unboxedArrays()
- if (kind == JSProto_Array &&
- (JSOp(*pc) == JSOP_NEWARRAY || IsCallPC(pc)) &&
- cx->options().unboxedArrays())
- {
- PreliminaryObjectArrayWithTemplate* preliminaryObjects =
- cx->new_<PreliminaryObjectArrayWithTemplate>(nullptr);
- if (preliminaryObjects)
- res->setPreliminaryObjects(preliminaryObjects);
- else
- cx->recoverFromOutOfMemory();
- }
-
if (!table->add(p, key, res)) {
ReportOutOfMemory(cx);
return nullptr;