Bug 942205 - Initialize ParallelArray class in GlobalObject::initStandardClasses. r=nmatsakis
authorTill Schneidereit <till@tillschneidereit.net>
Mon, 25 Nov 2013 11:21:37 +0000
changeset 172977 324d93c55cc5c43aa74056c9e89a5ebc60916105
parent 172976 630a4c1f91b6ddcd0999d1a87f05c21d5fd40379
child 172978 e4c2a0b98917fe243b8b8594378cf59e17d1ec78
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnmatsakis
bugs942205
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 942205 - Initialize ParallelArray class in GlobalObject::initStandardClasses. r=nmatsakis
js/src/vm/GlobalObject.cpp
--- a/js/src/vm/GlobalObject.cpp
+++ b/js/src/vm/GlobalObject.cpp
@@ -479,16 +479,19 @@ GlobalObject::initStandardClasses(JSCont
            js_InitProxyClass(cx, global) &&
            js_InitMapClass(cx, global) &&
            GlobalObject::initMapIteratorProto(cx, global) &&
            js_InitSetClass(cx, global) &&
            GlobalObject::initSetIteratorProto(cx, global) &&
 #if EXPOSE_INTL_API
            js_InitIntlClass(cx, global) &&
 #endif
+#if ENABLE_PARALLEL_JS
+           js_InitParallelArrayClass(cx, global) &&
+#endif
            true;
 }
 
 /* static */ bool
 GlobalObject::isRuntimeCodeGenEnabled(JSContext *cx, Handle<GlobalObject*> global)
 {
     HeapSlot &v = global->getSlotRef(RUNTIME_CODEGEN_ENABLED);
     if (v.isUndefined()) {