mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
X86AsmInstrumentation.cpp: Dissolve initializer-ranged-for. MSC17 disliked it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220301 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
72376cccc5
commit
c65b578e25
@ -73,9 +73,9 @@ public:
|
||||
public:
|
||||
RegisterContext(unsigned AddressReg, unsigned ShadowReg,
|
||||
unsigned ScratchReg) {
|
||||
for (unsigned Reg : { AddressReg, ShadowReg, ScratchReg }) {
|
||||
BusyRegs.push_back(convReg(Reg, MVT::i64));
|
||||
}
|
||||
BusyRegs.push_back(convReg(AddressReg, MVT::i64));
|
||||
BusyRegs.push_back(convReg(ShadowReg, MVT::i64));
|
||||
BusyRegs.push_back(convReg(ScratchReg, MVT::i64));
|
||||
}
|
||||
|
||||
unsigned AddressReg(MVT::SimpleValueType VT) const {
|
||||
|
Loading…
Reference in New Issue
Block a user