Fix branching based on uninitialized values in ThreadData. (No bug, r=dvander)
authorSean Stangl <sstangl@mozilla.com>
Wed, 04 Jan 2012 12:13:18 -0800
changeset 112373 bd21710261eb0f9548d4983a0e49caa3e3181ab9
parent 112372 b07c7276e785ecdf176afc211d974b2d24453f3f
child 112374 8d6cfd44818fdaa381bebda7cb7c328e34b32dae
push id239
push userakeybl@mozilla.com
push dateThu, 03 Jan 2013 21:54:43 +0000
treeherdermozilla-release@3a7b66445659 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdvander
milestone12.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
Fix branching based on uninitialized values in ThreadData. (No bug, r=dvander)
js/src/jscntxt.cpp
--- a/js/src/jscntxt.cpp
+++ b/js/src/jscntxt.cpp
@@ -107,16 +107,20 @@ ThreadData::ThreadData(JSRuntime *rt)
 #endif
     tempLifoAlloc(TEMP_LIFO_ALLOC_PRIMARY_CHUNK_SIZE),
     execAlloc(NULL),
     bumpAlloc(NULL),
     repCache(NULL),
     dtoaState(NULL),
     nativeStackBase(GetNativeStackBase()),
     pendingProxyOperation(NULL),
+    ionTop(NULL),
+    ionJSContext(NULL),
+    ionStackLimit(0),
+    ionActivation(NULL),
     interpreterFrames(NULL)
 {
 #ifdef DEBUG
     noGCOrAllocationCheck = 0;
 #endif
 }
 
 ThreadData::~ThreadData()