Fix some VC++ warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35224 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen 2007-03-20 20:43:18 +00:00
parent 09dfd8e19d
commit c01a53007a
2 changed files with 2 additions and 1 deletions

View File

@ -394,6 +394,7 @@ static const TargetRegisterClass *getPhysicalRegisterRegClass(
if ((*I)->hasType(VT) && (*I)->contains(reg))
return *I;
assert(false && "Couldn't find the register class");
return 0;
}
/// EmitNode - Generate machine code for an node and needed dependencies.

View File

@ -44,7 +44,7 @@ STATISTIC(NumVariable, "Number of PHIs with variable strides");
namespace {
class BasedUser;
struct BasedUser;
/// IVStrideUse - Keep track of one use of a strided induction variable, where
/// the stride is stored externally. The Offset member keeps track of the