Hold the LLVMContext by reference rather than by pointer.
[oota-llvm.git] / include / llvm / Debugger / Debugger.h
index ed04ed533adba87517976869bfb0944276c6fcd2..d003539e7e2e1ba48c3c849677735c5cfb23df40 100644 (file)
@@ -96,7 +96,7 @@ namespace llvm {
     /// the PATH for the specified program, loading it when found.  If the
     /// specified program cannot be found, an exception is thrown to indicate
     /// the error.
-    void loadProgram(const std::string &Path, LLVMContext* Context);
+    void loadProgram(const std::string &Path, const LLVMContext& Context);
 
     /// unloadProgram - If a program is running, kill it, then unload all traces
     /// of the current program.  If no program is loaded, this method silently