mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
remove some particularly expensive assertions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30014 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
238416c99b
commit
5d9b6f2823
@ -132,19 +132,19 @@ namespace llvm {
|
|||||||
/// getInstForValNum - Return the machine instruction index that defines the
|
/// getInstForValNum - Return the machine instruction index that defines the
|
||||||
/// specified value number.
|
/// specified value number.
|
||||||
unsigned getInstForValNum(unsigned ValNo) const {
|
unsigned getInstForValNum(unsigned ValNo) const {
|
||||||
assert(ValNo < ValueNumberInfo.size());
|
//assert(ValNo < ValueNumberInfo.size());
|
||||||
return ValueNumberInfo[ValNo].first;
|
return ValueNumberInfo[ValNo].first;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned getSrcRegForValNum(unsigned ValNo) const {
|
unsigned getSrcRegForValNum(unsigned ValNo) const {
|
||||||
assert(ValNo < ValueNumberInfo.size());
|
//assert(ValNo < ValueNumberInfo.size());
|
||||||
if (ValueNumberInfo[ValNo].first < ~2U)
|
if (ValueNumberInfo[ValNo].first < ~2U)
|
||||||
return ValueNumberInfo[ValNo].second;
|
return ValueNumberInfo[ValNo].second;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::pair<unsigned, unsigned> getValNumInfo(unsigned ValNo) const {
|
std::pair<unsigned, unsigned> getValNumInfo(unsigned ValNo) const {
|
||||||
assert(ValNo < ValueNumberInfo.size());
|
//assert(ValNo < ValueNumberInfo.size());
|
||||||
return ValueNumberInfo[ValNo];
|
return ValueNumberInfo[ValNo];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user