summaryrefslogtreecommitdiffstats
path: root/js/src/jit/CodeGenerator.cpp
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-07-14 19:04:52 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:46 -0400
commit85aeff765ea921ea2c947fa9d68756eb989b6287 (patch)
tree827d8b39cfe8bfd8a972ef1fa92fa07bd5a8415c /js/src/jit/CodeGenerator.cpp
parent449ea84dcc7dffb2f042fc414eb7238ae842d596 (diff)
downloadUXP-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/CodeGenerator.cpp')
-rw-r--r--js/src/jit/CodeGenerator.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/js/src/jit/CodeGenerator.cpp b/js/src/jit/CodeGenerator.cpp
index 114fc96b3..205812942 100644
--- a/js/src/jit/CodeGenerator.cpp
+++ b/js/src/jit/CodeGenerator.cpp
@@ -4440,19 +4440,6 @@ CodeGenerator::visitApplyArrayGeneric(LApplyArrayGeneric* apply)
emitApplyGeneric(apply);
}
-typedef bool (*ArraySpliceDenseFn)(JSContext*, HandleObject, uint32_t, uint32_t);
-static const VMFunction ArraySpliceDenseInfo =
- FunctionInfo<ArraySpliceDenseFn>(ArraySpliceDense, "ArraySpliceDense");
-
-void
-CodeGenerator::visitArraySplice(LArraySplice* lir)
-{
- pushArg(ToRegister(lir->getDeleteCount()));
- pushArg(ToRegister(lir->getStart()));
- pushArg(ToRegister(lir->getObject()));
- callVM(ArraySpliceDenseInfo, lir);
-}
-
void
CodeGenerator::visitBail(LBail* lir)
{