summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-12-23 23:59:41 +0000
committerChris Lattner <sabre@nondot.org>2002-12-23 23:59:41 +0000
commita0d7b084ef7faab8739ef3e9186fdf9a94c3ed22 (patch)
tree166a5a56fe7c449ed8637083644e1692954664bd /llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h
parent5a2f7ec55f8e389049da446bfa356a8f91085b86 (diff)
downloadbcm5719-llvm-a0d7b084ef7faab8739ef3e9186fdf9a94c3ed22.tar.gz
bcm5719-llvm-a0d7b084ef7faab8739ef3e9186fdf9a94c3ed22.zip
Substantial changes to refactor LLI to incorporate both the Jello JIT and
the traditional LLI interpreter llvm-svn: 5125
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h b/llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h
index 913e8615957..1a5c7fee980 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h
+++ b/llvm/lib/ExecutionEngine/Interpreter/ExecutionAnnotations.h
@@ -90,32 +90,4 @@ static AnnotationID BreakpointAID(
// Just use an Annotation directly, Breakpoint is currently just a marker
-//===----------------------------------------------------------------------===//
-// Support for the GlobalAddress annotation
-//===----------------------------------------------------------------------===//
-
-// This annotation (attached only to GlobalValue objects) is used to hold the
-// address of the chunk of memory that represents a global value. For
-// Functions, this pointer is the Function object pointer that represents it.
-// For global variables, this is the dynamically allocated (and potentially
-// initialized) chunk of memory for the global. This annotation is created on
-// demand.
-//
-static AnnotationID GlobalAddressAID(
- AnnotationManager::getID("Interpreter::GlobalAddress"));
-
-struct GlobalAddress : public Annotation {
- void *Ptr; // The pointer itself
- bool Delete; // Should I delete them memory on destruction?
-
- GlobalAddress(void *ptr, bool d) : Annotation(GlobalAddressAID), Ptr(ptr),
- Delete(d) {}
- ~GlobalAddress() { if (Delete) free(Ptr); }
-
- // Create - Factory function to allow GlobalAddress annotations to be
- // created on demand.
- //
- static Annotation *Create(AnnotationID AID, const Annotable *O, void *);
-};
-
#endif
OpenPOWER on IntegriCloud