Revert "Adding object caching support to MCJIT"
[oota-llvm.git] / include / llvm / ExecutionEngine / ExecutionEngine.h
index 9800759484047ef80dd55703f20a29e44fa09dbe..733e64af034767eba8b22ea5722c686eb3978c39 100644 (file)
@@ -44,7 +44,6 @@ class JITMemoryManager;
 class MachineCodeInfo;
 class Module;
 class MutexGuard;
-class ObjectCache;
 class DataLayout;
 class Triple;
 class Type;
@@ -374,12 +373,6 @@ public:
   virtual void RegisterJITEventListener(JITEventListener *) {}
   virtual void UnregisterJITEventListener(JITEventListener *) {}
 
-  /// Sets the pre-compiled object cache.  The ownership of the ObjectCache is
-  /// not changed.  Supported by MCJIT but not JIT.
-  virtual void setObjectCache(ObjectCache *) {
-    llvm_unreachable("No support for an object cache");
-  }
-
   /// DisableLazyCompilation - When lazy compilation is off (the default), the
   /// JIT will eagerly compile every function reachable from the argument to
   /// getPointerToFunction.  If lazy compilation is turned on, the JIT will only