mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47382 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -57,9 +57,9 @@ AnnotationID AnnotationManager::getID(const std::string &Name) { // Name -> ID
|
||||
IDMapType::iterator I = IDMap->find(Name);
|
||||
if (I == IDMap->end()) {
|
||||
(*IDMap)[Name] = IDCounter++; // Add a new element
|
||||
return IDCounter-1;
|
||||
return AnnotationID(IDCounter-1);
|
||||
}
|
||||
return I->second;
|
||||
return AnnotationID(I->second);
|
||||
}
|
||||
|
||||
// getID - Name -> ID + registration of a factory function for demand driven
|
||||
|
Reference in New Issue
Block a user