mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-01 02:33:44 +00:00
Fix dangling pointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134725 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
480cee5d43
commit
6043548bfe
@ -1153,7 +1153,7 @@ void AsmMatcherInfo::BuildInfo() {
|
||||
assert(FeatureNo < 32 && "Too many subtarget features!");
|
||||
}
|
||||
|
||||
StringRef CommentDelimiter = AsmParser->getValueAsString("CommentDelimiter");
|
||||
std::string CommentDelimiter = AsmParser->getValueAsString("CommentDelimiter");
|
||||
|
||||
// Parse the instructions; we need to do this first so that we can gather the
|
||||
// singleton register classes.
|
||||
|
Loading…
x
Reference in New Issue
Block a user