mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-27 15:29:51 +00:00
Fix some -Asserts unused variable warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78447 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e2652f2cd3
commit
8a1871d10b
@ -138,13 +138,11 @@ protected:
|
||||
NodeEntry &node1Entry = getNodeEntry(newEdgeEntry.getNode1Itr()),
|
||||
&node2Entry = getNodeEntry(newEdgeEntry.getNode2Itr());
|
||||
|
||||
unsigned n1Len = node1Entry.getCosts().getLength(),
|
||||
n2Len = node2Entry.getCosts().getLength(),
|
||||
mRows = newEdgeEntry.getCosts().getRows(),
|
||||
mCols = newEdgeEntry.getCosts().getCols();
|
||||
|
||||
// Sanity check on matrix dimensions.
|
||||
assert((n1Len == mRows) && (n2Len == mCols) &&
|
||||
assert((node1Entry.getCosts().getLength() ==
|
||||
newEdgeEntry.getCosts().getRows()) &&
|
||||
(node2Entry.getCosts().getLength() ==
|
||||
newEdgeEntry.getCosts().getCols()) &&
|
||||
"Matrix dimensions do not match cost vector dimensions.");
|
||||
|
||||
// Create links between nodes and edges.
|
||||
|
@ -682,6 +682,7 @@ void PBQPRegAlloc::addStackInterval(const LiveInterval *spilled,
|
||||
bool PBQPRegAlloc::mapPBQPToRegAlloc(const PBQP::Solution &solution) {
|
||||
|
||||
static unsigned round = 0;
|
||||
(void) round;
|
||||
|
||||
// Set to true if we have any spills
|
||||
bool anotherRoundNeeded = false;
|
||||
|
Loading…
Reference in New Issue
Block a user