diff options
author | Chris Lattner <sabre@nondot.org> | 2001-09-07 16:59:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-09-07 16:59:15 +0000 |
commit | 454bd1f9a7db8c9f82f40ae26a460299d333827f (patch) | |
tree | f599345e6ef67302e92b56359c3b73f9fb898174 /lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h | |
parent | e88df63b949dd1c920598a52c2842b62973290ec (diff) |
Annotations are now const
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@470 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h b/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h index e03c24cc04..bdcffd800c 100644 --- a/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h +++ b/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h @@ -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 |