diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-05-23 02:48:13 +0000 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-05-23 02:48:13 +0000 |
commit | c2b5f396eb4ed1bd9be5a6625bd823d7a3e63678 (patch) | |
tree | 3c2d897e0b87b809ce4fa6dba238513736338cd4 /js/src/jit/CacheIR.cpp | |
parent | 201d8ee48926569fee200fbc9b4d506554869b5d (diff) | |
download | UXP-c2b5f396eb4ed1bd9be5a6625bd823d7a3e63678.tar UXP-c2b5f396eb4ed1bd9be5a6625bd823d7a3e63678.tar.gz UXP-c2b5f396eb4ed1bd9be5a6625bd823d7a3e63678.tar.lz UXP-c2b5f396eb4ed1bd9be5a6625bd823d7a3e63678.tar.xz UXP-c2b5f396eb4ed1bd9be5a6625bd823d7a3e63678.zip |
Remove UnboxedArray code part 1
Diffstat (limited to 'js/src/jit/CacheIR.cpp')
-rw-r--r-- | js/src/jit/CacheIR.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/js/src/jit/CacheIR.cpp b/js/src/jit/CacheIR.cpp index f1061af70..6822a70af 100644 --- a/js/src/jit/CacheIR.cpp +++ b/js/src/jit/CacheIR.cpp @@ -175,7 +175,7 @@ TestMatchingReceiver(CacheIRWriter& writer, JSObject* obj, Shape* shape, ObjOper } else { writer.guardNoUnboxedExpando(objId); } - } else if (obj->is<UnboxedArrayObject>() || obj->is<TypedObject>()) { + } else if (obj->is<TypedObject>()) { writer.guardGroup(objId, obj->group()); } else { Shape* shape = obj->maybeShape(); @@ -368,13 +368,6 @@ GetPropIRGenerator::tryAttachObjectLength(CacheIRWriter& writer, HandleObject ob return true; } - if (obj->is<UnboxedArrayObject>()) { - writer.guardClass(objId, GuardClassKind::UnboxedArray); - writer.loadUnboxedArrayLengthResult(objId); - emitted_ = true; - return true; - } - if (obj->is<ArgumentsObject>() && !obj->as<ArgumentsObject>().hasOverriddenLength()) { if (obj->is<MappedArgumentsObject>()) { writer.guardClass(objId, GuardClassKind::MappedArguments); |