[llvm-commits] CVS: llvm/tools/lli/Interpreter/Interpreter.h

Brian Gaeke gaeke at niobe.cs.uiuc.edu
Wed Aug 13 13:19:06 PDT 2003


Changes in directory llvm/tools/lli/Interpreter:

Interpreter.h updated: 1.30 -> 1.31

---
Log message:

Deconstify parameter to getPointerToFunction().


---
Diffs of the changes:

Index: llvm/tools/lli/Interpreter/Interpreter.h
diff -u llvm/tools/lli/Interpreter/Interpreter.h:1.30 llvm/tools/lli/Interpreter/Interpreter.h:1.31
--- llvm/tools/lli/Interpreter/Interpreter.h:1.30	Wed May 14 09:21:30 2003
+++ llvm/tools/lli/Interpreter/Interpreter.h	Wed Aug 13 13:17:54 2003
@@ -182,7 +182,7 @@
   // 
   void SwitchToNewBasicBlock(BasicBlock *Dest, ExecutionContext &SF);
 
-  void *getPointerToFunction(const Function *F) { return (void*)F; }
+  void *getPointerToFunction(Function *F) { return (void*)F; }
 
   // getCurrentExecutablePath() - Return the directory that the lli executable
   // lives in.





More information about the llvm-commits mailing list