Fixed few warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160493 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Galina Kistanova
2012-07-19 04:50:12 +00:00
parent 0818e71e8f
commit 72ea0c9ffa
3 changed files with 4 additions and 4 deletions

View File

@ -354,7 +354,7 @@ public:
/// variable, possibly emitting it to memory if needed. This is used by the
/// Emitter.
virtual void *getOrEmitGlobalVariable(const GlobalVariable *GV) {
return getPointerToGlobal((GlobalValue*)GV);
return getPointerToGlobal((const GlobalValue *)GV);
}
/// Registers a listener to be called back on various events within