summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/AsmParser
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2016-05-09 17:42:04 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2016-05-09 17:42:04 +0000
commitda43f0e76f9a9e7de5d13d902048ffe238cb591c (patch)
treefe2968c971fe85ac8767b7691993d0f52c048c12 /llvm/lib/Target/Mips/AsmParser
parentec45b437a79f932cd54976272675bcb05811d436 (diff)
downloadbcm5719-llvm-da43f0e76f9a9e7de5d13d902048ffe238cb591c.tar.gz
bcm5719-llvm-da43f0e76f9a9e7de5d13d902048ffe238cb591c.zip
[mips] Fix a partially initialized member variable that was introduced in r268896.
llvm-svn: 268938
Diffstat (limited to 'llvm/lib/Target/Mips/AsmParser')
-rw-r--r--llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
index 02922bccccf..2fa590190c4 100644
--- a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
+++ b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
@@ -1332,6 +1332,8 @@ public:
MipsAsmParser &Parser) {
auto Op = make_unique<MipsOperand>(k_RegPair, Parser);
Op->RegIdx.Index = MOP.RegIdx.Index;
+ Op->RegIdx.RegInfo = MOP.RegIdx.RegInfo;
+ Op->RegIdx.Kind = MOP.RegIdx.Kind;
Op->StartLoc = S;
Op->EndLoc = E;
return Op;
OpenPOWER on IntegriCloud