diff options
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h b/llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h index 931de6a4998..e03c24cc046 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h +++ b/llvm/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 } |