mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
fix an off-by-one error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96844 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5007e1e435
commit
5ce9d0b606
@ -712,7 +712,7 @@ SDNode *SelectCodeCommon(SDNode *NodeToMatch, const unsigned char *MatcherTable,
|
||||
if (RecNo & 128)
|
||||
RecNo = GetVBR(RecNo, MatcherTable, MatcherIndex);
|
||||
|
||||
assert(RecNo < RecordedNodes.size() && "Invalid CheckSame");
|
||||
assert(RecNo < RecordedNodes.size() && "Invalid EmitNode");
|
||||
Ops.push_back(RecordedNodes[RecNo]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user