mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
Fix a dangling reference. Patch by Dave Abrahams. pr10311
llvm-svn: 134709
This commit is contained in:
parent
91599d726c
commit
fb52c61529
@ -1825,7 +1825,8 @@ static void EmitComputeAvailableFeatures(AsmMatcherInfo &Info,
|
||||
SubtargetFeatureInfo &SFI = *it->second;
|
||||
|
||||
OS << " if (";
|
||||
StringRef Conds = SFI.TheDef->getValueAsString("AssemblerCondString");
|
||||
std::string CondStorage = SFI.TheDef->getValueAsString("AssemblerCondString");
|
||||
StringRef Conds = CondStorage;
|
||||
std::pair<StringRef,StringRef> Comma = Conds.split(',');
|
||||
bool First = true;
|
||||
do {
|
||||
|
Loading…
Reference in New Issue
Block a user