mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Fix problem that GCC3.1 doesn't like.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3050 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
faba809472
commit
60bfeb816a
@ -35,7 +35,7 @@ AnnotationID AnnotationManager::getID(const string &Name) { // Name -> ID
|
||||
// getID - Name -> ID + registration of a factory function for demand driven
|
||||
// annotation support.
|
||||
AnnotationID AnnotationManager::getID(const string &Name, Factory Fact,
|
||||
void *Data=0) {
|
||||
void *Data) {
|
||||
AnnotationID Result(getID(Name));
|
||||
registerAnnotationFactory(Result, Fact, Data);
|
||||
return Result;
|
||||
|
@ -35,7 +35,7 @@ AnnotationID AnnotationManager::getID(const string &Name) { // Name -> ID
|
||||
// getID - Name -> ID + registration of a factory function for demand driven
|
||||
// annotation support.
|
||||
AnnotationID AnnotationManager::getID(const string &Name, Factory Fact,
|
||||
void *Data=0) {
|
||||
void *Data) {
|
||||
AnnotationID Result(getID(Name));
|
||||
registerAnnotationFactory(Result, Fact, Data);
|
||||
return Result;
|
||||
|
Loading…
Reference in New Issue
Block a user