mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 01:31:05 +00:00
Use push_back(...) instead of resize(1, ...), per review feedback.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50561 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fddaa3193c
commit
1fa850bdd2
@ -4023,8 +4023,8 @@ void SelectionDAGLowering::visitInlineAsm(CallSite CS) {
|
||||
// Add NumOps>>3 registers to MatchedRegs.
|
||||
RegsForValue MatchedRegs;
|
||||
MatchedRegs.TLI = &TLI;
|
||||
MatchedRegs.ValueVTs.resize(1, InOperandVal.getValueType());
|
||||
MatchedRegs.RegVTs.resize(1, AsmNodeOperands[CurOp+1].getValueType());
|
||||
MatchedRegs.ValueVTs.push_back(InOperandVal.getValueType());
|
||||
MatchedRegs.RegVTs.push_back(AsmNodeOperands[CurOp+1].getValueType());
|
||||
for (unsigned i = 0, e = NumOps>>3; i != e; ++i) {
|
||||
unsigned Reg =
|
||||
cast<RegisterSDNode>(AsmNodeOperands[++CurOp])->getReg();
|
||||
|
Loading…
x
Reference in New Issue
Block a user