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:
Gavin Sharp 2013-05-24 10:53:32 -07:00
parent ac2132dad0
commit 9b4b3842ca
2 changed files with 2 additions and 5 deletions

View File

@ -68,10 +68,7 @@ VPATH += \
###############################################
# BEGIN enable non-releasable features
#
ifeq (,$(filter beta release esr,$(MOZ_UPDATE_CHANNEL)))
DEFINES += -DENABLE_TYPEDARRAY_MOVE
endif
ifeq (,$(filter aurora beta release esr,$(MOZ_UPDATE_CHANNEL)))
ifdef NIGHTLY_BUILD
DEFINES += -DENABLE_PARALLEL_JS
endif

View File

@ -3373,7 +3373,7 @@ const JSFunctionSpec ArrayBufferObject::jsfuncs[] = {
* TypedArray boilerplate
*/
#ifdef ENABLE_TYPEDARRAY_MOVE
#ifndef RELEASE_BUILD
# define IMPL_TYPED_ARRAY_STATICS(_typedArray) \
const JSFunctionSpec _typedArray::jsfuncs[] = { \
JS_FN("iterator", JS_ArrayIterator, 0, 0), \