diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-07-14 19:04:52 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:46 -0400 |
commit | 85aeff765ea921ea2c947fa9d68756eb989b6287 (patch) | |
tree | 827d8b39cfe8bfd8a972ef1fa92fa07bd5a8415c /js/src/jit/MIR.h | |
parent | 449ea84dcc7dffb2f042fc414eb7238ae842d596 (diff) | |
download | UXP-85aeff765ea921ea2c947fa9d68756eb989b6287.tar UXP-85aeff765ea921ea2c947fa9d68756eb989b6287.tar.gz UXP-85aeff765ea921ea2c947fa9d68756eb989b6287.tar.lz UXP-85aeff765ea921ea2c947fa9d68756eb989b6287.tar.xz UXP-85aeff765ea921ea2c947fa9d68756eb989b6287.zip |
1344477 - Part 2: Optimize Array.prototype.splice with JSOP_NORVCALL.
Diffstat (limited to 'js/src/jit/MIR.h')
-rw-r--r-- | js/src/jit/MIR.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/js/src/jit/MIR.h b/js/src/jit/MIR.h index ac55b1150..6c376d528 100644 --- a/js/src/jit/MIR.h +++ b/js/src/jit/MIR.h @@ -4186,27 +4186,6 @@ class MCallDOMNative : public MCall virtual void computeMovable() override; }; -// arr.splice(start, deleteCount) with unused return value. -class MArraySplice - : public MTernaryInstruction, - public Mix3Policy<ObjectPolicy<0>, IntPolicy<1>, IntPolicy<2> >::Data -{ - private: - - MArraySplice(MDefinition* object, MDefinition* start, MDefinition* deleteCount) - : MTernaryInstruction(object, start, deleteCount) - { } - - public: - INSTRUCTION_HEADER(ArraySplice) - TRIVIAL_NEW_WRAPPERS - NAMED_OPERANDS((0, object), (1, start), (2, deleteCount)) - - bool possiblyCalls() const override { - return true; - } -}; - // fun.apply(self, arguments) class MApplyArgs : public MAryInstruction<3>, |