Index: include/llvm/ExecutionEngine/ExecutionEngine.h
===================================================================
RCS file: /var/cvs/llvm/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h,v
retrieving revision 1.30
diff -u -r1.30 ExecutionEngine.h
--- include/llvm/ExecutionEngine/ExecutionEngine.h	22 Nov 2004 16:54:54 -0000	1.30
+++ include/llvm/ExecutionEngine/ExecutionEngine.h	3 Dec 2004 13:50:59 -0000
@@ -93,6 +93,13 @@
     }
   }
 
+  /// clearAllGlobalMappings - Clear all global mappings and start over again
+  /// use in dynamic compilation scenarios when you want to move globals
+  void clearAllGlobalMappings() {
+    GlobalAddressMap.clear();
+    GlobalAddressReverseMap.clear();
+  }
+
   /// updateGlobalMapping - Replace an existing mapping for GV with a new
   /// address.  This updates both maps as required.
   void updateGlobalMapping(const GlobalValue *GV, void *Addr) {
