Annotations are now const
authorChris Lattner <sabre@nondot.org>
Fri, 7 Sep 2001 16:59:15 +0000 (16:59 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 7 Sep 2001 16:59:15 +0000 (16:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@470 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h

index e03c24cc046ccf687a81d6112643296ede232fcb..bdcffd800c5bc55812653c17508302d9f57d0f37 100644 (file)
@@ -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