summaryrefslogtreecommitdiffstats
path: root/js/src/jit/BaselineCompiler.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-06-16 23:13:47 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-06-18 10:30:04 +0000
commit772cd4b188fd9f30521d4983f60363f4a830e2aa (patch)
tree7f02fd3c1f881ad1c9abad511a5ed842deac0088 /js/src/jit/BaselineCompiler.cpp
parent625366321008cc464f4295db80c48dd5a19f3ee4 (diff)
downloadUXP-772cd4b188fd9f30521d4983f60363f4a830e2aa.tar
UXP-772cd4b188fd9f30521d4983f60363f4a830e2aa.tar.gz
UXP-772cd4b188fd9f30521d4983f60363f4a830e2aa.tar.lz
UXP-772cd4b188fd9f30521d4983f60363f4a830e2aa.tar.xz
UXP-772cd4b188fd9f30521d4983f60363f4a830e2aa.zip
Remove JSOP_SPREADCALLARRAY and just use JSOP_NEWARRAY again.
Diffstat (limited to 'js/src/jit/BaselineCompiler.cpp')
-rw-r--r--js/src/jit/BaselineCompiler.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/js/src/jit/BaselineCompiler.cpp b/js/src/jit/BaselineCompiler.cpp
index 93e3759b9..6b64bfb44 100644
--- a/js/src/jit/BaselineCompiler.cpp
+++ b/js/src/jit/BaselineCompiler.cpp
@@ -2049,12 +2049,6 @@ BaselineCompiler::emit_JSOP_NEWARRAY()
return true;
}
-bool
-BaselineCompiler::emit_JSOP_SPREADCALLARRAY()
-{
- return emit_JSOP_NEWARRAY();
-}
-
typedef ArrayObject* (*NewArrayCopyOnWriteFn)(JSContext*, HandleArrayObject, gc::InitialHeap);
const VMFunction jit::NewArrayCopyOnWriteInfo =
FunctionInfo<NewArrayCopyOnWriteFn>(js::NewDenseCopyOnWriteArray, "NewDenseCopyOnWriteArray");