diff options
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h b/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h index 931de6a499..e03c24cc04 100644 --- a/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h +++ b/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h @@ -32,7 +32,8 @@ 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, Annotable *O, + void *) { assert(AID == MethodInfoAID); return new MethodInfo((Method*)O); // Simply invoke the ctor } |