Core: Initialize all JITIL RegInfo members in the initializer list.

There is nothing in the Braces.
On Aug 24, 2014 7:00 AM, "BhaaL" <notifications@github.com> wrote:

> In Source/Core/Core/PowerPC/Jit64IL/IR_X86.cpp:
>
> > @@ -48,14 +48,10 @@ struct RegInfo {
> >  	unsigned numFSpills;
> >  	unsigned exitNumber;
> >
> > -	RegInfo(JitIL* j, InstLoc f, unsigned insts) : Jit(j), FirstI(f), IInfo(insts), lastUsed(insts) {
> > -		for (unsigned i = 0; i < MAX_NUMBER_OF_REGS; i++) {
> > -			regs[i] = nullptr;
> > -			fregs[i] = nullptr;
> > -		}
> > -		numSpills = 0;
> > -		numFSpills = 0;
> > -		exitNumber = 0;
> > +	RegInfo(JitIL* j, InstLoc f, unsigned insts)
> > +		: Jit(j), Build(nullptr), FirstI(f), IInfo(insts), lastUsed(insts)
> > +		, regs(), fregs(), numSpills(0), numFSpills(0), exitNumber(0)
>
> Hmm, as far as I could see from the C++11 docs I read so far; it should be
> curly braces: regs{}, fregs{} as part of the uniform/list initialization
> stuffs. Unless ofc I missed something.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/dolphin-emu/dolphin/pull/836/files#r16635563>.
>