diff options
| author | Brian Gaeke <gaeke@uiuc.edu> | 2003-08-13 18:17:54 +0000 |
|---|---|---|
| committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-08-13 18:17:54 +0000 |
| commit | aa5866463973dee3bc32dd37b3796763607460d4 (patch) | |
| tree | 25380eba6f25c7fc2c1922334379275c603c1967 | |
| parent | 845b5af4d4833d1bde0bfba79b166cb5cca3d5bd (diff) | |
| download | bcm5719-llvm-aa5866463973dee3bc32dd37b3796763607460d4.tar.gz bcm5719-llvm-aa5866463973dee3bc32dd37b3796763607460d4.zip | |
Deconstify parameter to getPointerToFunction().
llvm-svn: 7822
| -rw-r--r-- | llvm/include/llvm/ExecutionEngine/ExecutionEngine.h | 2 | ||||
| -rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h b/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h index 86e36854db9..852e48eb88a 100644 --- a/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h +++ b/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h @@ -79,7 +79,7 @@ public: // different ways. They should each implement this to say what a function // pointer should look like. // - virtual void *getPointerToFunction(const Function *F) = 0; + virtual void *getPointerToFunction(Function *F) = 0; protected: void emitGlobals(); diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h index 50765810abf..51675b5d671 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -182,7 +182,7 @@ private: // Helper functions // 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. |

