summaryrefslogtreecommitdiffstats
path: root/js/src/jit/MIR.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-06-20 12:56:32 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-06-20 12:56:32 +0200
commit32d13a1648a64fe26be66de026bffca8c1afa88f (patch)
treebecd2a6ab5304e14657c6f8c0acf27aaad1ed03d /js/src/jit/MIR.h
parent276f6583e00edf2a217a3092471ca2aa3aab5a09 (diff)
downloadUXP-32d13a1648a64fe26be66de026bffca8c1afa88f.tar
UXP-32d13a1648a64fe26be66de026bffca8c1afa88f.tar.gz
UXP-32d13a1648a64fe26be66de026bffca8c1afa88f.tar.lz
UXP-32d13a1648a64fe26be66de026bffca8c1afa88f.tar.xz
UXP-32d13a1648a64fe26be66de026bffca8c1afa88f.zip
Call a more generic function when inlining array natives.
This simplifies the code a bit because ElementAccessHasExtraIndexedProperty checks for length-overflow (directly) and sparse-indexes (through TypeCanHaveExtraIndexedProperties) so the callers don't have to do that anymore.
Diffstat (limited to 'js/src/jit/MIR.h')
-rw-r--r--js/src/jit/MIR.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/src/jit/MIR.h b/js/src/jit/MIR.h
index 4bedfb268..6526e0931 100644
--- a/js/src/jit/MIR.h
+++ b/js/src/jit/MIR.h
@@ -14054,7 +14054,6 @@ bool PropertyWriteNeedsTypeBarrier(TempAllocator& alloc, CompilerConstraintList*
MBasicBlock* current, MDefinition** pobj,
PropertyName* name, MDefinition** pvalue,
bool canModify, MIRType implicitType = MIRType::None);
-bool ArrayPrototypeHasIndexedProperty(IonBuilder* builder, JSScript* script);
bool TypeCanHaveExtraIndexedProperties(IonBuilder* builder, TemporaryTypeSet* types);
inline MIRType