X86AsmInstrumentation.cpp: Dissolve initializer-ranged-for. MSC17 disliked it.

llvm-svn: 220301
This commit is contained in:
NAKAMURA Takumi 2014-10-21 16:22:52 +00:00
parent 16f4f78b4b
commit 9ff272f382
1 changed files with 3 additions and 3 deletions

View File

@ -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 {