mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 875342: fix JS channel-specific features to use the right build-time logic, r=sstangl
--HG-- extra : rebase_source : 4d091d89ad5dd19ca0c966140a9a56041eced86d
This commit is contained in:
parent
3259f595c7
commit
e7d6447052
@ -68,10 +68,7 @@ VPATH += \
|
|||||||
###############################################
|
###############################################
|
||||||
# BEGIN enable non-releasable features
|
# BEGIN enable non-releasable features
|
||||||
#
|
#
|
||||||
ifeq (,$(filter beta release esr,$(MOZ_UPDATE_CHANNEL)))
|
ifdef NIGHTLY_BUILD
|
||||||
DEFINES += -DENABLE_TYPEDARRAY_MOVE
|
|
||||||
endif
|
|
||||||
ifeq (,$(filter aurora beta release esr,$(MOZ_UPDATE_CHANNEL)))
|
|
||||||
DEFINES += -DENABLE_PARALLEL_JS
|
DEFINES += -DENABLE_PARALLEL_JS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -3373,7 +3373,7 @@ const JSFunctionSpec ArrayBufferObject::jsfuncs[] = {
|
|||||||
* TypedArray boilerplate
|
* TypedArray boilerplate
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef ENABLE_TYPEDARRAY_MOVE
|
#ifndef RELEASE_BUILD
|
||||||
# define IMPL_TYPED_ARRAY_STATICS(_typedArray) \
|
# define IMPL_TYPED_ARRAY_STATICS(_typedArray) \
|
||||||
const JSFunctionSpec _typedArray::jsfuncs[] = { \
|
const JSFunctionSpec _typedArray::jsfuncs[] = { \
|
||||||
JS_FN("iterator", JS_ArrayIterator, 0, 0), \
|
JS_FN("iterator", JS_ArrayIterator, 0, 0), \
|
||||||
|
Loading…
Reference in New Issue
Block a user