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/vm/SelfHosting.cpp | |
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/vm/SelfHosting.cpp')
-rw-r--r-- | js/src/vm/SelfHosting.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/vm/SelfHosting.cpp b/js/src/vm/SelfHosting.cpp index 2ff20cfea..792a00490 100644 --- a/js/src/vm/SelfHosting.cpp +++ b/js/src/vm/SelfHosting.cpp @@ -2154,7 +2154,7 @@ static const JSFunctionSpec intrinsic_functions[] = { JS_INLINABLE_FN("std_Array_slice", array_slice, 2,0, ArraySlice), JS_FN("std_Array_sort", array_sort, 1,0), JS_FN("std_Array_reverse", array_reverse, 0,0), - JS_INLINABLE_FN("std_Array_splice", array_splice, 2,0, ArraySplice), + JS_FNINFO("std_Array_splice", array_splice, &array_splice_info, 2,0), JS_FN("std_Date_now", date_now, 0,0), JS_FN("std_Date_valueOf", date_valueOf, 0,0), |