aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-08-27 05:16:50 +0000
committerChris Lattner <sabre@nondot.org>2001-08-27 05:16:50 +0000
commit86660981e1382f954152b0f029f874aa36de0308 (patch)
tree840898e5b3808bb9d8a1d926ea976f8335ede2d4 /lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h
parentd6075728d26a27f49fb9fe7f5c2cd2e49c31ec8c (diff)
Lots of new functionality
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h')
-rw-r--r--lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h3
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
}