From 2c1a98ef08a6ebc25cd9b67f21b40388eb8ba088 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 27 Aug 2001 05:16:50 +0000 Subject: Lots of new functionality llvm-svn: 372 --- llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h') 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 } -- cgit v1.2.3