Bug 1083470 - Disable E4X for-each in release. r?luke
MozReview-Commit-ID: 8rLq9GzvNrT
--- a/js/src/jsapi.h
+++ b/js/src/jsapi.h
@@ -1166,21 +1166,17 @@ class JS_PUBLIC_API(ContextOptions) {
nativeRegExp_(true),
unboxedArrays_(false),
asyncStack_(true),
throwOnDebuggeeWouldRun_(true),
dumpStackOnDebuggeeWouldRun_(false),
werror_(false),
strictMode_(false),
extraWarnings_(false),
-#ifdef NIGHTLY_BUILD
forEachStatement_(false)
-#else
- forEachStatement_(true)
-#endif
{
}
bool baseline() const { return baseline_; }
ContextOptions& setBaseline(bool flag) {
baseline_ = flag;
return *this;
}