diff --git a/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h b/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h index e03c24cc046..bdcffd800c5 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