diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-07-18 00:44:37 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-07-18 00:44:37 +0000 |
commit | 518310cb0d136906ff0a99d7a24cb460794de5bf (patch) | |
tree | d8ad6b32edf261c90ce2c190f4c74dc3d044502f /lib/Target/SparcV9/RegAlloc | |
parent | 593eb952281138e1877adbfb11b88b6e32fdd732 (diff) | |
download | external_llvm-518310cb0d136906ff0a99d7a24cb460794de5bf.zip external_llvm-518310cb0d136906ff0a99d7a24cb460794de5bf.tar.gz external_llvm-518310cb0d136906ff0a99d7a24cb460794de5bf.tar.bz2 |
bug 122:
- Replace ConstantPointerRef usage with GlobalValue usage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14953 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/RegAlloc')
-rw-r--r-- | lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp index a153871..6aebcb5 100644 --- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp +++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp @@ -1289,7 +1289,7 @@ void PhyRegAlloc::finishSavingState (Module &M) { // Have: { uint, [Size x { uint, int, uint, int }] } * // Cast it to: { uint, [0 x { uint, int, uint, int }] } * - Constant *CE = ConstantExpr::getCast (ConstantPointerRef::get (GV), PT); + Constant *CE = ConstantExpr::getCast (GV, PT); allstate.push_back (CE); } } |