mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
1344477 - Part 2: Optimize Array.prototype.splice with JSOP_NORVCALL.
This commit is contained in:
parent
417aa02122
commit
4f51cc381d
16 changed files with 28 additions and 149 deletions
|
|
@ -146,9 +146,6 @@ array_push(JSContext* cx, unsigned argc, js::Value* vp);
|
|||
extern bool
|
||||
array_pop(JSContext* cx, unsigned argc, js::Value* vp);
|
||||
|
||||
extern bool
|
||||
array_splice_impl(JSContext* cx, unsigned argc, js::Value* vp, bool pop);
|
||||
|
||||
extern bool
|
||||
array_join(JSContext* cx, unsigned argc, js::Value* vp);
|
||||
|
||||
|
|
@ -173,6 +170,8 @@ array_reverse(JSContext* cx, unsigned argc, js::Value* vp);
|
|||
extern bool
|
||||
array_splice(JSContext* cx, unsigned argc, js::Value* vp);
|
||||
|
||||
extern const JSJitInfo array_splice_info;
|
||||
|
||||
/*
|
||||
* Append the given (non-hole) value to the end of an array. The array must be
|
||||
* a newborn array -- that is, one which has not been exposed to script for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue