mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
[llvm-exegesis] Fix warning in r22752: Initialize IsSnippetSetupComplete.
llvm-svn: 335467
This commit is contained in:
parent
3af012a962
commit
4267839df1
@ -158,7 +158,7 @@ void assembleToStream(const ExegesisTarget *ET,
|
||||
Properties.set(llvm::MachineFunctionProperties::Property::NoVRegs);
|
||||
Properties.reset(llvm::MachineFunctionProperties::Property::IsSSA);
|
||||
std::vector<llvm::MCInst> SnippetWithSetup;
|
||||
bool IsSnippetSetupComplete;
|
||||
bool IsSnippetSetupComplete = RegsToDef.empty();
|
||||
if (ET) {
|
||||
SnippetWithSetup =
|
||||
generateSnippetSetupCode(RegsToDef, *ET, IsSnippetSetupComplete);
|
||||
|
Loading…
Reference in New Issue
Block a user