commit | 454bd1f9a7db8c9f82f40ae26a460299d333827f | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Sep 07 16:59:15 2001 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Sep 07 16:59:15 2001 +0000 |
tree | f599345e6ef67302e92b56359c3b73f9fb898174 | |
parent | e88df63b949dd1c920598a52c2842b62973290ec [diff] [blame] |
Annotations are now const git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@470 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h b/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h index e03c24c..bdcffd8 100644 --- a/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h +++ b/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h
@@ -32,7 +32,7 @@ // 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