diff options
author | Chris Lattner <sabre@nondot.org> | 2004-12-01 17:13:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-12-01 17:13:05 +0000 |
commit | f71755dc56240a393ad822058f439fe120a1ccbd (patch) | |
tree | af0995d853290b9323e87e56c3e46075f303b94e /lib | |
parent | f0228053f8f19154f4a4466820b38465c8460efa (diff) |
Remove unneeded cast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ExecutionEngine/JIT/JITEmitter.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp index dec7111640..e5cdc92b75 100644 --- a/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/lib/ExecutionEngine/JIT/JITEmitter.cpp @@ -266,7 +266,6 @@ void *JITEmitter::getPointerToGlobal(GlobalValue *V, void *Reference, if (GlobalVariable *GV = dyn_cast<GlobalVariable>(V)) { /// FIXME: If we straightened things out, this could actually emit the /// global immediately instead of queuing it for codegen later! - GlobalVariable *GV = cast<GlobalVariable>(V); return TheJIT->getOrEmitGlobalVariable(GV); } |