Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Sep 4, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 3 additions & 9 deletions Source/Core/Core/PowerPC/Jit64IL/IR_X86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,10 @@ struct RegInfo
unsigned numFSpills;
unsigned exitNumber;

RegInfo(JitIL* j, InstLoc f, unsigned insts) : Jit(j), FirstI(f), IInfo(insts), lastUsed(insts)
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)

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

{
for (unsigned i = 0; i < MAX_NUMBER_OF_REGS; i++)
{
regs[i] = nullptr;
fregs[i] = nullptr;
}
numSpills = 0;
numFSpills = 0;
exitNumber = 0;
}

This comment was marked as off-topic.


private:
Expand Down
2 changes: 1 addition & 1 deletion Source/VSProps/Base.props
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
not much else we can do since many externals use it. The bad part is that there doesn't
seem to be a way to only ignore the specific instance we don't care about...
-->
<DisableSpecificWarnings>4996</DisableSpecificWarnings>
<DisableSpecificWarnings>4996;4351</DisableSpecificWarnings>
<OpenMPSupport>true</OpenMPSupport>
</ClCompile>
<!--ClCompile Debug-->
Expand Down