summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-04 16:36:59 +0000
committerChris Lattner <sabre@nondot.org>2002-02-04 16:36:59 +0000
commit83a8434eb256169b7901af5275c52b3b0619c4d0 (patch)
tree62fe9d2d8ade319fb07d9bbcedaf1b17c27593cf /llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
parente630ac9330d1da29192e1dcd96b43b8283e7da8d (diff)
downloadbcm5719-llvm-83a8434eb256169b7901af5275c52b3b0619c4d0.tar.gz
bcm5719-llvm-83a8434eb256169b7901af5275c52b3b0619c4d0.zip
* Add #includes removed from headers
* ValueSet interface converted from add/remove to insert/erase * Minor cleanups llvm-svn: 1689
Diffstat (limited to 'llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
index 46f045c5e27..422541c5845 100644
--- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
+++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
@@ -17,6 +17,7 @@
#include "llvm/Analysis/LiveVar/MethodLiveVarInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/MachineFrameInfo.h"
+#include "llvm/Method.h"
#include <iostream>
#include <math.h>
using std::cerr;
@@ -423,7 +424,7 @@ void PhyRegAlloc::addInterferencesForArgs()
for( ; ArgIt != ArgList.end() ; ++ArgIt) { // for each argument
- addInterference( *ArgIt, InSet, false ); // add interferences between
+ addInterference((Value*)*ArgIt, InSet, false); // add interferences between
// args and LVars at start
if( DEBUG_RA > 1) {
cerr << " - %% adding interference for argument ";
OpenPOWER on IntegriCloud