mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 898750 - Attach Array.build only if ENABLE_PARALLEL_JS. (r=shell bustage)
This commit is contained in:
parent
8e611bf37c
commit
ea9ba911f0
@ -2835,10 +2835,10 @@ static const JSFunctionSpec array_static_methods[] = {
|
||||
{"some", {NULL, NULL}, 2,0, "ArrayStaticSome"},
|
||||
{"reduce", {NULL, NULL}, 2,0, "ArrayStaticReduce"},
|
||||
{"reduceRight", {NULL, NULL}, 2,0, "ArrayStaticReduceRight"},
|
||||
{"build", {NULL, NULL}, 2,0, "ArrayStaticBuild"},
|
||||
JS_FN("of", array_of, 0,0),
|
||||
|
||||
#ifdef ENABLE_PARALLEL_JS
|
||||
{"build", {NULL, NULL}, 2,0, "ArrayStaticBuild"},
|
||||
/* Parallelizable and pure static methods. */
|
||||
{"buildPar", {NULL, NULL}, 3,0, "ArrayStaticBuildPar"},
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user