In file JavaScriptCore/wtf/Threading.cpp, the constructor of NewThreadContext use the same name for all the parameters and memeber variables, and this cause the member variables not initialized in RVCT compiler, not sure about other compilers though. Change it to use different names should be fine with other compilers too.
Created attachment 47417 [details] Patch for bug 34169. Use different parameter name for NewThreadContext, this fix the not-initialized member variable issue for RVCT compiler.
We do this, using the same name for arguments and data members, in tons of different places in the code base. This is just one of them!
Hmmm, yeah, seems problem is elsewhere, will check further.
Yes, this is certainly a valid C++ idiom that we use frequently.
Closing for now per comment 3. Please feel free to reopen if this is still needed.