summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit2c1a98ef08a6ebc25cd9b67f21b40388eb8ba088 (patch)
tree54d8d582c6b903c0ff8234cdacec269f3fcdb141 /llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h
parentf04f646c1b5a836abed1753e3424ae46b5482a71 (diff)
downloadbcm5719-llvm-2c1a98ef08a6ebc25cd9b67f21b40388eb8ba088.tar.gz
bcm5719-llvm-2c1a98ef08a6ebc25cd9b67f21b40388eb8ba088.zip
Lots of new functionality
llvm-svn: 372
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h3
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
}
OpenPOWER on IntegriCloud