diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:41:05 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:41:05 +0000 |
| commit | 01095a5d43bbfde13731688ddcf6048ebb8b7721 (patch) | |
| tree | 4def12e759965de927d963ac65840d663ef9d1ea /lib/Target/PowerPC/PPCTLSDynamicCall.cpp | |
| parent | f0f4822ed4b66e3579e92a89f368f8fb860e218e (diff) | |
Notes
Diffstat (limited to 'lib/Target/PowerPC/PPCTLSDynamicCall.cpp')
| -rw-r--r-- | lib/Target/PowerPC/PPCTLSDynamicCall.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/PPCTLSDynamicCall.cpp b/lib/Target/PowerPC/PPCTLSDynamicCall.cpp index a9d2e888f4b7..61ce48ecd04f 100644 --- a/lib/Target/PowerPC/PPCTLSDynamicCall.cpp +++ b/lib/Target/PowerPC/PPCTLSDynamicCall.cpp @@ -73,10 +73,7 @@ protected: DebugLoc DL = MI->getDebugLoc(); unsigned GPR3 = Is64Bit ? PPC::X3 : PPC::R3; unsigned Opc1, Opc2; - SmallVector<unsigned, 4> OrigRegs; - OrigRegs.push_back(OutReg); - OrigRegs.push_back(InReg); - OrigRegs.push_back(GPR3); + const unsigned OrigRegs[] = {OutReg, InReg, GPR3}; switch (MI->getOpcode()) { default: |
