projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a couple asserts so it will be easier to debug if we accidentally pass indexed...
[oota-llvm.git]
/
lib
/
CodeGen
/
SelectionDAG
/
ScheduleDAGSDNodes.h
diff --git
a/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
b/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
index 3ad2bd6ca649602f0699d2b96ce8845e9a55d59c..9c27b2ea02ec2b6d46b976e0118fb2562b6308e3 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
+++ b/
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
@@
-140,7
+140,7
@@
namespace llvm {
}
unsigned GetIdx() const {
- return DefIdx;
+ return DefIdx
-1
;
}
void Advance();