mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Annotations are now const
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@470 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e88df63b94
commit
454bd1f9a7
@ -32,7 +32,7 @@ private:
|
||||
// CreateMethodInfo - Factory function to allow MethodInfo annotations to be
|
||||
// created on demand.
|
||||
//
|
||||
inline static Annotation *CreateMethodInfo(AnnotationID AID, Annotable *O,
|
||||
inline static Annotation *CreateMethodInfo(AnnotationID AID, const Annotable *O,
|
||||
void *) {
|
||||
assert(AID == MethodInfoAID);
|
||||
return new MethodInfo((Method*)O); // Simply invoke the ctor
|
||||
|
Loading…
Reference in New Issue
Block a user